-
Notifications
You must be signed in to change notification settings - Fork 988
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ios data message help?? #349
Comments
Follow the instructions to send a message via API, also try using the free testing server. |
Hi, I have the same issues, the notification will not work if there is no "notification :{}" object in the message for ios > 9 for example if you want data only notification (silent notification) If ios > 9, the plugin let the notification centre methods to handle the notification but this latter is not activated in case of data only message. You can fix it by adding code from line 199 of AppDelegate+FCMplugin.m file
|
I have the same problem. I put the code suggest by @lostin70s and app receive and process notification in foreground ok but when the app is in background it is not ok. The message log when in background: 2017-09-06 19:09:30.879: <FIRMessaging/WARNING> FIRMessaging receiving notification in invalid state 2 My iOS version is 10.3.3. Please help-me. |
I cant receive data only message from ios. It is working with notification title and body, but it is not when i just send data. The point is i want to send data only without notifying user for app to sync.
By the way it is working on android. Anyone have an idea?
{ "data": {
"action": "seen"
},
"to" : "d9iD6nCK61w:APA91bGxcCR5w.....f"
}
The text was updated successfully, but these errors were encountered: