-
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
[ Important ] Violations on android P Restrictions on non-SDK interfaces
#19067
Comments
Thanks for posting this! It looks like your issue may be incomplete. Are all the fields required by the Issue Template filled out? If you believe your issue contains all the relevant information, let us know in order to have a maintainer remove the No Template label. Thank you for your contributions. |
Restrictions on non-SDK interfaces
android PRestrictions on non-SDK interfaces
android P
Restrictions on non-SDK interfaces
android PRestrictions on non-SDK interfaces
This issue was marked as lacking information required by the issue template. There has been no activity on this issue for a while, so I will go ahead and close it. If you found this thread after encountering the same issue in the latest release, please feel free to create a new issue with up-to-date information by clicking here. If you are the author of this issue and you believe this issue was closed in error (i.e. you have edited your issue to ensure it meets the template requirements), please let us know. |
What's the status of this issue? |
Doesn't look like there's anything actionable here and there's been no activity in awhile so we're going to close but if there's more information we are happy to re-open |
The non-sdk interfaces restrictions are getting tighter in Android Q, this should remain open. The specific field When this was reported almost a year ago, there should have been an effort to request that the API be made public as described here. I am not the original poster of the issue, so I do not know for sure if this hasn't been done, but a quick search on google's bugtracker under the relevant component does not reveal any such requests. |
Run react-native app on android P emulator will throw out a caution of
non-sdk
usage.The link is https://developer.android.com/preview/restrictions-non-sdk-interfaces
And a bunch of react-native native android code use refection or other non-sdk that will cause
the app not working on Android P.
A example piece of code is in ReactTextInputManager.java
Use reflection
TextView.class.getDeclaredField("mCursorDrawableRes")
The text was updated successfully, but these errors were encountered: