evollu / react-native-fcm

react native module for firebase cloud messaging and local notification
MIT License
1.73k stars 679 forks source link

I am not able to get push notification in IOS #1076

Open ashishparmar opened 6 years ago

ashishparmar commented 6 years ago

I can not get push whether app in background or foreground I can get FCM_Token perfectly but when I try to send via firebase console or from api rest client I just get a success response but not any push in real device { "multicast_id": 5795576345818531662, "success": 1, "failure": 0, "canonical_ids": 0, "results": [ { "message_id": "0:1542883228414419%d4db7150d4db7150" } ] }

efstathiosntonas commented 5 years ago

Have you granted permission first? I think the only reason is that the app dont have permission to receive notifications.

yasirlateef commented 5 years ago

I'm facing the same issue. I have granted permissions and verified in the settings that I have granted all(sound, badge, banner) permissions.

I also attached a debugger to 'didReceiveRemoteNotification' in AppDelegate.m but it looks like it doesn't get called. Would appreciate any ideas to fix it.

RGump commented 5 years ago

I'm facing the same issue too. Аny ideas?