Giter Site home page Giter Site logo

Comments (4)

aderbas avatar aderbas commented on May 16, 2024
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.

aderbas avatar aderbas commented on May 16, 2024

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.

aderbas avatar aderbas commented on May 16, 2024

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.

hdeshev avatar hdeshev commented on May 16, 2024

Closing this one in favor of NativeScript/NativeScript#1434

from nativescript-geolocation.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.