Skip to content

Commit

Permalink
Call App.Initialize() later (#4787)
Browse files Browse the repository at this point in the history
* Move App init before last chance

* Make playground run
  • Loading branch information
Cheesebaron committed Dec 7, 2023
1 parent 3c35878 commit cf02a4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions MvvmCross/Core/MvxSetup.cs
Expand Up @@ -158,8 +158,6 @@ public virtual void InitializeSecondary()
var app = InitializeMvxApplication(_iocProvider);
SetupLog?.Log(LogLevel.Trace, "Setup: NavigationService");
InitializeNavigationService(_iocProvider);
SetupLog?.Log(LogLevel.Trace, "Setup: App start");
InitializeApp(app);
SetupLog?.Log(LogLevel.Trace, "Setup: ViewModelTypeFinder start");
InitializeViewModelTypeFinder(_iocProvider);
SetupLog?.Log(LogLevel.Trace, "Setup: ViewsContainer start");
Expand All @@ -179,6 +177,8 @@ public virtual void InitializeSecondary()
SetupLog?.Log(LogLevel.Trace, "Setup: PluginManagerFramework start");
var pluginManager = InitializePluginFramework(_iocProvider);
app.LoadPlugins(pluginManager);
SetupLog?.Log(LogLevel.Trace, "Setup: App start");
InitializeApp(app);
SetupLog?.Log(LogLevel.Trace, "Setup: LastChance start");
InitializeLastChance(_iocProvider);
SetupLog?.Log(LogLevel.Trace, "Setup: Secondary end");
Expand Down
2 changes: 0 additions & 2 deletions Projects/Playground/Playground.iOS/Info.plist
Expand Up @@ -12,8 +12,6 @@
<string>1.0</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>MinimumOSVersion</key>
<string>15.0</string>
<key>UIDeviceFamily</key>
<array>
<integer>1</integer>
Expand Down

0 comments on commit cf02a4f

Please sign in to comment.