Skip to content

Commit 968161d

Browse files
Mapped splashScreenPresenter property
1 parent 5cd8e76 commit 968161d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ios/Dev/LaunchApp/LaunchAppViewController.swift

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,11 @@ class LaunchAppViewController: UIViewController, QRViewDelegate {
123123
isDevModeEnabled: devModeEnabled)
124124

125125
let runtimeUrl: URL = AppUrl.forRuntime(AppPreferences.getAppUrl())!
126+
127+
let mxApp = MendixApp.init(nil, bundleUrl: url!, runtimeUrl: runtimeUrl, warningsFilter: devModeEnabled ? WarningsFilter.partial : WarningsFilter.none, isDeveloperApp: true, clearDataAtLaunch: clearDataSwitch.isOn, reactLoading: UIStoryboard(name: "LaunchScreen", bundle: nil))
128+
mxApp.splashScreenPresenter = SplashScreenPresenter()
126129

127-
ReactNative.instance.setup(MendixApp.init(nil, bundleUrl: url!, runtimeUrl: runtimeUrl, warningsFilter: devModeEnabled ? WarningsFilter.partial : WarningsFilter.none, isDeveloperApp: true, clearDataAtLaunch: clearDataSwitch.isOn, reactLoading: UIStoryboard(name: "LaunchScreen", bundle: nil)))
130+
ReactNative.instance.setup(mxApp)
128131
}
129132
}
130133

0 commit comments

Comments
 (0)