Exemplo n.º 1
0
 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);
 }
Exemplo n.º 2
0
        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);
        }
Exemplo n.º 3
0
        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));
        }
Exemplo n.º 4
0
        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");
        }
Exemplo n.º 5
0
        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);
        }
Exemplo n.º 6
0
        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);
        }
Exemplo n.º 7
0
 public bool FinishedLaunching(UIApplication application, NSDictionary launchOptions)
 {
     AGCInstance.StartUp();
     return(true);
 }