We just tried to add listener, you won't believe what happens next
See original GitHub issueDescription
I’d decided to add PermissionListener
to ReactActivity#requestPermissions
. Android Studio showed me that PermissionListener
was missing in com.facebook.react:react-native:+
. I dived deep and found that react-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 of PermissionListener
and It’s worked!
Does anybody know what it is?
Reproduction
Just create native module for Android and use PermissionListener
.
Additional Information
- React Native version: 0.41.2
- Platform: Android
- Operating System: MacOS
Issue Analytics
- State:
- Created 7 years ago
- Reactions:5
- Comments:5 (1 by maintainers)
Top Results From Across the Web
What Great Listeners Actually Do - Harvard Business Review
What makes a good listener? Most people think is comes down to three components: not interrupting the speaker, following along with facial ...
Read more >9 Strategies To Become A Fantastic Listener - Lead Change
We ought to listen twice as much as we speak. As you listen, don't steal the other person's talking turn. Stealing a turn...
Read more >Event listeners not working? 3 key areas to troubleshoot
Are your event listeners not working as you'd expect? Here are 3 key areas to troubleshoot to help you get everything triggering as...
Read more >10 tips for active listening - Heart Matters magazine - BHF
Try to focus on listening. Equally, don't assume that you know what's going to be said next.
Read more >How to Be a Better Listener - Smarter Living Guides
Listening can feel at times like a lost art, maybe because we are ... our brains out of the moment — who is...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Because react-native no longer publishes to maven; but only to npm. Also shame on you for clickbait title
See https://github.com/facebook/react-native/issues/6459#issuecomment-196594689