【发布时间】:2017-04-08 16:55:33
【问题描述】:
我在找出为什么我的 Android 应用程序在收到推送通知时突然开始崩溃时遇到了重大问题。我正在使用react-native-push-notification 并且该应用程序注册了一个令牌一切正常,但是当推送通知发送到手机时,我收到一条错误消息:
W/ReactNativeJS( 917): Warning: Native component for "SharedElementTransition" does not exist
W/ReactNativeJS( 917): Warning: Native component for "MKTouchable" does not exist
W/ReactNativeJS( 917): Warning: Native component for "MKSpinner" does not exist
W/ReactNativeJS( 917): Warning: Native component for "TickView" does not exist
E/ReactNativeJS( 917): undefined is not an object (evaluating 'RNFSManager.RNFSFileTypeRegular')
这一切都非常神秘。 onNotification 方法没有内容,所以这让我想知道发送的消息是否还有其他错误。
任何有关如何解决此问题的建议将不胜感激。
【问题讨论】:
-
嗨,我不是 React Native 开发人员,但这些是警告还是错误?此外,如果它们是错误,最常见的原因是缺少一个库或更多库,请尝试搜索这些错误的原因并祝你好运。
-
@Hala.M 嗨,他们在调试控制台中。没有运气试图找到其他有同样问题的人:(
标签: android react-native push-notification