Skip to content

useFcmV1 must be a boolean error #33

@Brune04

Description

@Brune04

After upgrading to 0.0.14 I'm now getting this error:

YieldStudio\LaravelExpoNotifier\Exceptions\ExpoNotificationsException: Expo service error: HTTP 400 response: {"errors":[{"code":"VALIDATION_ERROR","message":""useFcmV1" must be a boolean.","isTransient":false,"requestId":"6471d747-14dc-4caf-a9e1-0388

This is what my expo-notifications.php config looks like:
'use_fcm_legacy_api' => env('EXPO_USE_FCM_LEGACY_API', false),

and this is what I have in my .env
EXPO_USE_FCM_LEGACY_API=true

I also tested just putting true and just putting false in the expo-notification.php file. It works fine whenever I put false, but not whenever I put true.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions