Exemplo n.º 1
0
 public static void Init(UIKit.UIApplication app, Foundation.NSDictionary launchOptions)
 {
     FacebookApi.IsUsingNative = true;
     fb.CoreKit.ApplicationDelegate.SharedInstance.FinishedLaunching(app, launchOptions);
     FacebookApi.ShowFacebookAuthenticator = (a) => invoker.BeginInvokeOnMainThread(() => Login(a));
     Native.RegisterCallBack("facebook", Callback);
 }
Exemplo n.º 2
0
 public static IDisposable DisableInteraction(this UIApplication application)
 {
     application.BeginIgnoringInteractionEvents();
     return(Disposable.Create(application.EndIgnoringInteractionEvents));
 }
Exemplo n.º 3
0
 public void FailedToRegisterForRemoteNotifications(UIKit.UIApplication application, Foundation.NSError error)
 {
     CommonMethods.LogStatic("FailedToRegisterForRemoteNotifications, error: " + error.Description);
 }
Exemplo n.º 4
0
 public static void PerformActionForShortcutItem(this IAppActions appActions, UIKit.UIApplication application, UIKit.UIApplicationShortcutItem shortcutItem, UIKit.UIOperationHandler completionHandler) =>
 appActions.AsPlatform().PerformActionForShortcutItem(application, shortcutItem, completionHandler);