Closed MartinGonzalez closed 3 years ago
If you don't have iOS module installed then a compilation error will happen saying
error CS0234: The type or namespace name 'iOS' does not exist in the namespace 'UnityEditor' (are you missing an assembly reference?)
To avoid this issue and that amplitude can be used in Android independently I've wrapped the iOS class with UNITY_IOS define.
If you don't have iOS module installed then a compilation error will happen saying
To avoid this issue and that amplitude can be used in Android independently I've wrapped the iOS class with UNITY_IOS define.