Crashing demo App without request permissions
novseje opened this issue · 3 comments
novseje commented
Describe the bug
When App runs first it crashes.
Error:
java.lang.SecurityException: "gps" location provider requires ACCESS_FINE_LOCATION permission.
If move requestPermissions() upper then App work.
requestPermissions(new String[]{
Manifest.permission.ACCESS_FINE_LOCATION,
Manifest.permission.ACCESS_COARSE_LOCATION,
Manifest.permission.READ_EXTERNAL_STORAGE,
Manifest.permission.WRITE_EXTERNAL_STORAGE
},
PERMISSION_REQUEST_FINE_LOCATION);
Smartphone (please complete the following information):
- Device: Moto Z2 Force
- OS: Android 8.0.0
PavelTychinin commented
Thank's for reply. We will adapt this app for Android with version below 10.0 next release
PavelTychinin commented
Fixed. Can you try new version of app and lib?
novseje commented
Yes, fixed.