public bool FinishedLaunching(UIApplication application, NSDictionary launchOptions) { // Override point for customization after application launch. // If not required for your application you can safely delete this method AGCInstance.StartUp(); return(true); }
public bool FinishedLaunching(UIApplication application, NSDictionary launchOptions) { //Initialize the AppGallery Connect SDK in the system startup method. AGCInstance.StartUp(); //Obtain the singleton object AGCAppLinking appLinking = AGCAppLinking.GetSharedInstance(); //Handle app link receiving appLinking.HandleAppLinking(AppLinkReceivedCallback); return(true); }
public bool FinishedLaunching(UIApplication application, NSDictionary launchOptions) { //AGC AGCInstance.StartUp(); //Google // You can get the GoogleService-Info.plist file at https://developers.google.com/mobile/add var googleServiceDictionary = NSDictionary.FromFile("GoogleService-Info.plist"); SignIn.SharedInstance.ClientId = googleServiceDictionary["CLIENT_ID"].ToString(); return(ApplicationDelegate.SharedInstance.FinishedLaunching(application, launchOptions)); }
public override void ViewDidLoad() { base.ViewDidLoad(); var agcInstance = AGCInstance.SharedInstance(); Console.WriteLine("AAID: " + agcInstance.Config.AppId); lblAaid.Text = "AAID: " + agcInstance.Config.AppId; AppDelegate.AppMessagingInstance.IsFetchMessageEnable = true; AppDelegate.AppMessagingInstance.IsDisplayEnable = true; //Trigger custom event AppDelegate.AppMessagingInstance.TriggerEvent("CustomEvent"); }
public bool FinishedLaunching(UIApplication application, NSDictionary launchOptions) { // Override point for customization after application launch. //Initialize the AppGallery Connect SDK in the system startup method. AGCInstance.StartUp(); // Obtain the singleton object. AGCAppLinking appLinking = AGCAppLinking.GetSharedInstance(); // Handle app link receiving. appLinking.HandleAppLinking(AppLinkReceivedCallback); // If not required for your application you can safely delete this method return(true); }
public bool FinishedLaunching(UIApplication application, NSDictionary launchOptions) { // Override point for customization after application launch. // If not required for your application you can safely delete this method AGCInstance.StartUp(); AppMessagingInstance = AGCAppMessaging.GetSharedInstance(); AppMessagingInstance.Delegate = this; //Uncomment for customize app message and implement IAGCAppMessagingDisplayDelegate //DisplayMessagingInstance = AGCAppMessagingDefaultDisplay.GetSharedInstance(); //AppMessagingInstance.DisplayComponent = this; //HiAnalytics.Config(); return(true); }
public bool FinishedLaunching(UIApplication application, NSDictionary launchOptions) { AGCInstance.StartUp(); return(true); }