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 Update()
 {
     #if UNITY_IPHONE
     if (!tokenSent)
     {
         byte[] token = NotificationServices.deviceToken;
         if (token != null)
         {
             GrowthPush.GetInstance().SetDeviceToken(System.BitConverter.ToString(token).Replace("-", "").ToLower());
             tokenSent = true;
         }
     }
     #endif
 }