transistorsoft / cordova-background-geolocation-lt

The most sophisticated background location-tracking & geofencing module with battery-conscious motion-detection intelligence for iOS and Android.
http://www.transistorsoft.com/shop/products/cordova-background-geolocation
Other
656 stars 277 forks source link

HMS license validation failure toast #1412

Closed VardanTitan closed 9 months ago

VardanTitan commented 9 months ago

Your Environment

Expected Behavior

We already purchased a license and we expect to run app without any toasts regarding license validation.

Actual Behavior

App runs and shows a HMS license validation error on first screen.

Steps to Reproduce

  1. Add com.transistorsoft.locationmanager.license_key to config file.
  2. Run app
  3. HMS validation error is shown.

Context

I have couple of questions:

  1. How to disable HMS check if it's not needed?2.
  2. Would regular license check work if HMS license check failed?

Debug logs

Logs ``` ╔═════════════════════════════════════════════ ║ LICENSE VALIDATION FAILURE: **** ╠═════════════════════════════════════════════ ╟─ Failed to find license key in AndroidManifest. Ensure you've added the key within ╟─ BackgroundGeolocation is fully functional in DEBUG builds without a license. ╚═════════════════════════════════════════════ ╔═════════════════════════════════════════════ ║ TSLocationManager version: 3.4.0 (420) ╠═════════════════════════════════════════════ ╟─ unknown Android SDK built for arm64 @ 10 (cordova) ╟─ HMS: true ```
christocracy commented 9 months ago

You seem to be running that app on an emulator with neither Google Play Services nor Huawei Mobile Services installed.

Ensure Google Play Services installed.

VardanTitan commented 9 months ago

Thanks!!!

Didn't notice I run on emulator without Play services.