File tree 1 file changed +6
-27
lines changed
1 file changed +6
-27
lines changed Original file line number Diff line number Diff line change @@ -6,33 +6,12 @@ import { Application } from '@nativescript/core';
6
6
// uncomment to test Ionic Portals
7
7
// import { IonicPortalManager } from '@nativescript/ionic-portals';
8
8
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>');
10
12
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
+ // });
37
16
38
17
Application . run ( { moduleName : 'app-root' } ) ;
You can’t perform that action at this time.
0 commit comments