RN做本地推送时 使用react-native-push-notification报错JSON value ‘' of type NSNull cannot be converted...

android 没事 iOS报错

解决:
修改NotifService里的‘category’为字符串、‘userInfo’为字典、‘number’为数字即可

image.png

你可能感兴趣的:(RN做本地推送时 使用react-native-push-notification报错JSON value ‘' of type NSNull cannot be converted...)