Convert GMS to HMS using HMS Toolkit

Viewed 265

Good Day!

I have an app publish on Google Play Store but I want to publish it into AppGallery, I`ve just converted my codes using HMS Toolkit. But I am a little bit confused on this hope everyone can answer my questions below:

  1. After Conversion I can upload the app on AppGallery and all functions of my App on Playstore will still work also on HMS? Like the Start iO adds
  2. Do i need to delete the google-services.json and replace it with agconnect-services.json? Because I am using One Signal push notification and it is using firebase.

Please check also the error when I am trying to sync the project after the conversion: enter image description here

Sorry for my bad english I am not good on explaining things.

1 Answers

It is recommended that you select the G+H approach when using the Convoror conversion. The bridged XMS API enables your application to call both GMS and HMS APIs.

On devices that support HMS APIs but do not support GMS APIs, your app calls HMS APIs. And on devices that support both HMS APIs and GMS APIs, apps can determine whether to call GMS APIs or HMS APIs preferentially based on your settings.

For details about GMS Add HMS API Policy, you could refer to this Docs.

Related