Comments (4)
com.tns.NativeScriptException: Calling js method onMapReady failed Error: java.lang.SecurityException: my location requires permission ACCESS_FINE_LOCATION
But in AndroidManiest.xml have that permission
from nativescript-geolocation.
I'm read logcat from device and found this:
E art : invalid stream - problem with parameter iterator in /data/user/0/org.nativescript.MyApp/code_cache/secondary-dexes/com.google.android.gms.maps.OnMapReadyCallback_ftns_modules_nativescript-googlemaps_nativescript-googlemaps_l26_c25__-1453834539961-1.jar for method void com.tns.gen.com.google.android.gms.maps.OnMapReadyCallback_ftns_modules_nativescript-googlemaps_nativescript-googlemaps_l26_c25__.onMapReady(com.google.android.gms.maps.GoogleMap)
I'ts causes when I open the app (MyApp).
from nativescript-geolocation.
I found the problem but I can not fix. Android Marshmallow the app need to ask the user for permission to access the user's geolocation. I do not know how to solve this using NativeScript.
from nativescript-geolocation.
Closing this one in favor of NativeScript/NativeScript#1434
from nativescript-geolocation.
Related Issues (20)
- geolocation.clearWatch(watchId) iOS - is not able to stop watch geolocation
- LocationRequest() from plugin crash the app [BUG] HOT 5
- Distance function returns 0 between two locations HOT 4
- Sample Background Service for the Angular version HOT 4
- _getLocationCallback() from plugin crashes the app
- enableLocationRequest() not working on Android HOT 1
- Application crashes when using the plugin to get location geoLocation.isEnabled() HOT 3
- Cannot read property 'osVersion' of undefined at iOS HOT 4
- Google Play service fused location HOT 1
- getCurrentLocation takes 14 seconds to return the coordinates HOT 1
- App Crash after installing nativescript-plugin-firebase
- Android foregroundService location requests while screen is off for a while not working HOT 1
- watchLocation() HOT 4
- Nativescript 8 - TypeError: Cannot read property 'high' of undefined HOT 4
- Android 11 has new requirements regarding background location permissions HOT 1
- TypeError: Cannot read property 'Accuracy' of undefined. HOT 1
- [help wanted] exception handle...
- Nativesctipt geolocation cant resolve platform
- Detect Mock Location
- Plugin doesn't make my app build
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 nativescript-geolocation.