Skip to content

Commit 562c1ba

Browse files
authored
chore: cleanup
1 parent d0259ba commit 562c1ba

File tree

1 file changed

+6
-27
lines changed

1 file changed

+6
-27
lines changed

apps/demo/src/app.ts

Lines changed: 6 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -6,33 +6,12 @@ import { Application } from '@nativescript/core';
66
// uncomment to test Ionic Portals
77
// import { IonicPortalManager } from '@nativescript/ionic-portals';
88

9-
// const portalApiKey = `<insert your own ionic portal api key here>`;
9+
// Application.on(Application.launchEvent, () => {
10+
// // Register IonicPortals
11+
// IonicPortalManager.register('<portal-api-key>');
1012

11-
// const setupIonicPortals = () => {
12-
// // Register IonicPortals
13-
// IonicPortalManager.register(portalApiKey);
14-
15-
// // Create as many Portals as you need to use in your app
16-
// IonicPortalManager.create('ionicWebPortalSample');
17-
// };
18-
19-
// if (global.isIOS) {
20-
21-
// @NativeClass()
22-
// class CustomAppDelegate extends NSObject implements UIApplicationDelegate {
23-
// static ObjCProtocols = [UIApplicationDelegate];
24-
25-
// applicationDidFinishLaunchingWithOptions(application: UIApplication, launchOptions: NSDictionary<string, any>) {
26-
// setupIonicPortals();
27-
28-
// return true;
29-
// }
30-
// }
31-
// Application.ios.delegate = CustomAppDelegate;
32-
// } else {
33-
// Application.on(Application.launchEvent, () => {
34-
// setupIonicPortals();
35-
// });
36-
// }
13+
// // Create as many Portals as you need to use in your app
14+
// IonicPortalManager.create('ionicWebPortalSample');
15+
// });
3716

3817
Application.run({ moduleName: 'app-root' });

0 commit comments

Comments
 (0)