Fuse.Firebase icon indicating copy to clipboard operation
Fuse.Firebase copied to clipboard

IOS notification

Open ckarmy opened this issue 7 years ago • 6 comments

The push notifications are not implemented on IOS?

I get Firebase Notifications are not yet available on this platform when I I try to get the regID

ckarmy avatar May 22 '18 16:05 ckarmy

It should work. Haven't tested it myself. Here is the implementation

Maybe @poul-kg could provide some input?

LuisRodriguezLD avatar May 22 '18 19:05 LuisRodriguezLD

@LuisRodriguezLD No, this implementation don't work... I get

Firebase Notifications are not yet available on this platform

I solve the issue using Firebase in Android and APNS on IOS (https://github.com/fuse-compound/FuseExample_Using_APNS_and_Firebase_Together)

ckarmy avatar May 22 '18 19:05 ckarmy

Got it, Sounds like something is not linked correctly, I'll fix this asap

LuisRodriguezLD avatar May 22 '18 19:05 LuisRodriguezLD

@ckarmy Just to chip in I recommend against using firebase notifications on iOS as the notificatiosn will not be recieved when the app isnt running (unlike on android). Use Fuse.APNS to get ios notifications in the background. Fuse.Firebase.Notifications & Fuse.APNS were designed to be used together so they should play nice (see the example repo in this org)

cbaggers avatar May 23 '18 08:05 cbaggers

He is right. If you still want to send notifications to both platforms using Firebase please try this new branch.

Please read the commit description so you can learn what I personally do. It includes a small uno function that fetches your Firebase Token 😎

LuisRodriguezLD avatar May 23 '18 22:05 LuisRodriguezLD

He is right. If you still want to send notifications to both platforms using Firebase please try this new branch.

This branch work perfect in Android and iOS with fcm! Maybe a pull request?

ckarmy avatar Apr 18 '19 14:04 ckarmy