@symbiote-native/application 0.0.1
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/LICENSE +21 -0
- package/README.md +223 -0
- package/build/angular/index.d.ts +1 -0
- package/build/angular/index.js +4 -0
- package/build/core/application.d.ts +77 -0
- package/build/core/application.js +119 -0
- package/build/core/index.d.ts +2 -0
- package/build/core/index.js +2 -0
- package/build/core/native-module.d.ts +15 -0
- package/build/core/native-module.js +3 -0
- package/build/core/types.d.ts +17 -0
- package/build/core/types.js +16 -0
- package/build/react/index.d.ts +1 -0
- package/build/react/index.js +5 -0
- package/build/vue/index.d.ts +1 -0
- package/build/vue/index.js +4 -0
- package/build-ngc/angular/index.d.ts +1 -0
- package/build-ngc/angular/index.js +5 -0
- package/build-ngc/angular/index.js.map +1 -0
- package/build-ngc/core/application.d.ts +77 -0
- package/build-ngc/core/application.js +120 -0
- package/build-ngc/core/application.js.map +1 -0
- package/build-ngc/core/index.d.ts +2 -0
- package/build-ngc/core/index.js +3 -0
- package/build-ngc/core/index.js.map +1 -0
- package/build-ngc/core/native-module.d.ts +15 -0
- package/build-ngc/core/native-module.js +4 -0
- package/build-ngc/core/native-module.js.map +1 -0
- package/build-ngc/core/types.d.ts +17 -0
- package/build-ngc/core/types.js +17 -0
- package/build-ngc/core/types.js.map +1 -0
- package/native-link.json +12 -0
- package/package.json +107 -0
- package/src/angular/index.ts +4 -0
- package/src/core/application.test.ts +150 -0
- package/src/core/application.ts +134 -0
- package/src/core/index.ts +14 -0
- package/src/core/native-module.ts +26 -0
- package/src/core/types.ts +22 -0
- package/src/react/index.ts +5 -0
- package/src/vue/index.ts +4 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// Upstream ships two iOS-only types describing the shape of a running app build — the
|
|
2
|
+
// release channel it was built through and the current APN environment. Ported verbatim
|
|
3
|
+
// from expo-application's Application.types.ts (sdk-57).
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* The type of release for the app that is currently running.
|
|
7
|
+
* @platform ios
|
|
8
|
+
*/
|
|
9
|
+
export enum ApplicationReleaseType {
|
|
10
|
+
UNKNOWN = 0,
|
|
11
|
+
SIMULATOR = 1,
|
|
12
|
+
ENTERPRISE = 2,
|
|
13
|
+
DEVELOPMENT = 3,
|
|
14
|
+
AD_HOC = 4,
|
|
15
|
+
APP_STORE = 5,
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Maps to the `aps-environment` key in the native target's registered entitlements.
|
|
20
|
+
* @platform ios
|
|
21
|
+
*/
|
|
22
|
+
export type PushNotificationServiceEnvironment = 'development' | 'production' | null;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
// @symbiote-native/application/react: the React entry over the framework-agnostic core.
|
|
2
|
+
// Upstream ships plain constants and one-shot async functions, no per-instance state and no
|
|
3
|
+
// event stream — there is nothing for a hook to wrap, so this is a plain re-export, mirroring
|
|
4
|
+
// packages/local-auth/src/react/index.ts.
|
|
5
|
+
export * from '../core';
|
package/src/vue/index.ts
ADDED