You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2020/07/03 05:27:21 UTC

[GitHub] [cordova-plugin-geolocation] jitendrabeyond opened a new issue #203: Not working on android device Vivo Y12

jitendrabeyond opened a new issue #203:
URL: https://github.com/apache/cordova-plugin-geolocation/issues/203


   geolocation.getCurrentPosition method failed to return the current position on device Vivo Y12 device. Even i gives the permissions. Please see the attached screenshots
   
   ![image](https://user-images.githubusercontent.com/67774941/86434741-d8f62c80-bd1b-11ea-9739-12ee82489e5f.png)
   ![image](https://user-images.githubusercontent.com/67774941/86434769-eb706600-bd1b-11ea-9b20-99ace578c732.png)
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-geolocation] jitendrabeyond commented on issue #203: Not working on android device Vivo Y12

Posted by GitBox <gi...@apache.org>.
jitendrabeyond commented on issue #203:
URL: https://github.com/apache/cordova-plugin-geolocation/issues/203#issuecomment-654614293


   Hello @timbru31,
   
   Please see the screenshot for the things:
   
   ![image](https://user-images.githubusercontent.com/67774941/86719833-10c5e280-c042-11ea-9d9f-91486c5a22d0.png)
    
   
   Android OS version: 9
   The actual error message that is thrown to the error callback: returning only empty object like '{ }'
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-geolocation] jitendrabeyond commented on issue #203: Not working on android device Vivo Y12

Posted by GitBox <gi...@apache.org>.
jitendrabeyond commented on issue #203:
URL: https://github.com/apache/cordova-plugin-geolocation/issues/203#issuecomment-655918452


   **Yes, I debug it and getting the error "Timeout expired".**
   
   
   geoLocationoptions: any =
      {
        enableHighAccuracy: true,
        timeout: 30000,
        maximumAge: 0
      }
   
   I am passing the options in method getCurrentPosition.
   
    geolocation.getCurrentPosition(geoLocationoptions)
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-geolocation] breautek commented on issue #203: Not working on android device Vivo Y12

Posted by GitBox <gi...@apache.org>.
breautek commented on issue #203:
URL: https://github.com/apache/cordova-plugin-geolocation/issues/203#issuecomment-654831669


   Well you can't alert objects. You need to use an actual debugger to see the object. You need to use Google Chrome and go to `chrome://inspect` for remote debugging. You can then either breakpoint or read the console output.
   
   https://developers.google.com/web/tools/chrome-devtools/remote-debugging/webviews#open_a_webview_in_devtools


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-geolocation] timbru31 commented on issue #203: Not working on android device Vivo Y12

Posted by GitBox <gi...@apache.org>.
timbru31 commented on issue #203:
URL: https://github.com/apache/cordova-plugin-geolocation/issues/203#issuecomment-653393722


   Thanks a lot for your issue, however the issue template exists for a reason. 😊   
   It helps us to debug the issue further and to provide a solution much faster. With important information missing, we unfortunately can't help you.
   
   Therefore, please edit this issue accordingly or close and create a new one and make sure to provide all the required information.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-geolocation] jitendrabeyond edited a comment on issue #203: Not working on android device Vivo Y12

Posted by GitBox <gi...@apache.org>.
jitendrabeyond edited a comment on issue #203:
URL: https://github.com/apache/cordova-plugin-geolocation/issues/203#issuecomment-654615671


   ![image](https://user-images.githubusercontent.com/67774941/86720628-d6107a00-c042-11ea-8096-12262f3d0885.png)
   
   ok trying it without JSON.stringify
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-geolocation] jitendrabeyond commented on issue #203: Not working on android device Vivo Y12

Posted by GitBox <gi...@apache.org>.
jitendrabeyond commented on issue #203:
URL: https://github.com/apache/cordova-plugin-geolocation/issues/203#issuecomment-654226594


   Hello, @timbru31  Can you please help me to solve the issue? 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-geolocation] jitendrabeyond edited a comment on issue #203: Not working on android device Vivo Y12

Posted by GitBox <gi...@apache.org>.
jitendrabeyond edited a comment on issue #203:
URL: https://github.com/apache/cordova-plugin-geolocation/issues/203#issuecomment-654226594


   Hello, @timbru31  Can you please help me to solve the issue? 
   
   Please re-open the issue as it is not solved yet.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-geolocation] jitendrabeyond edited a comment on issue #203: Not working on android device Vivo Y12

Posted by GitBox <gi...@apache.org>.
jitendrabeyond edited a comment on issue #203:
URL: https://github.com/apache/cordova-plugin-geolocation/issues/203#issuecomment-655918452


   @breautek 
   
   **Yes, I debug it and getting the error "Timeout expired".**
   
   
   geoLocationoptions: any =
      {
        enableHighAccuracy: true,
        timeout: 30000,
        maximumAge: 0
      }
   
   I am passing the options in method getCurrentPosition.
   
    geolocation.getCurrentPosition(geoLocationoptions)
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-geolocation] breautek commented on issue #203: Not working on android device Vivo Y12

Posted by GitBox <gi...@apache.org>.
breautek commented on issue #203:
URL: https://github.com/apache/cordova-plugin-geolocation/issues/203#issuecomment-656109246


   Timeout means the GPS receiver was unable to find a GPS point within your timeout setting, which in your case is 30 seconds.
   
   This is possible for a host of different reasons, which I talked about [here](https://gist.github.com/breautek/d6231fa33d6942c269296546892afb5e). Unfortunately, most of these reasons are outside of the app's control.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-geolocation] breautek commented on issue #203: Not working on android device Vivo Y12

Posted by GitBox <gi...@apache.org>.
breautek commented on issue #203:
URL: https://github.com/apache/cordova-plugin-geolocation/issues/203#issuecomment-654479240


   As Tim said, we are missing a lot of crucial information to provide any real assistance.
   
   Things like:
   
   - Cordova CLI version
   - Cordova plugin version
   - Cordova platform version
   - Android OS version
   - The actual error message that is thrown to the error callback
   
   Additionally this may help: https://gist.github.com/breautek/d6231fa33d6942c269296546892afb5e


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-geolocation] timbru31 closed issue #203: Not working on android device Vivo Y12

Posted by GitBox <gi...@apache.org>.
timbru31 closed issue #203:
URL: https://github.com/apache/cordova-plugin-geolocation/issues/203


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-geolocation] breautek commented on issue #203: Not working on android device Vivo Y12

Posted by GitBox <gi...@apache.org>.
breautek commented on issue #203:
URL: https://github.com/apache/cordova-plugin-geolocation/issues/203#issuecomment-654615006


   There error is probably an `Error` class, you can't `JSON.stringify` it. You lose the prototype members when you do.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-geolocation] jitendrabeyond commented on issue #203: Not working on android device Vivo Y12

Posted by GitBox <gi...@apache.org>.
jitendrabeyond commented on issue #203:
URL: https://github.com/apache/cordova-plugin-geolocation/issues/203#issuecomment-654615671


   ![image](https://user-images.githubusercontent.com/67774941/86720628-d6107a00-c042-11ea-8096-12262f3d0885.png)
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-geolocation] jitendrabeyond edited a comment on issue #203: Not working on android device Vivo Y12

Posted by GitBox <gi...@apache.org>.
jitendrabeyond edited a comment on issue #203:
URL: https://github.com/apache/cordova-plugin-geolocation/issues/203#issuecomment-654614293


   Hello @timbru31, @breautek ,
   
   Please see the screenshot for the things:
   
   ![image](https://user-images.githubusercontent.com/67774941/86719833-10c5e280-c042-11ea-9d9f-91486c5a22d0.png)
    
   
   Android OS version: 9
   The actual error message that is thrown to the error callback: returning only empty object like '{ }'
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org