@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.
Files changed (41) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +223 -0
  3. package/build/angular/index.d.ts +1 -0
  4. package/build/angular/index.js +4 -0
  5. package/build/core/application.d.ts +77 -0
  6. package/build/core/application.js +119 -0
  7. package/build/core/index.d.ts +2 -0
  8. package/build/core/index.js +2 -0
  9. package/build/core/native-module.d.ts +15 -0
  10. package/build/core/native-module.js +3 -0
  11. package/build/core/types.d.ts +17 -0
  12. package/build/core/types.js +16 -0
  13. package/build/react/index.d.ts +1 -0
  14. package/build/react/index.js +5 -0
  15. package/build/vue/index.d.ts +1 -0
  16. package/build/vue/index.js +4 -0
  17. package/build-ngc/angular/index.d.ts +1 -0
  18. package/build-ngc/angular/index.js +5 -0
  19. package/build-ngc/angular/index.js.map +1 -0
  20. package/build-ngc/core/application.d.ts +77 -0
  21. package/build-ngc/core/application.js +120 -0
  22. package/build-ngc/core/application.js.map +1 -0
  23. package/build-ngc/core/index.d.ts +2 -0
  24. package/build-ngc/core/index.js +3 -0
  25. package/build-ngc/core/index.js.map +1 -0
  26. package/build-ngc/core/native-module.d.ts +15 -0
  27. package/build-ngc/core/native-module.js +4 -0
  28. package/build-ngc/core/native-module.js.map +1 -0
  29. package/build-ngc/core/types.d.ts +17 -0
  30. package/build-ngc/core/types.js +17 -0
  31. package/build-ngc/core/types.js.map +1 -0
  32. package/native-link.json +12 -0
  33. package/package.json +107 -0
  34. package/src/angular/index.ts +4 -0
  35. package/src/core/application.test.ts +150 -0
  36. package/src/core/application.ts +134 -0
  37. package/src/core/index.ts +14 -0
  38. package/src/core/native-module.ts +26 -0
  39. package/src/core/types.ts +22 -0
  40. package/src/react/index.ts +5 -0
  41. 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';
@@ -0,0 +1,4 @@
1
+ // @symbiote-native/application/vue: the Vue entry over the framework-agnostic core. Same
2
+ // reasoning as the React entry — no per-instance state or event stream to wire onto Vue's
3
+ // reactivity, so this is a plain re-export.
4
+ export * from '../core';