-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
JSON value '<null>' of type NSNull cannot be converted to NSDictionary #843
Comments
Same here. |
same here |
i tried to fix this by passing an empty object on userInfo instead of null value for notification. |
@jriiringan I'm getting the same error. Were you able to fix it using that? |
@vikrantnegi yes i did. the default example send "null" value so i replace it by an Object. |
Modify the NotifService's "category" to be a string,'userInfo'to be a dictionary, and'number' to be a number. |
@SCJMENGMENG s |
@SCJMENGMENG it's worked for me. thank u. |
In my case, for future references, the problemas was a
|
I fixed the README and example application. |
Has anyone gotten react-native-push-notification working with node-pushnotifications ? I try to get node-pushnotification to send a push notification to my app, which shows a push notification on ios, but then when I click on it (react-native-push-notification is handling here), then I get the same error as above:
|
It was happening because I did
|
Description
I'm using the example project files in my project to test the notifications and it is working fine in Android.
But on iOS, I'm getting this error
JSON value '<null>' of type NSNull cannot be converted to NSDictionary
whenever I'm clicking on local as well as schedule notification. Although It is working fine and I'm receiving the notification but I'm getting this error every time I'm clicking on them.
Details
"react-native-push-notification": "^3.1.1",
"react": "16.4.1",
"react-native": "0.56.0",
The text was updated successfully, but these errors were encountered: