atmanegara commented on issue #255:
URL: 
https://github.com/apache/cordova-plugin-geolocation/issues/255#issuecomment-1322973277

   > Most likely will be fixed when #250 is fully released.
   > 
   > If you could test the development version of the plugin and provide 
feedback, that would be great.
   > 
   > ```shell
   > cordova plugin remove cordova-plugin-geolocation
   > cordova plugin add https://github.com/apache/cordova-plugin-geolocation.git
   > ```
   > 
   > Just a reminder that development versions haven't been voted on or tested 
for release, so the build should not be used in production environments.
   
   yes, we have installed this plugin, the location application is still not 
found,
   but if via the browser on the oppo/vivo device it works fine,
   the general syntax we use
   ```shell
   const options = {
         enableHighAccuracy: true,
         timeout: 5000,
         maxAge: 0
       };
       
       function success(pos) {
         const crd = pos. coords;
       
         console. log('Your current position is:');
         console. log(`Latitude : ${crd. latitude}`);
         console. log(`Longitude: ${crd. longitude}`);
         console. log(`More or less ${crd. accuracy} meters.`);
       }
       
       function error(err) {
         console. warn(`ERROR(${err. code}): ${err. message}`);
       }
       
       navigator. geolocation. getCurrentPosition(success, error, options);
   ```
   
   is there a problem in webview cordova for vivo/oppo devices?


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to