We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent efe2879 commit cfc42f8Copy full SHA for cfc42f8
sdkAngular/app/main.ts
@@ -1,5 +1,9 @@
1
import { platformNativeScriptDynamic } from "nativescript-angular/platform";
2
import { AppModule } from "./app.module";
3
-require("./main-activity.android.ts");
+import * as application from "tns-core-modules/application";
4
+
5
+if (application.android) {
6
+ require("./main-activity.android.ts");
7
+}
8
9
platformNativeScriptDynamic().bootstrapModule(AppModule);
0 commit comments