Comments (3)
@TheMaxCoder thanks! I would have to take a look into it.
from ask.
Issue related:
I'm using this library for two projects, A and B. When I open A there is a pop message that says B has stopped working, same as when I open B it says A has stopped working.
I close both projects via task-switcher then open A and B crashes but A still works.
Log for B says:
Unable to start receiver com.vistrav.ask.Ask$Receiver: java.lang.NullPointerException: Attempt to invoke interface method 'void com.vistrav.ask.Ask$Permission.denied(java.util.List)' on a null object reference
My guess is, as @TheMaxCoder said, 'Ask.on()' is holding the reference to the activity(B) and making it crash.
I tried 'try-catch' but no success.
Thanks.
from ask.
@challme28 @TheMaxCoder Thank you guys for your comment! I am in late in fixing the problem but finally fixed it. Please use the latest code
from ask.
Related Issues (20)
- Failed to resolve error HOT 5
- Add listener "onFinished" HOT 2
- Rational message comes twice when single permission given HOT 3
- Cannot click on 'Allow' for permission HOT 2
- Crashing with my AppCompatActivity HOT 2
- Support Fragment HOT 5
- Caused by: android.util.AndroidRuntimeException: Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want? HOT 10
- Added it on my first activity and it closes the app when it is first shown
- Some time activity crashes ("Caused by: java.lang.NullPointerException at com.vistrav.ask.Ask.getAnnotation Method(Ask.java:197)) HOT 4
- Manifest merger failed with multiple errors, see logs
- Android UI/Espresso test recording/playing HOT 1
- Reprompt permission check after user denies HOT 1
- Standard Fragment support HOT 1
- Permission callbacks not working (kotlin) HOT 1
- An activity flickers just before the launcher activity HOT 3
- Android 8.0 HOT 4
- denied branch gets called if with permission granted HOT 3
- Disable rtl HOT 3
- Rationals are not working in your code HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ask.