public static void SetDeviceTags() { #if UNITY_ANDROID GrowthPushAndroid.SetDeviceTags(); #elif UNITY_IPHONE GrowthPushIOS.SetDeviceTags(); #endif }
public static void TrackEvent(string name, string val) { #if UNITY_ANDROID GrowthPushAndroid.TrackEvent(name, val); #elif UNITY_IPHONE GrowthPushIOS.TrackEvent(name, val); #endif }
public static void SetTag(string name, string val) { #if UNITY_ANDROID GrowthPushAndroid.SetTag(name, val); #elif UNITY_IPHONE GrowthPushIOS.SetTag(name, val); #endif }
public static void Initialize(int applicationId, string secret, Environment environment, bool debug, string senderId) { #if UNITY_ANDROID GrowthPushAndroid.Initialize(applicationId, secret, environment, debug, senderId); #elif UNITY_IPHONE Initialize(applicationId, secret, environment, debug); #endif }
public static GrowthPushAndroid getInstance() { if(instance == null) instance = new GrowthPushAndroid(); return instance; }