-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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
We just tried to add listener, you won't believe what happens next #12580
Comments
Because react-native no longer publishes to maven; but only to npm. Also shame on you for clickbait title |
That doesn't make your title any better. Also it is explained in this link http://facebook.github.io/react-native/docs/integration-with-existing-apps.html
You're likely missing these steps. Instead of pointing to public maven, which only has up to 0.20, you need to use your node_modules directory. |
@hey99xx hmmm.... But why? Using Okey, it doesn't matter. Thanks for help ) |
See #6459 (comment) |
Description
I'd decided to add
PermissionListener
toReactActivity#requestPermissions
. Android Studio showed me thatPermissionListener
was missing incom.facebook.react:react-native:+
. I dived deep and found thatreact-native
for Android is v0.20.1 and it didn't have a lot of interfaces, classes and etc. How could it be possible? Why is ReactNative 0.41.2 in Github and 0.20.1 in maven?I'd tried to ignore errors from Android Studio and I added
imports
and wrote code with using ofPermissionListener
and It's worked!Does anybody know what it is?
Reproduction
Just create native module for Android and use
PermissionListener
.Additional Information
The text was updated successfully, but these errors were encountered: