Huawei module
Identifier
Section titled “Identifier”Enum: AffiseModules.Huawei (Runtime/Modules/AffiseModules.cs:7).
Purpose
Section titled “Purpose”Use Android Huawei Module to get OAID.
Also enables AppGallery install referrer retrieval.
C# class
Section titled “C# class”Platform notes
Section titled “Platform notes”- Android only.
- Installed via native Android Gradle dependency; wired through the Unity Android post-processor (
Editor/Build/Modules/ModulesAndroidPostProcessBuild.cs:10).
Access OAID through the providers map:
var providers = Affise.GetProviders();if (providers.ContainsKey(ProviderType.OAID)) { var oaid = providers[ProviderType.OAID];}Providers contributed
Section titled “Providers contributed”OAIDOAID_MD5
Referrer retrieval
Section titled “Referrer retrieval”Required for AppGallery install referrer. See Referrer.