React Native Push Notification在调试时有效,但在发布时-android

问题描述 投票:1回答:1

我看到issue有一个开放的react-native-push-notification。只是想知道是否有人遇到这个问题。

我为Android 8和Android 9开发时测试了我的react native应用。推送通知的确显示在设备上的调试中。但是,当我从相同的代码构建apk时,除了推送通知之外,其他所有功能都起作用。

[注意,它是expo应用程序,我手动使用npx jetify进行androidX转换,然后使用expo publish,然后使用android release build。

android react-native expo react-native-push-notification
1个回答
0
投票

我们遇到了类似的问题,并已解决。此https://github.com/zo0r/react-native-push-notification/pull/1355有一个PR

© www.soinside.com 2019 - 2024. All rights reserved.