This is a project on wrapper for hms and gms, and the corresponding toolkit namely plugin in Android Studio can be available.If your app project has integrate some gms kits like push, wallet, analytics, core, location, maps and so on, the plugin can transformor them from gms to hms, or from gms to gms+hms and another functions letting you integrate hms easiler.
For example, the code fragment below is a result api generated by the plugin toolkit.
'''
/**
org.xms.f.iid.ExtensionInstanceId.getInstance(android.content.Context) Returns an instance of this class.
Support running environments including both HMS and GMS which are chosen by users.
Below are the references of HMS apis and GMS apis respectively:
@return ExtensionInstanceId instance
*/
public static org.xms.f.iid.ExtensionInstanceId getInstance(android.content.Context context) {
if (org.xms.g.utils.GlobalEnvSetting.isHms()) {
... // code fragment about hms logical
} else {
... // code fragment about gms logical
}
}
'''
https://github.com/HMS-Core/hms-toolkit-convertor
This is a project on wrapper for hms and gms, and the corresponding toolkit namely plugin in Android Studio can be available.If your app project has integrate some gms kits like push, wallet, analytics, core, location, maps and so on, the plugin can transformor them from gms to hms, or from gms to gms+hms and another functions letting you integrate hms easiler.
For example, the code fragment below is a result api generated by the plugin toolkit. ''' /**