mobile-messaging-react-native-plugin
mobile-messaging-react-native-plugin copied to clipboard
Notification Delivery Issue on Android 13+ with Outdated React Native Version
I'm currently facing an issue with the package in my React Native app. The app is running an outdated version of React Native (0.63.3), and users on Android versions 13 and above are not receiving notifications.
Due to time constraints and the complexity involved, I'm unable to upgrade the React Native version to the latest one supported by the plugin. However, I'm keen on finding a solution to ensure that notifications are delivered to users on Android 13 and above, as the app is already in production.
Is there a possibility of creating a compatibility patch for the plugin that addresses the issue specifically for Android 13 and above, or maybe a native-level workarounds that could be implemented without requiring a React Native version upgrade?
This could be a temporary solution to ensure continuity for production users until a full upgrade can be performed.
Environment Details:
React Native Version: 0.63.3 Android Versions Affected: 13 and above Package Version: 5.1.0
Thank you @Hicham-Zaroual for bringing this issue to our attention. While we currently don't have a policy of offering custom patches, we're here to assist you in finding a solution. It seems the issue could be related to the changes in push notification permission handling introduced in Android 13. As Android 13 support has been provided in plugin versions 7.0.0 and onwards, it's likely that the required adjustments have been made in our SDK. To address this, I recommend reviewing the changes made in versions 7.0.0 and 7.0.1 of our plugin. Additionally, our migration guide and documentation on Android 13 Notification Permission Handling could provide valuable insights. If you encounter any further difficulties or have questions while implementing the solution, please don't hesitate to reach out. We're here to help. Could you also confirm if manually requesting the permission resolved the issue on your end? Thanks!
Thank you @acikul for your prompt response and guidance.
I've successfully addressed the Android notification issue by adding the line
Xcode version : 15.3
I will now closely examine this error to identify and resolve the issue. If you have any suggestions or additional advice for resolving this error, I would appreciate hearing them.
Once again, thank you for your help and attention to this matter. I will keep you updated on any progress or further difficulties I encounter while resolving this issue.
Best regards
Hey @Hicham-Zaroual and @MalickDiaw,
It's great to hear that the modifications resolved the notification issue on Android 13! Regarding the iOS error you encountered, what you've provided seems to be the command that's failing rather than the actual error message.
I'd like to get more info about the error you're encountering to successfully reproduce it. Could you provide the specific error message that appears in the output of the failed command? Usually error 65 indicates a compilation/linking issue.
You mentioned you switched from plugin version 5.1.0 to 6.1.0. Have you followed the migration guide for these particular versions?
Additionally, since you're running the yarn run mm_build
command, are you following the manual integration guide for iOS?
Best regards.
We didn't receive any answer, so I'll close it due to inactivity, you can reopen it if needed.