-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
SuppressLint("MissingPermission") in Location, NetInfo, Vibration mod… #23294
SuppressLint("MissingPermission") in Location, NetInfo, Vibration mod… #23294
Conversation
Generated by 🚫 dangerJS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cpojer is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
@dulmandakh merged commit d53dbb0 into |
facebook#23294) Summary: Location, NetInfo and Vibration modules require its own permissions to work properly, and Android Studio and lint shows warning in the modules because permissions are not found in AndroidManifest.xml of ReactAndroid, due to that not all apps require these functionalities/permissions. Therefore, developers have to add required permissions if they want to use before mentioned functionalities. This PR suppresses missing permission warnings. [Android] [Changed] - Suppress missing permission warnings Pull Request resolved: facebook#23294 Differential Revision: D13959120 Pulled By: cpojer fbshipit-source-id: 10526f1218989b805528a5415e03371d5865be63
facebook#23294) Summary: Location, NetInfo and Vibration modules require its own permissions to work properly, and Android Studio and lint shows warning in the modules because permissions are not found in AndroidManifest.xml of ReactAndroid, due to that not all apps require these functionalities/permissions. Therefore, developers have to add required permissions if they want to use before mentioned functionalities. This PR suppresses missing permission warnings. [Android] [Changed] - Suppress missing permission warnings Pull Request resolved: facebook#23294 Differential Revision: D13959120 Pulled By: cpojer fbshipit-source-id: 10526f1218989b805528a5415e03371d5865be63
Summary
Location, NetInfo and Vibration modules require its own permissions to work properly, and Android Studio and lint shows warning in the modules because permissions are not found in AndroidManifest.xml of ReactAndroid, due to that not all apps require these functionalities/permissions. Therefore, developers have to add required permissions if they want to use before mentioned functionalities.
This PR suppresses missing permission warnings.
Changelog
[Android] [Changed] - Suppress missing permission warnings
Test Plan
CI is green, everything works as usual. Just a small developer experience and QA improvement.