void Awake() { Growthbeat.GetInstance().Initialize(applicationId, credentialId); IntentHandler.GetInstance().AddNoopIntentHandler(); IntentHandler.GetInstance().AddUrlIntentHandler(); IntentHandler.GetInstance().AddCustomIntentHandler("GrowthbeatComponent", "HandleCustomIntent"); GrowthLink.GetInstance().Initialize(applicationId, credentialId); GrowthPush.GetInstance().RequestDeviceToken(senderId, environment); Growthbeat.GetInstance().Start(); }
void OnDisable() { Growthbeat.GetInstance().Stop(); }