public override bool FinishedLaunching(UIApplication app, NSDictionary options) { // this needs to be loaded before EVERYTHING IosShinyHost.Init(new SampleStartup()); Forms.Init(); this.LoadApplication(new App()); return(base.FinishedLaunching(app, options)); }
public override bool FinishedLaunching(UIApplication app, NSDictionary options) { //Acr.Logging.Log.ToDebug(); IosShinyHost.Init(new TestStartup()); this.AddExecutionAssembly(typeof(ExtensibilityPointFactory).Assembly); this.AddTestAssembly(typeof(TestStartup).Assembly); this.AddTestAssembly(Assembly.GetExecutingAssembly()); this.AutoStart = false; this.TerminateAfterExecution = false; //[assembly: CollectionBehavior(MaxParallelThreads = n)] return(base.FinishedLaunching(app, options)); }
// if you are using jobs, you need this public override void PerformFetch(UIApplication application, Action <UIBackgroundFetchResult> completionHandler) => IosShinyHost.OnBackgroundFetch(completionHandler);