@akylas/nativescript 8.5.2 → 8.5.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accessibility/accessibility-css-helper.js +5 -6
- package/accessibility/accessibility-css-helper.js.map +1 -1
- package/accessibility/accessibility-service.android.js +23 -23
- package/accessibility/accessibility-service.android.js.map +1 -1
- package/accessibility/accessibility-service.ios.js +1 -1
- package/accessibility/accessibility-service.ios.js.map +1 -1
- package/accessibility/font-scale.android.js +1 -1
- package/accessibility/font-scale.android.js.map +1 -1
- package/accessibility/font-scale.ios.js +1 -1
- package/accessibility/font-scale.ios.js.map +1 -1
- package/accessibility/index.android.js +2 -2
- package/accessibility/index.android.js.map +1 -1
- package/accessibility/index.ios.js +2 -2
- package/accessibility/index.ios.js.map +1 -1
- package/application/application-common.d.ts +222 -41
- package/application/application-common.js +432 -149
- package/application/application-common.js.map +1 -1
- package/application/application-interfaces.d.ts +122 -32
- package/application/application-shims.d.ts +351 -0
- package/application/application-shims.js +353 -0
- package/application/application-shims.js.map +1 -0
- package/application/application.android.d.ts +64 -0
- package/application/application.android.js +508 -0
- package/application/application.android.js.map +1 -0
- package/application/application.d.ts +186 -0
- package/application/application.ios.d.ts +77 -0
- package/application/application.ios.js +372 -0
- package/application/application.ios.js.map +1 -0
- package/application/index.android.d.ts +2 -77
- package/application/index.android.js +2 -460
- package/application/index.android.js.map +1 -1
- package/application/index.d.ts +2 -759
- package/application/index.ios.d.ts +2 -65
- package/application/index.ios.js +2 -506
- package/application/index.ios.js.map +1 -1
- package/application-settings/index.android.js +2 -2
- package/application-settings/index.android.js.map +1 -1
- package/connectivity/index.android.js +5 -7
- package/connectivity/index.android.js.map +1 -1
- package/css/system-classes.js +4 -1
- package/css/system-classes.js.map +1 -1
- package/file-system/file-system-access.android.d.ts +18 -0
- package/file-system/file-system-access.android.js +205 -3
- package/file-system/file-system-access.android.js.map +1 -1
- package/file-system/file-system-access.d.ts +67 -0
- package/file-system/file-system-access.ios.d.ts +9 -0
- package/file-system/file-system-access.ios.js +106 -0
- package/file-system/file-system-access.ios.js.map +1 -1
- package/file-system/index.d.ts +31 -0
- package/file-system/index.js +197 -3
- package/file-system/index.js.map +1 -1
- package/global-types.d.ts +2 -2
- package/globals/index.js +2 -0
- package/globals/index.js.map +1 -1
- package/image-source/index.android.js +2 -2
- package/image-source/index.android.js.map +1 -1
- package/index.d.ts +12 -140
- package/index.js +15 -156
- package/index.js.map +1 -1
- package/module-name-resolver/index.js +5 -5
- package/module-name-resolver/index.js.map +1 -1
- package/module-name-resolver/non-bundle-workflow-compat.js +2 -2
- package/module-name-resolver/non-bundle-workflow-compat.js.map +1 -1
- package/package.json +1 -1
- package/platform/index.android.js +5 -5
- package/platform/index.android.js.map +1 -1
- package/platforms/android/native-api-usage.json +2 -0
- package/platforms/android/widgets-release.aar +0 -0
- package/platforms/dist/package/platforms/android/widgets-release.aar +0 -0
- package/platforms/ios/TNSWidgets.xcframework/Info.plist +7 -7
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/NSFileHandle+Async.h +22 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/TNSWidgets.h +1 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Info.plist +0 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/TNSWidgets +0 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/DWARF/TNSWidgets +0 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/NSFileHandle+Async.h +22 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/TNSWidgets.h +1 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Resources/Info.plist +4 -4
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/TNSWidgets +0 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/NSFileHandle+Async.h +22 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/TNSWidgets.h +1 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Resources/Info.plist +4 -4
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/TNSWidgets +0 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/Current/TNSWidgets +0 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/DWARF/TNSWidgets +0 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSFileHandle+Async.h +22 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/TNSWidgets.h +1 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Info.plist +0 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/TNSWidgets +0 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/_CodeSignature/CodeResources +14 -3
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/DWARF/TNSWidgets +0 -0
- package/references.d.ts +1 -1
- package/ui/action-bar/index.android.js +8 -6
- package/ui/action-bar/index.android.js.map +1 -1
- package/ui/animation/index.android.js +1 -1
- package/ui/animation/index.android.js.map +1 -1
- package/ui/animation/index.ios.js +3 -3
- package/ui/animation/index.ios.js.map +1 -1
- package/ui/button/index.android.js +3 -1
- package/ui/button/index.android.js.map +1 -1
- package/ui/core/view/index.android.js +5 -3
- package/ui/core/view/index.android.js.map +1 -1
- package/ui/core/view/index.ios.js +2 -1
- package/ui/core/view/index.ios.js.map +1 -1
- package/ui/core/view/view-helper/index.ios.js +5 -6
- package/ui/core/view/view-helper/index.ios.js.map +1 -1
- package/ui/date-picker/index.android.js +4 -2
- package/ui/date-picker/index.android.js.map +1 -1
- package/ui/date-picker/index.ios.js +29 -21
- package/ui/date-picker/index.ios.js.map +1 -1
- package/ui/dialogs/index.ios.js +10 -4
- package/ui/dialogs/index.ios.js.map +1 -1
- package/ui/editable-text-base/index.android.js +5 -5
- package/ui/editable-text-base/index.android.js.map +1 -1
- package/ui/frame/activity.android.js +2 -2
- package/ui/frame/activity.android.js.map +1 -1
- package/ui/frame/fragment.transitions.android.js +5 -2
- package/ui/frame/fragment.transitions.android.js.map +1 -1
- package/ui/frame/index.android.d.ts +2 -2
- package/ui/frame/index.android.js +62 -86
- package/ui/frame/index.android.js.map +1 -1
- package/ui/frame/index.ios.js +19 -6
- package/ui/frame/index.ios.js.map +1 -1
- package/ui/image/index.android.js +3 -1
- package/ui/image/index.android.js.map +1 -1
- package/ui/layouts/root-layout/root-layout-common.js +3 -2
- package/ui/layouts/root-layout/root-layout-common.js.map +1 -1
- package/ui/list-picker/index.android.js +6 -2
- package/ui/list-picker/index.android.js.map +1 -1
- package/ui/list-view/index.android.js +8 -2
- package/ui/list-view/index.android.js.map +1 -1
- package/ui/page/index.d.ts +4 -4
- package/ui/page/index.ios.js +12 -3
- package/ui/page/index.ios.js.map +1 -1
- package/ui/search-bar/index.android.js +6 -2
- package/ui/search-bar/index.android.js.map +1 -1
- package/ui/segmented-bar/index.android.js +6 -2
- package/ui/segmented-bar/index.android.js.map +1 -1
- package/ui/slider/index.android.js +2 -1
- package/ui/slider/index.android.js.map +1 -1
- package/ui/styling/background.android.js +3 -5
- package/ui/styling/background.android.js.map +1 -1
- package/ui/styling/style-scope.js +5 -5
- package/ui/styling/style-scope.js.map +1 -1
- package/ui/switch/index.android.js +3 -1
- package/ui/switch/index.android.js.map +1 -1
- package/ui/tab-view/index.android.js +2 -2
- package/ui/tab-view/index.android.js.map +1 -1
- package/ui/tab-view/index.ios.js +8 -2
- package/ui/tab-view/index.ios.js.map +1 -1
- package/ui/text-base/formatted-string.d.ts +6 -0
- package/ui/text-base/formatted-string.js +27 -0
- package/ui/text-base/formatted-string.js.map +1 -1
- package/ui/text-base/index.ios.js +27 -18
- package/ui/text-base/index.ios.js.map +1 -1
- package/ui/text-base/span.d.ts +6 -0
- package/ui/text-base/span.js +18 -0
- package/ui/text-base/span.js.map +1 -1
- package/ui/text-field/index.ios.js +1 -1
- package/ui/text-field/index.ios.js.map +1 -1
- package/ui/time-picker/index.android.js +3 -1
- package/ui/time-picker/index.android.js.map +1 -1
- package/ui/transition/shared-transition-helper.ios.js +58 -41
- package/ui/transition/shared-transition-helper.ios.js.map +1 -1
- package/ui/transition/shared-transition.d.ts +6 -2
- package/ui/transition/shared-transition.js +1 -2
- package/ui/transition/shared-transition.js.map +1 -1
- package/utils/android/index.d.ts +21 -0
- package/utils/android/index.js +157 -0
- package/utils/android/index.js.map +1 -0
- package/utils/index.android.d.ts +8 -3
- package/utils/index.android.js +15 -10
- package/utils/index.android.js.map +1 -1
- package/utils/index.d.ts +7 -7
- package/utils/index.ios.d.ts +8 -3
- package/utils/index.ios.js +13 -8
- package/utils/index.ios.js.map +1 -1
- package/utils/ios/index.d.ts +36 -0
- package/utils/ios/index.js +279 -0
- package/utils/ios/index.js.map +1 -0
- package/utils/layout-helper/index.android.js +3 -3
- package/utils/layout-helper/index.android.js.map +1 -1
- package/utils/mainthread-helper.android.js +2 -2
- package/utils/mainthread-helper.android.js.map +1 -1
- package/utils/native-helper.android.d.ts +8 -23
- package/utils/native-helper.android.js +10 -169
- package/utils/native-helper.android.js.map +1 -1
- package/utils/native-helper.d.ts +272 -255
- package/utils/native-helper.ios.d.ts +8 -38
- package/utils/native-helper.ios.js +10 -295
- package/utils/native-helper.ios.js.map +1 -1
- package/utils/platform-check.d.ts +4 -0
- package/utils/platform-check.js +21 -0
- package/utils/platform-check.js.map +1 -0
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
import { ApplicationCommon } from './application-common';
|
|
2
|
+
|
|
3
|
+
export * from './application-common';
|
|
4
|
+
export * from './application-interfaces';
|
|
5
|
+
|
|
6
|
+
export const Application: ApplicationCommon;
|
|
7
|
+
|
|
8
|
+
export class AndroidApplication extends ApplicationCommon {
|
|
9
|
+
/**
|
|
10
|
+
* @deprecated Use `Application.android.activityCreatedEvent` instead.
|
|
11
|
+
*/
|
|
12
|
+
static readonly activityCreatedEvent = 'activityCreated';
|
|
13
|
+
/**
|
|
14
|
+
* @deprecated Use `Application.android.activityDestroyedEvent` instead.
|
|
15
|
+
*/
|
|
16
|
+
static readonly activityDestroyedEvent = 'activityDestroyed';
|
|
17
|
+
/**
|
|
18
|
+
* @deprecated Use `Application.android.activityStartedEvent` instead.
|
|
19
|
+
*/
|
|
20
|
+
static readonly activityStartedEvent = 'activityStarted';
|
|
21
|
+
/**
|
|
22
|
+
* @deprecated Use `Application.android.activityPausedEvent` instead.
|
|
23
|
+
*/
|
|
24
|
+
static readonly activityPausedEvent = 'activityPaused';
|
|
25
|
+
/**
|
|
26
|
+
* @deprecated Use `Application.android.activityResumedEvent` instead.
|
|
27
|
+
*/
|
|
28
|
+
static readonly activityResumedEvent = 'activityResumed';
|
|
29
|
+
/**
|
|
30
|
+
* @deprecated Use `Application.android.activityStoppedEvent` instead.
|
|
31
|
+
*/
|
|
32
|
+
static readonly activityStoppedEvent = 'activityStopped';
|
|
33
|
+
/**
|
|
34
|
+
* @deprecated Use `Application.android.saveActivityStateEvent` instead.
|
|
35
|
+
*/
|
|
36
|
+
static readonly saveActivityStateEvent = 'saveActivityState';
|
|
37
|
+
/**
|
|
38
|
+
* @deprecated Use `Application.android.activityResultEvent` instead.
|
|
39
|
+
*/
|
|
40
|
+
static readonly activityResultEvent = 'activityResult';
|
|
41
|
+
/**
|
|
42
|
+
* @deprecated Use `Application.android.activityBackPressedEvent` instead.
|
|
43
|
+
*/
|
|
44
|
+
static readonly activityBackPressedEvent = 'activityBackPressed';
|
|
45
|
+
/**
|
|
46
|
+
* @deprecated Use `Application.android.activityNewIntentEvent` instead.
|
|
47
|
+
*/
|
|
48
|
+
static readonly activityNewIntentEvent = 'activityNewIntent';
|
|
49
|
+
/**
|
|
50
|
+
* @deprecated Use `Application.android.activityRequestPermissionsEvent` instead.
|
|
51
|
+
*/
|
|
52
|
+
static readonly activityRequestPermissionsEvent = 'activityRequestPermissions';
|
|
53
|
+
|
|
54
|
+
readonly activityCreatedEvent = AndroidApplication.activityCreatedEvent;
|
|
55
|
+
readonly activityDestroyedEvent = AndroidApplication.activityDestroyedEvent;
|
|
56
|
+
readonly activityStartedEvent = AndroidApplication.activityStartedEvent;
|
|
57
|
+
readonly activityPausedEvent = AndroidApplication.activityPausedEvent;
|
|
58
|
+
readonly activityResumedEvent = AndroidApplication.activityResumedEvent;
|
|
59
|
+
readonly activityStoppedEvent = AndroidApplication.activityStoppedEvent;
|
|
60
|
+
readonly saveActivityStateEvent = AndroidApplication.saveActivityStateEvent;
|
|
61
|
+
readonly activityResultEvent = AndroidApplication.activityResultEvent;
|
|
62
|
+
readonly activityBackPressedEvent = AndroidApplication.activityBackPressedEvent;
|
|
63
|
+
readonly activityNewIntentEvent = AndroidApplication.activityNewIntentEvent;
|
|
64
|
+
readonly activityRequestPermissionsEvent = AndroidApplication.activityRequestPermissionsEvent;
|
|
65
|
+
|
|
66
|
+
getNativeApplication(): android.app.Application;
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* @internal
|
|
70
|
+
*/
|
|
71
|
+
init(nativeApp: android.app.Application): void;
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* The [android Application](http://developer.android.com/reference/android/app/Application.html) object instance provided to the init of the module.
|
|
75
|
+
*/
|
|
76
|
+
get nativeApp(): android.app.Application;
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* @deprecated Use `Utils.android.getPackageName()` instead.
|
|
80
|
+
*/
|
|
81
|
+
get packageName(): string;
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* The main (start) Activity for the application.
|
|
85
|
+
*/
|
|
86
|
+
get startActivity(): androidx.appcompat.app.AppCompatActivity;
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* The currently active (loaded) [android Activity](http://developer.android.com/reference/android/app/Activity.html).
|
|
90
|
+
*
|
|
91
|
+
* This property is automatically updated upon Activity events.
|
|
92
|
+
*/
|
|
93
|
+
get foregroundActivity(): androidx.appcompat.app.AppCompatActivity;
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* @deprecated Use `Utils.android.getApplicationContext()` instead.
|
|
97
|
+
*/
|
|
98
|
+
get context(): android.content.Context;
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* @deprecated Use `Application.inBackground` instead.
|
|
102
|
+
*/
|
|
103
|
+
get backgrounded(): boolean;
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* @deprecated Use `Application.suspended` instead.
|
|
107
|
+
*/
|
|
108
|
+
get paused(): boolean;
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* Register a BroadcastReceiver to be run in the main activity thread. The receiver will be called with any broadcast Intent that matches filter, in the main application thread.
|
|
112
|
+
* For more information, please visit 'http://developer.android.com/reference/android/content/Context.html#registerReceiver%28android.content.BroadcastReceiver,%20android.content.IntentFilter%29'
|
|
113
|
+
* @param intentFilter A string containing the intent filter.
|
|
114
|
+
* @param onReceiveCallback A callback function that will be called each time the receiver receives a broadcast.
|
|
115
|
+
*/
|
|
116
|
+
registerBroadcastReceiver(intentFilter: string, onReceiveCallback: (context: android.content.Context, intent: android.content.Intent) => void): void;
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* Unregister a previously registered BroadcastReceiver.
|
|
120
|
+
* For more information, please visit 'http://developer.android.com/reference/android/content/Context.html#unregisterReceiver(android.content.BroadcastReceiver)'
|
|
121
|
+
* @param intentFilter A string containing the intent filter with which the receiver was originally registered.
|
|
122
|
+
*/
|
|
123
|
+
unregisterBroadcastReceiver(intentFilter: string): void;
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* Get a registered BroadcastReceiver, then you can get the result code of BroadcastReceiver in onReceiveCallback method.
|
|
127
|
+
* @param intentFilter A string containing the intent filter.
|
|
128
|
+
*/
|
|
129
|
+
getRegisteredBroadcastReceiver(intentFilter: string): android.content.BroadcastReceiver;
|
|
130
|
+
|
|
131
|
+
on(event: 'activityCreated', callback: (args: AndroidActivityBundleEventData) => void, thisArg?: any): void;
|
|
132
|
+
on(event: 'activityDestroyed', callback: (args: AndroidActivityEventData) => void, thisArg?: any): void;
|
|
133
|
+
on(event: 'activityStarted', callback: (args: AndroidActivityEventData) => void, thisArg?: any): void;
|
|
134
|
+
on(event: 'activityPaused', callback: (args: AndroidActivityEventData) => void, thisArg?: any): void;
|
|
135
|
+
on(event: 'activityResumed', callback: (args: AndroidActivityEventData) => void, thisArg?: any): void;
|
|
136
|
+
on(event: 'activityStopped', callback: (args: AndroidActivityEventData) => void, thisArg?: any): void;
|
|
137
|
+
on(event: 'saveActivityState', callback: (args: AndroidActivityBundleEventData) => void, thisArg?: any): void;
|
|
138
|
+
on(event: 'activityResult', callback: (args: AndroidActivityResultEventData) => void, thisArg?: any): void;
|
|
139
|
+
on(event: 'activityBackPressed', callback: (args: AndroidActivityBackPressedEventData) => void, thisArg?: any): void;
|
|
140
|
+
on(event: 'activityNewIntent', callback: (args: AndroidActivityNewIntentEventData) => void, thisArg?: any): void;
|
|
141
|
+
on(event: 'activityRequestPermissions', callback: (args: AndroidActivityRequestPermissionsEventData) => void, thisArg?: any): void;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
export class iOSApplication extends ApplicationCommon {
|
|
145
|
+
/**
|
|
146
|
+
* The root view controller for the application.
|
|
147
|
+
*/
|
|
148
|
+
get rootController(): UIViewController;
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* The [UIApplication](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIApplication_Class/index.html).
|
|
152
|
+
*/
|
|
153
|
+
get nativeApp(): UIApplication;
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* The key window.
|
|
157
|
+
*/
|
|
158
|
+
get window(): UIWindow;
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* The [UIApplicationDelegate](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIApplicationDelegate_Protocol/index.html) class.
|
|
162
|
+
*/
|
|
163
|
+
get delegate(): UIApplicationDelegate & { prototype: UIApplicationDelegate };
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* Sets a custom [UIApplicationDelegate](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIApplicationDelegate_Protocol/index.html) class.
|
|
167
|
+
*/
|
|
168
|
+
set delegate(value: UIApplicationDelegate | unknown);
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* Adds an observer to the default notification center for the specified notification.
|
|
172
|
+
* For more information, please visit 'https://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Classes/NSNotificationCenter_Class/#//apple_ref/occ/instm/NSNotificationCenter/addObserver:selector:name:object:'
|
|
173
|
+
* @param notificationName A string containing the name of the notification.
|
|
174
|
+
* @param onReceiveCallback A callback function that will be called each time the observer receives a notification.
|
|
175
|
+
*/
|
|
176
|
+
addNotificationObserver(notificationName: string, onReceiveCallback: (notification: NSNotification) => void): NotificationObserver;
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* Removes the observer for the specified notification from the default notification center.
|
|
180
|
+
* For more information, please visit 'https://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Classes/NSNotificationCenter_Class/#//apple_ref/occ/instm/NSNotificationCenter/addObserver:selector:name:object:'
|
|
181
|
+
* @param observer The observer that was returned from the addNotificationObserver method.
|
|
182
|
+
* @param notificationName A string containing the name of the notification.
|
|
183
|
+
* @param onReceiveCallback A callback function that will be called each time the observer receives a notification.
|
|
184
|
+
*/
|
|
185
|
+
removeNotificationObserver(observer: any, notificationName: string);
|
|
186
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { View } from '../ui';
|
|
2
|
+
import { NavigationEntry } from '../ui/frame/frame-interfaces';
|
|
3
|
+
import type { iOSApplication as IiOSApplication } from './application';
|
|
4
|
+
import { ApplicationCommon } from './application-common';
|
|
5
|
+
declare class CADisplayLinkTarget extends NSObject {
|
|
6
|
+
private _owner;
|
|
7
|
+
static initWithOwner(owner: WeakRef<iOSApplication>): CADisplayLinkTarget;
|
|
8
|
+
onDisplayed(link: CADisplayLink): void;
|
|
9
|
+
static ObjCExposedMethods: {
|
|
10
|
+
onDisplayed: {
|
|
11
|
+
returns: interop.Type<void>;
|
|
12
|
+
params: (typeof CADisplayLink)[];
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
declare class NotificationObserver extends NSObject {
|
|
17
|
+
private _onReceiveCallback;
|
|
18
|
+
static initWithCallback(onReceiveCallback: (notification: NSNotification) => void): NotificationObserver;
|
|
19
|
+
onReceive(notification: NSNotification): void;
|
|
20
|
+
static ObjCExposedMethods: {
|
|
21
|
+
onReceive: {
|
|
22
|
+
returns: interop.Type<void>;
|
|
23
|
+
params: (typeof NSNotification)[];
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
export declare class iOSApplication extends ApplicationCommon implements IiOSApplication {
|
|
28
|
+
private _delegate;
|
|
29
|
+
private _window;
|
|
30
|
+
private _notificationObservers;
|
|
31
|
+
private _rootView;
|
|
32
|
+
displayedOnce: boolean;
|
|
33
|
+
displayedLinkTarget: CADisplayLinkTarget;
|
|
34
|
+
displayedLink: CADisplayLink;
|
|
35
|
+
/**
|
|
36
|
+
* @internal - should not be constructed by the user.
|
|
37
|
+
*/
|
|
38
|
+
constructor();
|
|
39
|
+
getRootView(): View;
|
|
40
|
+
resetRootView(view?: View): void;
|
|
41
|
+
run(entry?: string | NavigationEntry): void;
|
|
42
|
+
private runAsMainApp;
|
|
43
|
+
private runAsEmbeddedApp;
|
|
44
|
+
private getViewController;
|
|
45
|
+
private setViewControllerView;
|
|
46
|
+
setMaxRefreshRate(options?: {
|
|
47
|
+
min?: number;
|
|
48
|
+
max?: number;
|
|
49
|
+
preferred?: number;
|
|
50
|
+
}): void;
|
|
51
|
+
get rootController(): UIViewController;
|
|
52
|
+
get nativeApp(): UIApplication;
|
|
53
|
+
get window(): UIWindow;
|
|
54
|
+
get delegate(): UIApplicationDelegate & {
|
|
55
|
+
prototype: UIApplicationDelegate;
|
|
56
|
+
};
|
|
57
|
+
set delegate(value: UIApplicationDelegate | unknown);
|
|
58
|
+
getNativeApplication(): UIApplication;
|
|
59
|
+
addNotificationObserver(notificationName: string, onReceiveCallback: (notification: NSNotification) => void): NotificationObserver;
|
|
60
|
+
removeNotificationObserver(observer: any, notificationName: string): void;
|
|
61
|
+
protected getSystemAppearance(): 'light' | 'dark';
|
|
62
|
+
private getSystemAppearanceValue;
|
|
63
|
+
protected getOrientation(): "portrait" | "landscape" | "unknown";
|
|
64
|
+
private getOrientationValue;
|
|
65
|
+
private notifyAppStarted;
|
|
66
|
+
private setWindowContent;
|
|
67
|
+
private didFinishLaunchingWithOptions;
|
|
68
|
+
private didBecomeActive;
|
|
69
|
+
private didEnterBackground;
|
|
70
|
+
private willTerminate;
|
|
71
|
+
private didReceiveMemoryWarning;
|
|
72
|
+
private didChangeStatusBarOrientation;
|
|
73
|
+
get ios(): this;
|
|
74
|
+
}
|
|
75
|
+
export * from './application-common';
|
|
76
|
+
export declare const Application: iOSApplication;
|
|
77
|
+
export declare const AndroidApplication: any;
|
|
@@ -0,0 +1,372 @@
|
|
|
1
|
+
import { profile } from '../profiling';
|
|
2
|
+
import { IOSHelper } from '../ui/core/view/view-helper';
|
|
3
|
+
import * as Utils from '../utils';
|
|
4
|
+
import { ApplicationCommon } from './application-common';
|
|
5
|
+
var CADisplayLinkTarget = /** @class */ (function (_super) {
|
|
6
|
+
__extends(CADisplayLinkTarget, _super);
|
|
7
|
+
function CADisplayLinkTarget() {
|
|
8
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
9
|
+
}
|
|
10
|
+
CADisplayLinkTarget.initWithOwner = function (owner) {
|
|
11
|
+
var target = CADisplayLinkTarget.new();
|
|
12
|
+
target._owner = owner;
|
|
13
|
+
return target;
|
|
14
|
+
};
|
|
15
|
+
CADisplayLinkTarget.prototype.onDisplayed = function (link) {
|
|
16
|
+
link.invalidate();
|
|
17
|
+
var owner = this._owner.deref();
|
|
18
|
+
if (!owner) {
|
|
19
|
+
return;
|
|
20
|
+
}
|
|
21
|
+
owner.displayedOnce = true;
|
|
22
|
+
owner.notify({
|
|
23
|
+
eventName: owner.displayedEvent,
|
|
24
|
+
object: owner,
|
|
25
|
+
ios: UIApplication.sharedApplication,
|
|
26
|
+
});
|
|
27
|
+
owner.displayedLinkTarget = null;
|
|
28
|
+
owner.displayedLink = null;
|
|
29
|
+
};
|
|
30
|
+
CADisplayLinkTarget.ObjCExposedMethods = {
|
|
31
|
+
onDisplayed: { returns: interop.types.void, params: [CADisplayLink] },
|
|
32
|
+
};
|
|
33
|
+
return CADisplayLinkTarget;
|
|
34
|
+
}(NSObject));
|
|
35
|
+
var NotificationObserver = /** @class */ (function (_super) {
|
|
36
|
+
__extends(NotificationObserver, _super);
|
|
37
|
+
function NotificationObserver() {
|
|
38
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
39
|
+
}
|
|
40
|
+
NotificationObserver.initWithCallback = function (onReceiveCallback) {
|
|
41
|
+
var observer = _super.new.call(this);
|
|
42
|
+
observer._onReceiveCallback = onReceiveCallback;
|
|
43
|
+
return observer;
|
|
44
|
+
};
|
|
45
|
+
NotificationObserver.prototype.onReceive = function (notification) {
|
|
46
|
+
this._onReceiveCallback(notification);
|
|
47
|
+
};
|
|
48
|
+
NotificationObserver.ObjCExposedMethods = {
|
|
49
|
+
onReceive: { returns: interop.types.void, params: [NSNotification] },
|
|
50
|
+
};
|
|
51
|
+
return NotificationObserver;
|
|
52
|
+
}(NSObject));
|
|
53
|
+
var Responder = /** @class */ (function (_super) {
|
|
54
|
+
__extends(Responder, _super);
|
|
55
|
+
function Responder() {
|
|
56
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
57
|
+
}
|
|
58
|
+
Object.defineProperty(Responder.prototype, "window", {
|
|
59
|
+
get: function () {
|
|
60
|
+
return Application.ios.window;
|
|
61
|
+
},
|
|
62
|
+
set: function (value) {
|
|
63
|
+
// NOOP
|
|
64
|
+
},
|
|
65
|
+
enumerable: true,
|
|
66
|
+
configurable: true
|
|
67
|
+
});
|
|
68
|
+
Responder.ObjCProtocols = [UIApplicationDelegate];
|
|
69
|
+
return Responder;
|
|
70
|
+
}(UIResponder));
|
|
71
|
+
export class iOSApplication extends ApplicationCommon {
|
|
72
|
+
/**
|
|
73
|
+
* @internal - should not be constructed by the user.
|
|
74
|
+
*/
|
|
75
|
+
constructor() {
|
|
76
|
+
super();
|
|
77
|
+
this._notificationObservers = [];
|
|
78
|
+
this.displayedOnce = false;
|
|
79
|
+
this.addNotificationObserver(UIApplicationDidFinishLaunchingNotification, this.didFinishLaunchingWithOptions.bind(this));
|
|
80
|
+
this.addNotificationObserver(UIApplicationDidBecomeActiveNotification, this.didBecomeActive.bind(this));
|
|
81
|
+
this.addNotificationObserver(UIApplicationDidEnterBackgroundNotification, this.didEnterBackground.bind(this));
|
|
82
|
+
this.addNotificationObserver(UIApplicationWillTerminateNotification, this.willTerminate.bind(this));
|
|
83
|
+
this.addNotificationObserver(UIApplicationDidReceiveMemoryWarningNotification, this.didReceiveMemoryWarning.bind(this));
|
|
84
|
+
this.addNotificationObserver(UIApplicationDidChangeStatusBarOrientationNotification, this.didChangeStatusBarOrientation.bind(this));
|
|
85
|
+
}
|
|
86
|
+
getRootView() {
|
|
87
|
+
return this._rootView;
|
|
88
|
+
}
|
|
89
|
+
resetRootView(view) {
|
|
90
|
+
super.resetRootView(view);
|
|
91
|
+
this.setWindowContent();
|
|
92
|
+
}
|
|
93
|
+
run(entry) {
|
|
94
|
+
this.mainEntry = typeof entry === 'string' ? { moduleName: entry } : entry;
|
|
95
|
+
this.started = true;
|
|
96
|
+
if (this.nativeApp) {
|
|
97
|
+
this.runAsEmbeddedApp();
|
|
98
|
+
}
|
|
99
|
+
else {
|
|
100
|
+
this.runAsMainApp();
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
runAsMainApp() {
|
|
104
|
+
UIApplicationMain(0, null, null, this.delegate ? NSStringFromClass(this.delegate) : NSStringFromClass(Responder));
|
|
105
|
+
}
|
|
106
|
+
runAsEmbeddedApp() {
|
|
107
|
+
// TODO: this rootView should be held alive until rootController dismissViewController is called.
|
|
108
|
+
const rootView = this.createRootView(this._rootView, true);
|
|
109
|
+
if (!rootView) {
|
|
110
|
+
return;
|
|
111
|
+
}
|
|
112
|
+
this._rootView = rootView;
|
|
113
|
+
// Attach to the existing iOS app
|
|
114
|
+
const window = this.nativeApp.keyWindow || (this.nativeApp.windows.count > 0 && this.nativeApp.windows[0]);
|
|
115
|
+
if (!window) {
|
|
116
|
+
return;
|
|
117
|
+
}
|
|
118
|
+
const rootController = window.rootViewController;
|
|
119
|
+
if (!rootController) {
|
|
120
|
+
return;
|
|
121
|
+
}
|
|
122
|
+
const controller = this.getViewController(rootView);
|
|
123
|
+
const embedderDelegate = NativeScriptEmbedder.sharedInstance().delegate;
|
|
124
|
+
rootView._setupAsRootView({});
|
|
125
|
+
rootView.on(IOSHelper.traitCollectionColorAppearanceChangedEvent, () => {
|
|
126
|
+
const userInterfaceStyle = controller.traitCollection.userInterfaceStyle;
|
|
127
|
+
const newSystemAppearance = this.getSystemAppearanceValue(userInterfaceStyle);
|
|
128
|
+
this.setSystemAppearance(newSystemAppearance);
|
|
129
|
+
});
|
|
130
|
+
if (embedderDelegate) {
|
|
131
|
+
this.setViewControllerView(rootView);
|
|
132
|
+
embedderDelegate.presentNativeScriptApp(controller);
|
|
133
|
+
}
|
|
134
|
+
else {
|
|
135
|
+
const visibleVC = Utils.ios.getVisibleViewController(rootController);
|
|
136
|
+
visibleVC.presentViewControllerAnimatedCompletion(controller, true, null);
|
|
137
|
+
}
|
|
138
|
+
this.initRootView(rootView);
|
|
139
|
+
this.notifyAppStarted();
|
|
140
|
+
}
|
|
141
|
+
getViewController(rootView) {
|
|
142
|
+
let viewController = rootView.viewController || rootView.ios;
|
|
143
|
+
if (!(viewController instanceof UIViewController)) {
|
|
144
|
+
// We set UILayoutViewController dynamically to the root view if it doesn't have a view controller
|
|
145
|
+
// At the moment the root view doesn't have its native view created. We set it in the setViewControllerView func
|
|
146
|
+
viewController = IOSHelper.UILayoutViewController.initWithOwner(new WeakRef(rootView));
|
|
147
|
+
rootView.viewController = viewController;
|
|
148
|
+
}
|
|
149
|
+
return viewController;
|
|
150
|
+
}
|
|
151
|
+
setViewControllerView(view) {
|
|
152
|
+
const viewController = view.viewController || view.ios;
|
|
153
|
+
const nativeView = view.ios || view.nativeViewProtected;
|
|
154
|
+
if (!nativeView || !viewController) {
|
|
155
|
+
throw new Error('Root should be either UIViewController or UIView');
|
|
156
|
+
}
|
|
157
|
+
if (viewController instanceof IOSHelper.UILayoutViewController) {
|
|
158
|
+
viewController.view.addSubview(nativeView);
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
setMaxRefreshRate(options) {
|
|
162
|
+
const adjustRefreshRate = () => {
|
|
163
|
+
if (!this.displayedLink) {
|
|
164
|
+
return;
|
|
165
|
+
}
|
|
166
|
+
const minFrameRateDisabled = NSBundle.mainBundle.objectForInfoDictionaryKey('CADisableMinimumFrameDurationOnPhone');
|
|
167
|
+
if (minFrameRateDisabled) {
|
|
168
|
+
let max = 120;
|
|
169
|
+
const deviceMaxFrames = UIScreen.mainScreen?.maximumFramesPerSecond;
|
|
170
|
+
if (options?.max) {
|
|
171
|
+
if (deviceMaxFrames) {
|
|
172
|
+
// iOS 10.3
|
|
173
|
+
max = options.max <= deviceMaxFrames ? options.max : deviceMaxFrames;
|
|
174
|
+
}
|
|
175
|
+
else if (this.displayedLink.preferredFramesPerSecond) {
|
|
176
|
+
// iOS 10.0
|
|
177
|
+
max = options.max <= this.displayedLink.preferredFramesPerSecond ? options.max : this.displayedLink.preferredFramesPerSecond;
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
if (Utils.ios.MajorVersion >= 15) {
|
|
181
|
+
const min = options?.min || max / 2;
|
|
182
|
+
const preferred = options?.preferred || max;
|
|
183
|
+
this.displayedLink.preferredFrameRateRange = CAFrameRateRangeMake(min, max, preferred);
|
|
184
|
+
}
|
|
185
|
+
else {
|
|
186
|
+
this.displayedLink.preferredFramesPerSecond = max;
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
};
|
|
190
|
+
if (this.displayedOnce) {
|
|
191
|
+
adjustRefreshRate();
|
|
192
|
+
return;
|
|
193
|
+
}
|
|
194
|
+
this.displayedLinkTarget = CADisplayLinkTarget.initWithOwner(new WeakRef(this));
|
|
195
|
+
this.displayedLink = CADisplayLink.displayLinkWithTargetSelector(this.displayedLinkTarget, 'onDisplayed');
|
|
196
|
+
adjustRefreshRate();
|
|
197
|
+
this.displayedLink.addToRunLoopForMode(NSRunLoop.mainRunLoop, NSDefaultRunLoopMode);
|
|
198
|
+
this.displayedLink.addToRunLoopForMode(NSRunLoop.mainRunLoop, UITrackingRunLoopMode);
|
|
199
|
+
}
|
|
200
|
+
get rootController() {
|
|
201
|
+
return this.window.rootViewController;
|
|
202
|
+
}
|
|
203
|
+
get nativeApp() {
|
|
204
|
+
return UIApplication.sharedApplication;
|
|
205
|
+
}
|
|
206
|
+
get window() {
|
|
207
|
+
if (NativeScriptEmbedder.sharedInstance().delegate && !this._window) {
|
|
208
|
+
this._window = UIApplication.sharedApplication.keyWindow;
|
|
209
|
+
}
|
|
210
|
+
return this._window;
|
|
211
|
+
}
|
|
212
|
+
get delegate() {
|
|
213
|
+
return this._delegate;
|
|
214
|
+
}
|
|
215
|
+
set delegate(value) {
|
|
216
|
+
if (this._delegate !== value) {
|
|
217
|
+
this._delegate = value;
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
getNativeApplication() {
|
|
221
|
+
return this.nativeApp;
|
|
222
|
+
}
|
|
223
|
+
addNotificationObserver(notificationName, onReceiveCallback) {
|
|
224
|
+
const observer = NotificationObserver.initWithCallback(onReceiveCallback);
|
|
225
|
+
NSNotificationCenter.defaultCenter.addObserverSelectorNameObject(observer, 'onReceive', notificationName, null);
|
|
226
|
+
this._notificationObservers.push(observer);
|
|
227
|
+
return observer;
|
|
228
|
+
}
|
|
229
|
+
removeNotificationObserver(observer, notificationName) {
|
|
230
|
+
const index = this._notificationObservers.indexOf(observer);
|
|
231
|
+
if (index >= 0) {
|
|
232
|
+
this._notificationObservers.splice(index, 1);
|
|
233
|
+
NSNotificationCenter.defaultCenter.removeObserverNameObject(observer, notificationName, null);
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
getSystemAppearance() {
|
|
237
|
+
// userInterfaceStyle is available on UITraitCollection since iOS 12.
|
|
238
|
+
if (Utils.ios.MajorVersion <= 11 || !this.rootController) {
|
|
239
|
+
return null;
|
|
240
|
+
}
|
|
241
|
+
const userInterfaceStyle = this.rootController.traitCollection.userInterfaceStyle;
|
|
242
|
+
return this.getSystemAppearanceValue(userInterfaceStyle);
|
|
243
|
+
}
|
|
244
|
+
getSystemAppearanceValue(userInterfaceStyle) {
|
|
245
|
+
switch (userInterfaceStyle) {
|
|
246
|
+
case 2 /* UIUserInterfaceStyle.Dark */:
|
|
247
|
+
return 'dark';
|
|
248
|
+
case 1 /* UIUserInterfaceStyle.Light */:
|
|
249
|
+
case 0 /* UIUserInterfaceStyle.Unspecified */:
|
|
250
|
+
return 'light';
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
getOrientation() {
|
|
254
|
+
const statusBarOrientation = UIApplication.sharedApplication.statusBarOrientation;
|
|
255
|
+
return this.getOrientationValue(statusBarOrientation);
|
|
256
|
+
}
|
|
257
|
+
getOrientationValue(orientation) {
|
|
258
|
+
switch (orientation) {
|
|
259
|
+
case 3 /* UIInterfaceOrientation.LandscapeRight */:
|
|
260
|
+
case 4 /* UIInterfaceOrientation.LandscapeLeft */:
|
|
261
|
+
return 'landscape';
|
|
262
|
+
case 2 /* UIInterfaceOrientation.PortraitUpsideDown */:
|
|
263
|
+
case 1 /* UIInterfaceOrientation.Portrait */:
|
|
264
|
+
return 'portrait';
|
|
265
|
+
case 0 /* UIInterfaceOrientation.Unknown */:
|
|
266
|
+
return 'unknown';
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
notifyAppStarted(notification) {
|
|
270
|
+
const root = this.notifyLaunch({
|
|
271
|
+
ios: notification?.userInfo?.objectForKey('UIApplicationLaunchOptionsLocalNotificationKey') ?? null,
|
|
272
|
+
});
|
|
273
|
+
if (this._window) {
|
|
274
|
+
if (root !== null && !NativeScriptEmbedder.sharedInstance().delegate) {
|
|
275
|
+
this.setWindowContent(root);
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
else {
|
|
279
|
+
this._window = UIApplication.sharedApplication.keyWindow;
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
setWindowContent(view) {
|
|
283
|
+
if (this._rootView) {
|
|
284
|
+
// if we already have a root view, we reset it.
|
|
285
|
+
this._rootView._onRootViewReset();
|
|
286
|
+
}
|
|
287
|
+
const rootView = this.createRootView(view);
|
|
288
|
+
const controller = this.getViewController(rootView);
|
|
289
|
+
this._rootView = rootView;
|
|
290
|
+
// setup view as styleScopeHost
|
|
291
|
+
rootView._setupAsRootView({});
|
|
292
|
+
this.setViewControllerView(rootView);
|
|
293
|
+
const haveController = this._window.rootViewController !== null;
|
|
294
|
+
this._window.rootViewController = controller;
|
|
295
|
+
if (!haveController) {
|
|
296
|
+
this._window.makeKeyAndVisible();
|
|
297
|
+
}
|
|
298
|
+
this.initRootView(rootView);
|
|
299
|
+
rootView.on(IOSHelper.traitCollectionColorAppearanceChangedEvent, () => {
|
|
300
|
+
const userInterfaceStyle = controller.traitCollection.userInterfaceStyle;
|
|
301
|
+
const newSystemAppearance = this.getSystemAppearanceValue(userInterfaceStyle);
|
|
302
|
+
this.setSystemAppearance(newSystemAppearance);
|
|
303
|
+
});
|
|
304
|
+
}
|
|
305
|
+
// Observers
|
|
306
|
+
didFinishLaunchingWithOptions(notification) {
|
|
307
|
+
this.setMaxRefreshRate();
|
|
308
|
+
this._window = UIWindow.alloc().initWithFrame(UIScreen.mainScreen.bounds);
|
|
309
|
+
// TODO: Expose Window module so that it can we styled from XML & CSS
|
|
310
|
+
this._window.backgroundColor = Utils.ios.MajorVersion <= 12 || !UIColor.systemBackgroundColor ? UIColor.whiteColor : UIColor.systemBackgroundColor;
|
|
311
|
+
this.notifyAppStarted(notification);
|
|
312
|
+
}
|
|
313
|
+
didBecomeActive(notification) {
|
|
314
|
+
const additionalData = {
|
|
315
|
+
ios: UIApplication.sharedApplication,
|
|
316
|
+
};
|
|
317
|
+
this.setInBackground(false, additionalData);
|
|
318
|
+
this.setSuspended(false, additionalData);
|
|
319
|
+
const rootView = this._rootView;
|
|
320
|
+
if (rootView && !rootView.isLoaded) {
|
|
321
|
+
rootView.callLoaded();
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
didEnterBackground(notification) {
|
|
325
|
+
const additionalData = {
|
|
326
|
+
ios: UIApplication.sharedApplication,
|
|
327
|
+
};
|
|
328
|
+
this.setInBackground(true, additionalData);
|
|
329
|
+
this.setSuspended(true, additionalData);
|
|
330
|
+
const rootView = this._rootView;
|
|
331
|
+
if (rootView && rootView.isLoaded) {
|
|
332
|
+
rootView.callUnloaded();
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
willTerminate(notification) {
|
|
336
|
+
this.notify({
|
|
337
|
+
eventName: this.exitEvent,
|
|
338
|
+
object: this,
|
|
339
|
+
ios: this.ios,
|
|
340
|
+
});
|
|
341
|
+
// const rootView = this._rootView;
|
|
342
|
+
// if (rootView && rootView.isLoaded) {
|
|
343
|
+
// rootView.callUnloaded();
|
|
344
|
+
// }
|
|
345
|
+
}
|
|
346
|
+
didReceiveMemoryWarning(notification) {
|
|
347
|
+
this.notify({
|
|
348
|
+
eventName: this.lowMemoryEvent,
|
|
349
|
+
object: this,
|
|
350
|
+
ios: this.ios,
|
|
351
|
+
});
|
|
352
|
+
}
|
|
353
|
+
didChangeStatusBarOrientation(notification) {
|
|
354
|
+
const statusBarOrientation = UIApplication.sharedApplication.statusBarOrientation;
|
|
355
|
+
const newOrientation = this.getOrientationValue(statusBarOrientation);
|
|
356
|
+
this.setOrientation(newOrientation);
|
|
357
|
+
}
|
|
358
|
+
get ios() {
|
|
359
|
+
// ensures Application.ios is defined when running on iOS
|
|
360
|
+
return this;
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
__decorate([
|
|
364
|
+
profile
|
|
365
|
+
], iOSApplication.prototype, "didFinishLaunchingWithOptions", null);
|
|
366
|
+
__decorate([
|
|
367
|
+
profile
|
|
368
|
+
], iOSApplication.prototype, "didBecomeActive", null);
|
|
369
|
+
export * from './application-common';
|
|
370
|
+
export const Application = new iOSApplication();
|
|
371
|
+
export const AndroidApplication = undefined;
|
|
372
|
+
//# sourceMappingURL=application.ios.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"application.ios.js","sourceRoot":"","sources":["../../../../packages/core/application/application.ios.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAEvC,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,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