CatalystCode / react-native-azurenotificationhub

React Native module to support Azure Notification Hub push notifications on Android, iOS, and Windows.
MIT License
47 stars 75 forks source link

Android App rejected "Remediation for Implicit PendingIntent Vulnerability" #198

Open sapramit opened 3 years ago

sapramit commented 3 years ago

Report

Yes, I have searched existing issues and this is not a duplicate.

Environment

Issues and Steps to Reproduce

  1. Install "react-native-azurenotificationhub"
  2. Submit app to google play console

Expected Behavior

Google Play should accept the app Google suggests https://support.google.com/faqs/answer/10437428

Actual Behavior

App update rejected by Google saying "Your app update has been rejected for not adhering to Google Play Developer Program policies".

Screen Shot 2021-06-23 at 12 59 51 PM

Link to Code

           PendingIntent pendingActionIntent = PendingIntent.getBroadcast(context, notificationID, actionIntent,
                    PendingIntent.FLAG_UPDATE_CURRENT);