capacitor-community / capacitor-community/background-geolocation

Unable to get location on non GMS devices

Open
#47 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
249
Forks
79
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
It is unable to get locations on non-GMS devices.

**To Reproduce**
Steps to reproduce the behavior:
1. Install the app on a emulator or device with no GMS
2. Monitor the on location event

**Expected behavior**
Locations should be available on all devices with GPS.

**Smartphone (please complete the following information):**
- Device: Zebra TC25
- OS: Android 8.1
- Browser: ionic

So I basically moved over from cordova mauron85's plugin. I migrated the entire project from cordova to capacitor with a new generate ionic app. I also implemented the capactior Geolocation plugin. The Geolocation plugin clearly logged that without GMS the plugin cannot work.

I was just wondering is it possible to use the plugin without GMS services? I noticed that transistorsoft's plugin also requires GMS. Has things changed that location plugin needs to utilise GMS API to fetch locations?

As this plugin is fairly light weight, would it be possible to add support for devices without GMS?

In addition, would you like to open a donation channel so people use this plugin can at least financially help maintaining this repo?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.