question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

We just tried to add listener, you won't believe what happens next

See original GitHub issue

Description

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:closed
  • Created 7 years ago
  • Reactions:5
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
hey99xxcommented, Feb 27, 2017

Because react-native no longer publishes to maven; but only to npm. Also shame on you for clickbait title

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found