HosTaGe
HosTaGe copied to clipboard
App crashes on extending Threatmap frag when location's off
Describe the bug App crashed when the location is off and threat map fragment is opened in the playstore version.
To Reproduce Steps to reproduce the behavior:
- After closing the app switch off the location
- Then restart the app
- Click over the navigation drawer button and select Threat Map
- App will stop working and eventually crashes.
Expected behavior Alert/Dialog box with a prompt to open the mobile setting to turn on the location using intent can be included there to avoid the crash.
Screenshots If applicable, add screenshots to help explain your problem.
https://user-images.githubusercontent.com/57134307/108520236-74aacc00-72f0-11eb-996d-4c1d2f86d896.mp4
Smartphone (please complete the following information):
- Device: Samsung galaxy S10
- Android Version : 10
Additional context Add any other context about the problem here.
May I work upon this issue and I also wanted to know the branch I have to copy and work upon ,master or the playstore one , i'm little confused over it.