@Ben1nB1ack, now i’m using google maps native and it works fine but i want to get lat&long without display map. when I make #map display:none or height:0px. the plugin not woks
I’m sorry about that, my end goal is in my app there is a registration page i want to display user location in it and if he/she wants to change it, when click button the map appear.
I hope that i could display the idea.
guys i have set the ANDROID_HOME variable path when i echo the $ANDROID _HOME it shows correct path but when i am trying to build up my project ANDROID_HOME value is diffrent
cordova build android
[11:44:35] lint finished in 3.24 s
ANDROID_HOME=/usr/lib/android-sdk
JAVA_HOME=/usr/lib/jvm/java-8-oracle
Subproject Path: CordovaLib
The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead.
at build_83r92ws7vj07urdw76kepchpw.run(/home/abc/CRM/platforms/android/build.gradle:141)
Checking the license for package Android SDK Platform 26 in /usr/lib/android-sdk/licenses
Warning: License for package Android SDK Platform 26 not accepted.
FAILURE:
Build failed with an exception.
What went wrong:
A problem occurred configuring root project ‘android’.
You have not accepted the license agreements of the following SDK components:
[Android SDK Platform 26].
Before building your project, you need to accept the license agreements and complete the installation of the missing components using the Android Studio SDK Manager.
Alternatively, to learn how to transfer the license agreements from one workstation to another, go to Exporting licenses - Android Studio Project Site
but geolocation not works with me, it all the time return error.when i use ionic serve/ ionic lab it works fine but when i deploy the app in androd device it doesn’t work.