YieldStudio / laravel-expo-notifier

Easily manage Expo notifications with Laravel. Support batched notifications.
MIT License
29 stars 11 forks source link

Deprecation of FCM legacy API #28

Closed eightyfive closed 4 months ago

eightyfive commented 5 months ago

Context: https://expo.dev/blog/expo-adds-support-for-fcm-http-v1-api

Is there a plan to support the ?useFcmV1=true URL param?

Brune04 commented 5 months ago

I've just manually adjusted vendor/yieldstudio/laravel-expo-notifier/src/ExpoNotificationsService.php to add ?useFcmV1=true to the SEND_NOTIFICATION_ENDPOINT variable to cover this right now.

After doing this, it appears that everything works properly. The only issue is when you use shouldBatch your notification icon does not show up on Android. It just shows a blank circle

JamesHemery commented 5 months ago

@joemugen @dtangdev