MCPcopy Index your code
hub / github.com/NativeScript/nativescript-sdk-examples-js / launchExample

Function launchExample

app/app.ts:16–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14}
15
16function launchExample() {
17 const rootView: Frame = <Frame> application.getRootView();
18 if (applicationSettingsModule.hasKey("gotoexample")) {
19 const value = applicationSettingsModule.getString("gotoexample");
20 if (value !== "") {
21 applicationSettingsModule.remove("gotoexample");
22 rootView.navigate({
23 moduleName: value,
24 clearHistory: true
25 });
26 }
27 }
28}
29application.on(application.resumeEvent, (args) => {
30 if (args.android) {
31 const dld = new deepLinkDataModule.DeepLinkData("", args.android);

Callers 1

app.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected