Illegal State Exception in Production for Android 8.0 using latest master commit
See original GitHub issueHello!
We’re testing out 3.1.1 which doesn’t seem to be on NPM just yet. We seem to be getting crashes on version 8.0+ of android in production related to the requestPermission
call of the react-native-push-notification’s library.
I’ve attached a screenshot of the crash.
![screen shot 2018-07-23 at 6 31 45 pm](https://user-images.githubusercontent.com/5391234/43111624-e5c7e26e-8ea6-11e8-9c4a-542ba7d1a0b0.png)
Issue Analytics
- State:
- Created 5 years ago
- Reactions:3
- Comments:13 (1 by maintainers)
Top Results From Across the Web
Android 8.0: java.lang.IllegalStateException: Not allowed to ...
8. It means that you cannot start a service when your app is in the background · 23. this has nothing to do...
Read more >Apps may not schedule more than 100 distinct jobs / alpha08 ...
After about 100 jobs the workmanager crashes with: java.lang.IllegalStateException: Apps may not schedule more than 100 distinct jobs.
Read more >IllegalStateException - Android Developers
Constructs an IllegalStateException with no detail message. A detail message is a String that describes this particular exception.
Read more >SonarScanner failed in CI with java.lang.IllegalStateException ...
Our Sonar CI job failed after a merge to master (of a squashed commit from a PR where the CI job had succeeded...
Read more >Jdbi 3 Developer Guide
Jdbi will attempt to rewrite such nextExceptions into "suppressed exceptions" (new in Java 8) so that your logs are more helpful: java.sql.
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
(Issue #803) #809 doesn’t seems to solve the problem. It prevented the crash. But I don’t think notification are received for 8.0+
we need to have implementation like @diegolmello
I’ve a similar issue with Oreo. Running version 3.1.1 on RN 0.56.