Skip to content

Conversation

@AndrazP
Copy link

@AndrazP AndrazP commented Dec 13, 2021

Hey
I took OKatrych's PR and split the integrations into separate libraries.
Other changes:

  • Removed option to switch between providers in runtime. I don't see an example where a device would have Google and Hauwei services at the same time.
  • Updated Dokka. Increased gradle memory setting to successfully build

You can try out the changes by integrating:

  • com.github.AndrazP.CoLocation:core:325ec5fe17
  • com.github.AndrazP.CoLocation:google:325ec5fe17
  • com.github.AndrazP.CoLocation:huawei:325ec5fe17

Let me know what you think.

Oleksandr Katrych and others added 11 commits November 1, 2021 19:56
Separate CoLocation into two implementations:
 1. `CoLocationGms` - GMS implementation
 2. `CoLocationHms` - HMS implementation

Let the `CoLocation.from` decide which `locationServicesSource` to use:
when both GMS and HMS are available then use the GMS.

Create `LocationRequest` and `LocationSettingsRequest` which are wrappers
to the platform related classes and use them to define requests without
using specific (GMS/HMS) classes.

Change the minSdkVersion to 19 (HMS requirement).

Create separate tests for both tools.
Add ability to switch between location providers.
Modify Sample app to be able to test HMS on Huawei devices
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants