-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Google Play Console: App rejected due to Intent Redirection vulnerability #1504
Comments
This is going to be difficult to find the root but I think the issue might be mixture of Cordova's very generic handling of intents and plugins that may start intents while the app contains sensitive permissions (such as SMS reading). Google is a bit vague but does document the general issues and remediation for Intent Redirection. There isn't specific thing that can trigger this issue. Due to the nature of this issue, I'll recommend forking Code in Question: cordova-android/framework/src/org/apache/cordova/CordovaInterfaceImpl.java Lines 66 to 74 in 954d3e0
|
I have found this, could it help? It says that startActivityForResult has been deprecated and it shows different ways to approach the change. Extracted from the link above:
|
registerForActivityResult can only be called inside onCreate, which is not exposed in plugins, adding support for registerForActivityResult would allow plugin developers to use the newer method |
Bug Report
Problem
Google Play Console: App rejected due to Intent Redirection vulnerability,
org.apache.cordova.CordovaInterfaceImpl.startActivityForResu
What is expected to happen?
App should approve and publish without any issues
What does actually happen?
App rejects during the google play console review process
Information
Cordova Android application gets rejected during the play store review process. And their response is this,
We rejected xx with package name xx, for violating our Device and Network Abuse or User Data policy. This app uses software that contains security vulnerabilities for users or allows the collection of user data without proper disclosure.
The issue comes from this: org.apache.cordova.CordovaInterfaceImpl.startActivityForResult
The app .apk file works on Android devices without any issues.
Command or Code
AndroidManifest.xml
Environment, Platform, Device
Android
Google Play Console App Review
Checklist
The text was updated successfully, but these errors were encountered: