Migration
- Open your Unity project and make sure that there are no compilation errors.
- Download latest Homa SDK Setup Wizard from Homa Lab and import it into your project. Follow the Setup Process but don't install new packages yet.
- If after successful setup process you see any compilation errors similar to:
Assets\Homa Games\Homa Belly\Core\Editor\Edm4uExtensions\GradleConfigManager.cs(6,7): error CS0246: The type or namespace name 'GooglePlayServices' could not be found (are you missing a using directive or an assembly reference?)
Please make sure that in the Unity project the library files in the Assets/ExternalDependencyManager/Editor/<version string>/ have “Editor” checkbox ticked in the “Select platforms for plugin” - Install Homa Belly Packages. You will automatically get Homa Belly Core v1.9.5 or higher.
-
🔂 Activate Custom Gradle Templates build pipeline through the following settings in Unity > Player Settings > Android > Publishing Settings:
- Custom Main Gradle Template
- Custom Gradle Properties Template
- 🆗 You are done. New Data Privacy will be automatically configured in your game
- Make sure you do not have leftover android libraries (.aar/.jar) in Assets/Plugins/Android. Folder should look similarly empty to the screenshot
Troubleshooting
If you are experiencing compiler/import errors, refresh packages from clean:
- Go to Window > Homa Games > Homa Belly > Delete All Packages
- Install packages with your game token from scratch