🚠Guide to Transition

Easily transition from Unity's HMS Asset Store Solution to EvilmindDev's comprehensive and feature-packed HMS Unity Plugin with these 6 simple steps.

Unity's HMS Asset Store Solution to HMS Unity Plugin

Step 1: Delete the Unity Store HMS solution

  • Locate the "Huawei Services" folder under the Assets folder in your project and delete it.

Step 2: Disable conflicting codes

  • Identify any scripts that directly depend on the SDK and put them into a command line to deactivate them temporarily.

  • Check error logs or split dependent scripts from other scripts to quickly resolve conflicts.

  • Restart the project to fix any unrelated errors.

Step 3: Download the latest version of HMS Unity Plugin

  • Find the plugin on the HMS Unity Plugin Gitbook and download it.

Step 4: Transit agconnect.json file

  • Move the agconnect.json file from Assets -> Plugin -> Android to Streaming Assets.

Or;

  • Download it from App Gallery Connect and place it under the Streaming Assets folder.

Step 5: Delete Android folder

  • Delete the Android folder located under Assets -> Plugin -> Android.

Step 6: Adjust your project and Re-write your codes

  • Enable kits and services you used in your project.

  • Use the HMS Unity Plugin to re-write your codes and bring your app to the next level.

Note: Always adjust the code to fit your project and thoroughly test any changes before deployment.

Last updated