@livx.cc/appwrap 0.19.0
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 +20 -0
- package/package.json +46 -0
- package/runtime/App_Resources/Android/app.gradle +34 -0
- package/runtime/App_Resources/Android/before-plugins.gradle +15 -0
- package/runtime/App_Resources/Android/src/main/AndroidManifest.xml +76 -0
- package/runtime/App_Resources/Android/src/main/res/drawable/ic_launcher_foreground.xml +15 -0
- package/runtime/App_Resources/Android/src/main/res/drawable-hdpi/background.png +0 -0
- package/runtime/App_Resources/Android/src/main/res/drawable-hdpi/logo.png +0 -0
- package/runtime/App_Resources/Android/src/main/res/drawable-ldpi/background.png +0 -0
- package/runtime/App_Resources/Android/src/main/res/drawable-ldpi/logo.png +0 -0
- package/runtime/App_Resources/Android/src/main/res/drawable-mdpi/background.png +0 -0
- package/runtime/App_Resources/Android/src/main/res/drawable-mdpi/logo.png +0 -0
- package/runtime/App_Resources/Android/src/main/res/drawable-nodpi/splash_screen.xml +8 -0
- package/runtime/App_Resources/Android/src/main/res/drawable-xhdpi/background.png +0 -0
- package/runtime/App_Resources/Android/src/main/res/drawable-xhdpi/logo.png +0 -0
- package/runtime/App_Resources/Android/src/main/res/drawable-xxhdpi/background.png +0 -0
- package/runtime/App_Resources/Android/src/main/res/drawable-xxhdpi/logo.png +0 -0
- package/runtime/App_Resources/Android/src/main/res/drawable-xxxhdpi/background.png +0 -0
- package/runtime/App_Resources/Android/src/main/res/drawable-xxxhdpi/logo.png +0 -0
- package/runtime/App_Resources/Android/src/main/res/mipmap-anydpi-v26/ic_launcher.xml +5 -0
- package/runtime/App_Resources/Android/src/main/res/mipmap-hdpi/ic_launcher.png +0 -0
- package/runtime/App_Resources/Android/src/main/res/mipmap-mdpi/ic_launcher.png +0 -0
- package/runtime/App_Resources/Android/src/main/res/mipmap-xhdpi/ic_launcher.png +0 -0
- package/runtime/App_Resources/Android/src/main/res/mipmap-xxhdpi/ic_launcher.png +0 -0
- package/runtime/App_Resources/Android/src/main/res/mipmap-xxxhdpi/ic_launcher.png +0 -0
- package/runtime/App_Resources/Android/src/main/res/values/colors.xml +14 -0
- package/runtime/App_Resources/Android/src/main/res/values/ic_launcher_background.xml +4 -0
- package/runtime/App_Resources/Android/src/main/res/values/styles.xml +42 -0
- package/runtime/App_Resources/Android/src/main/res/values-v21/colors.xml +5 -0
- package/runtime/App_Resources/Android/src/main/res/values-v21/styles.xml +32 -0
- package/runtime/App_Resources/Android/src/main/res/values-v29/styles.xml +18 -0
- package/runtime/App_Resources/Android/src/main/res/xml/file_paths.xml +5 -0
- package/runtime/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/Contents.json +122 -0
- package/runtime/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-1024.png +0 -0
- package/runtime/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-20.png +0 -0
- package/runtime/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-20@2x.png +0 -0
- package/runtime/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-20@3x.png +0 -0
- package/runtime/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-29.png +0 -0
- package/runtime/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-29@2x.png +0 -0
- package/runtime/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-29@3x.png +0 -0
- package/runtime/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-40.png +0 -0
- package/runtime/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-40@2x.png +0 -0
- package/runtime/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-40@3x.png +0 -0
- package/runtime/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-60@2x.png +0 -0
- package/runtime/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-60@3x.png +0 -0
- package/runtime/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-76.png +0 -0
- package/runtime/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-76@2x.png +0 -0
- package/runtime/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-83.5@2x.png +0 -0
- package/runtime/App_Resources/iOS/Assets.xcassets/Contents.json +6 -0
- package/runtime/App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/Contents.json +23 -0
- package/runtime/App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/LaunchScreen-AspectFill.png +0 -0
- package/runtime/App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/LaunchScreen-AspectFill@2x.png +0 -0
- package/runtime/App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/LaunchScreen-AspectFill@3x.png +0 -0
- package/runtime/App_Resources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/Contents.json +23 -0
- package/runtime/App_Resources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/LaunchScreen-Center.png +0 -0
- package/runtime/App_Resources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/LaunchScreen-Center@2x.png +0 -0
- package/runtime/App_Resources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/LaunchScreen-Center@3x.png +0 -0
- package/runtime/App_Resources/iOS/Info.plist +60 -0
- package/runtime/App_Resources/iOS/LaunchScreen.storyboard +53 -0
- package/runtime/App_Resources/iOS/Podfile +13 -0
- package/runtime/App_Resources/iOS/PrivacyInfo.xcprivacy +59 -0
- package/runtime/App_Resources/iOS/build.xcconfig +7 -0
- package/runtime/app/app.ts +58 -0
- package/runtime/app/main-page.ts +116 -0
- package/runtime/app/main-page.xml +10 -0
- package/runtime/app/shell/active-modules.generated.ts +9 -0
- package/runtime/app/shell/android-helpers.ts +76 -0
- package/runtime/app/shell/bridge.ts +99 -0
- package/runtime/app/shell/capabilities.manifest.ts +207 -0
- package/runtime/app/shell/config.ts +35 -0
- package/runtime/app/shell/custom-webview.android.ts +270 -0
- package/runtime/app/shell/custom-webview.ios.ts +258 -0
- package/runtime/app/shell/custom-webview.ts +17 -0
- package/runtime/app/shell/env.ts +81 -0
- package/runtime/app/shell/events.ts +100 -0
- package/runtime/app/shell/fcm-bootstrap.generated.ts +1 -0
- package/runtime/app/shell/fcm-firebase.d.ts +16 -0
- package/runtime/app/shell/fcm-service.android.ts +40 -0
- package/runtime/app/shell/fcm-service.ios.ts +3 -0
- package/runtime/app/shell/handlers-android.ts +417 -0
- package/runtime/app/shell/handlers-billing.ts +197 -0
- package/runtime/app/shell/handlers-extended.ts +405 -0
- package/runtime/app/shell/handlers-health.ts +134 -0
- package/runtime/app/shell/handlers-media.ts +126 -0
- package/runtime/app/shell/handlers-oauth.ts +69 -0
- package/runtime/app/shell/handlers-parity.ts +257 -0
- package/runtime/app/shell/handlers-push.ts +189 -0
- package/runtime/app/shell/handlers-system.ts +70 -0
- package/runtime/app/shell/handlers.ts +149 -0
- package/runtime/app/shell/ios-frameworks.d.ts +36 -0
- package/runtime/app/shell/ios-image.ts +15 -0
- package/runtime/app/shell/ios-ui-delegate.ts +131 -0
- package/runtime/app/shell/mime.ts +29 -0
- package/runtime/app/shell/native-log.ts +22 -0
- package/runtime/app/shell/optional-handlers.generated.ts +10 -0
- package/runtime/app/shell/orientation.ts +43 -0
- package/runtime/app/shell/status-bar.ts +129 -0
- package/runtime/app/shell/toast.ts +67 -0
- package/runtime/app/shell/web-quirks.ts +131 -0
- package/runtime/modules-native/health/App_Resources/Android/src/main/java/cc/livx/appwrap/HealthConnectBridge.kt +74 -0
- package/runtime/nativescript.config.ts +15 -0
- package/runtime/package.json +21 -0
- package/runtime/references.d.ts +2 -0
- package/runtime/tsconfig.json +19 -0
- package/runtime/webpack.config.js +27 -0
- package/scripts/stage-assets.mjs +21 -0
- package/src/cli.ts +1328 -0
- package/templates/ci/fastlane/Fastfile +43 -0
- package/templates/ci/fastlane/Matchfile +3 -0
- package/templates/ci/github/workflows/appwrap-pr.yml +28 -0
- package/templates/ci/github/workflows/appwrap-release-android.yml +51 -0
- package/templates/ci/github/workflows/appwrap-release-ios.yml +41 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Elya Livshitz
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# @livx.cc/appwrap
|
|
2
|
+
|
|
3
|
+
CLI that wraps any PWA into a native iOS/Android app with real native capabilities — pairs with [`@livx.cc/native-kit`](https://www.npmjs.com/package/@livx.cc/native-kit) and the appwrap runtime.
|
|
4
|
+
|
|
5
|
+
> Requires [Bun](https://bun.sh). The CLI runs as TypeScript via `#!/usr/bin/env bun`.
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
bun add -d @livx.cc/appwrap
|
|
9
|
+
bunx appwrap init # scaffold native/ from appwrap.json
|
|
10
|
+
bunx appwrap sync # regenerate native/ after web or config changes
|
|
11
|
+
bunx appwrap dev # live-load your dev server in the native shell
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
Configuration lives in `appwrap.json` (app id, name, icon, modules, permissions, signing). The CLI generates and keeps `native/` in sync from a managed runtime template — you edit the template/config, never the generated output.
|
|
15
|
+
|
|
16
|
+
**Full documentation, `appwrap.json` reference, and the managed-regeneration model:** see the [appwrap README](https://github.com/Livshitz/appwrap#readme).
|
|
17
|
+
|
|
18
|
+
## License
|
|
19
|
+
|
|
20
|
+
MIT © Elya Livshitz
|
package/package.json
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@livx.cc/appwrap",
|
|
3
|
+
"version": "0.19.0",
|
|
4
|
+
"description": "Wrap any PWA into a native app with native capabilities (appwrap runtime + @livx.cc/native-kit).",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"author": "Elya Livshitz",
|
|
7
|
+
"homepage": "https://github.com/Livshitz/appwrap#readme",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/Livshitz/appwrap.git",
|
|
11
|
+
"directory": "packages/appwrap-cli"
|
|
12
|
+
},
|
|
13
|
+
"bugs": {
|
|
14
|
+
"url": "https://github.com/Livshitz/appwrap/issues"
|
|
15
|
+
},
|
|
16
|
+
"keywords": [
|
|
17
|
+
"pwa",
|
|
18
|
+
"native",
|
|
19
|
+
"webview",
|
|
20
|
+
"nativescript",
|
|
21
|
+
"appwrap",
|
|
22
|
+
"cli",
|
|
23
|
+
"ios",
|
|
24
|
+
"android"
|
|
25
|
+
],
|
|
26
|
+
"type": "module",
|
|
27
|
+
"bin": {
|
|
28
|
+
"appwrap": "src/cli.ts"
|
|
29
|
+
},
|
|
30
|
+
"exports": {
|
|
31
|
+
".": "./src/cli.ts"
|
|
32
|
+
},
|
|
33
|
+
"files": [
|
|
34
|
+
"src",
|
|
35
|
+
"runtime",
|
|
36
|
+
"templates",
|
|
37
|
+
"scripts/stage-assets.mjs"
|
|
38
|
+
],
|
|
39
|
+
"scripts": {
|
|
40
|
+
"prepack": "node scripts/stage-assets.mjs",
|
|
41
|
+
"postpack": "rm -rf runtime templates"
|
|
42
|
+
},
|
|
43
|
+
"publishConfig": {
|
|
44
|
+
"access": "public"
|
|
45
|
+
}
|
|
46
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
// You can add your native dependencies here
|
|
2
|
+
dependencies {
|
|
3
|
+
implementation 'androidx.biometric:biometric:1.1.0' // BiometricPrompt
|
|
4
|
+
implementation 'androidx.webkit:webkit:1.16.0' // addDocumentStartJavaScript (transport shim)
|
|
5
|
+
implementation 'androidx.browser:browser:1.8.0' // Chrome Custom Tabs (browser.open)
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
android {
|
|
9
|
+
// compileSdk 36: required by Health Connect connect-client (rc01+). Independent of targetSdk —
|
|
10
|
+
// bumping it only lets newer APIs compile, it doesn't change runtime behavior. Needs platform 36.
|
|
11
|
+
compileSdkVersion 36
|
|
12
|
+
buildToolsVersion "35"
|
|
13
|
+
// ndkVersion ""
|
|
14
|
+
|
|
15
|
+
defaultConfig {
|
|
16
|
+
minSdkVersion 26 // Android 8.0 — Health Connect's floor (~99% of devices); was 24
|
|
17
|
+
targetSdkVersion 35
|
|
18
|
+
|
|
19
|
+
// Version Information
|
|
20
|
+
versionCode 2
|
|
21
|
+
versionName "1.0.3"
|
|
22
|
+
|
|
23
|
+
generatedDensities = []
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
aaptOptions {
|
|
27
|
+
additionalParameters "--no-version-vectors"
|
|
28
|
+
// Android's default asset-ignore pattern drops directories whose name starts with "_" (the
|
|
29
|
+
// `<dir>_*` token), which SILENTLY strips vendored assets like www/_vendor/sdk.js from the apk
|
|
30
|
+
// → the in-app SDK never loads. Override with the default pattern MINUS `<dir>_*` so underscore
|
|
31
|
+
// vendor dirs ship; dotfiles and VCS junk stay ignored. (iOS is unaffected — no aapt.)
|
|
32
|
+
ignoreAssetsPattern "!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~"
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// this configurations is loaded before building plugins, as well as before building
|
|
2
|
+
// the app - this is where you can apply global settings and overrides
|
|
3
|
+
|
|
4
|
+
project.ext {
|
|
5
|
+
// androidXAppCompat = "1.4.1"
|
|
6
|
+
// androidXExifInterface = "1.3.3"
|
|
7
|
+
// androidXFragment = "1.4.1"
|
|
8
|
+
// androidXMaterial = "1.5.0"
|
|
9
|
+
// androidXMultidex = "2.0.1"
|
|
10
|
+
// androidXTransition = "1.4.1"
|
|
11
|
+
// androidXViewPager = "1.0.0"
|
|
12
|
+
|
|
13
|
+
// useKotlin = true
|
|
14
|
+
// kotlinVersion = "1.6.0"
|
|
15
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
3
|
+
package="__PACKAGE__">
|
|
4
|
+
|
|
5
|
+
<supports-screens
|
|
6
|
+
android:smallScreens="true"
|
|
7
|
+
android:normalScreens="true"
|
|
8
|
+
android:largeScreens="true"
|
|
9
|
+
android:xlargeScreens="true"/>
|
|
10
|
+
|
|
11
|
+
<!-- Baseline — every appwrap shell needs these -->
|
|
12
|
+
<uses-permission android:name="android.permission.INTERNET"/>
|
|
13
|
+
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
|
|
14
|
+
<uses-permission android:name="android.permission.VIBRATE"/>
|
|
15
|
+
<uses-permission android:name="android.permission.USE_BIOMETRIC"/>
|
|
16
|
+
<uses-permission android:name="android.permission.POST_NOTIFICATIONS"/>
|
|
17
|
+
<!-- getUserMedia audio routing (RECORD_AUDIO / CAMERA stamped per-app from permissions) -->
|
|
18
|
+
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"/>
|
|
19
|
+
<!-- appwrap:permissions -->
|
|
20
|
+
<!-- /appwrap:permissions -->
|
|
21
|
+
|
|
22
|
+
<application
|
|
23
|
+
android:name="com.tns.NativeScriptApplication"
|
|
24
|
+
android:allowBackup="true"
|
|
25
|
+
android:icon="@mipmap/ic_launcher"
|
|
26
|
+
android:label="@string/app_name"
|
|
27
|
+
android:theme="@style/AppTheme"
|
|
28
|
+
android:hardwareAccelerated="true"
|
|
29
|
+
android:usesCleartextTraffic="true">
|
|
30
|
+
|
|
31
|
+
<activity
|
|
32
|
+
android:name="com.tns.NativeScriptActivity"
|
|
33
|
+
android:label="@string/title_activity_kimera"
|
|
34
|
+
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|smallestScreenSize|screenLayout|locale|uiMode"
|
|
35
|
+
android:theme="@style/LaunchScreenTheme"
|
|
36
|
+
android:hardwareAccelerated="true"
|
|
37
|
+
android:launchMode="singleTask"
|
|
38
|
+
android:exported="true">
|
|
39
|
+
|
|
40
|
+
<meta-data android:name="SET_THEME_ON_LAUNCH" android:resource="@style/AppTheme" />
|
|
41
|
+
|
|
42
|
+
<intent-filter>
|
|
43
|
+
<action android:name="android.intent.action.MAIN" />
|
|
44
|
+
<category android:name="android.intent.category.LAUNCHER" />
|
|
45
|
+
</intent-filter>
|
|
46
|
+
|
|
47
|
+
<!-- Deep-link intent-filter is stamped per-app by `appwrap init` (urlScheme) — Android pass pending -->
|
|
48
|
+
<intent-filter>
|
|
49
|
+
<action android:name="android.intent.action.VIEW" />
|
|
50
|
+
<category android:name="android.intent.category.DEFAULT" />
|
|
51
|
+
<category android:name="android.intent.category.BROWSABLE" />
|
|
52
|
+
<data android:scheme="appwrap" />
|
|
53
|
+
</intent-filter>
|
|
54
|
+
</activity>
|
|
55
|
+
<activity android:name="com.tns.ErrorReportActivity"/>
|
|
56
|
+
|
|
57
|
+
<!-- appwrap:application -->
|
|
58
|
+
<!-- /appwrap:application -->
|
|
59
|
+
|
|
60
|
+
<!-- appwrap:fcm -->
|
|
61
|
+
<!-- /appwrap:fcm -->
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
<!-- FileProvider for kit.share.files — exposes cached files as content:// URIs.
|
|
65
|
+
${applicationId} resolves at build; authority = <package>.fileprovider. -->
|
|
66
|
+
<provider
|
|
67
|
+
android:name="androidx.core.content.FileProvider"
|
|
68
|
+
android:authorities="${applicationId}.fileprovider"
|
|
69
|
+
android:exported="false"
|
|
70
|
+
android:grantUriPermissions="true">
|
|
71
|
+
<meta-data
|
|
72
|
+
android:name="android.support.FILE_PROVIDER_PATHS"
|
|
73
|
+
android:resource="@xml/file_paths" />
|
|
74
|
+
</provider>
|
|
75
|
+
</application>
|
|
76
|
+
</manifest>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
|
2
|
+
android:width="108dp"
|
|
3
|
+
android:height="108dp"
|
|
4
|
+
android:viewportWidth="108"
|
|
5
|
+
android:viewportHeight="108">
|
|
6
|
+
<group android:scaleX="0.07382812"
|
|
7
|
+
android:scaleY="0.07382812"
|
|
8
|
+
android:translateX="16.2"
|
|
9
|
+
android:translateY="16.2">
|
|
10
|
+
<path
|
|
11
|
+
android:pathData="M843,511.86L843,512.96C843,513.22 842.8,513.43 842.55,513.46C809.18,516.58 783.07,543.69 783.07,577.86L783.07,714.8C783.07,724.37 781.06,733.6 777.43,742.03C767.08,766.1 743.59,783.6 716.27,783.6L647.07,783.6L646.59,783L377.41,445.68L377.41,783.6L307.73,783.6C270.84,783.6 240.93,753.7 240.93,716.8L240.93,577.86C240.93,543.69 214.82,516.58 181.45,513.46C181.2,513.43 181,513.22 181,512.96L181,511.86C181,511.61 181.19,511.4 181.45,511.37C214.69,508.14 240.67,480.35 240.67,446.26L240.67,307.2C240.67,297.91 242.57,289.05 246,281.01C256.18,257.14 279.87,240.39 307.47,240.39L377.13,240.39L377.41,240.74L646.59,578.07L646.59,240.39L716.53,240.39C753.42,240.39 783.33,270.3 783.33,307.2L783.33,446.26C783.33,480.35 809.31,508.14 842.55,511.37C842.81,511.4 843,511.61 843,511.86"
|
|
12
|
+
android:fillColor="#65ADF1"
|
|
13
|
+
android:fillType="nonZero"/>
|
|
14
|
+
</group>
|
|
15
|
+
</vector>
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" android:gravity="fill">
|
|
2
|
+
<item>
|
|
3
|
+
<bitmap android:gravity="fill" android:src="@drawable/background" />
|
|
4
|
+
</item>
|
|
5
|
+
<item>
|
|
6
|
+
<bitmap android:gravity="center" android:src="@drawable/logo" />
|
|
7
|
+
</item>
|
|
8
|
+
</layer-list>
|
|
Binary file
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8" ?>
|
|
2
|
+
<resources>
|
|
3
|
+
<!-- The default color of the ActionBar -->
|
|
4
|
+
<color name="ns_primary">#F5F5F5</color>
|
|
5
|
+
|
|
6
|
+
<!-- (API21+) The color of the status bar and contextual app bars; this is normally a dark version of colorPrimary. -->
|
|
7
|
+
<color name="ns_primaryDark">#757575</color>
|
|
8
|
+
|
|
9
|
+
<!-- The color of UI controls such as check boxes, radio buttons, and edit text boxes. -->
|
|
10
|
+
<color name="ns_accent">#65ADF1</color>
|
|
11
|
+
|
|
12
|
+
<!-- this is unused in the default themes, so we might want to remove it? -->
|
|
13
|
+
<!-- <color name="ns_blue">#272734</color> -->
|
|
14
|
+
</resources>
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<resources xmlns:android="http://schemas.android.com/apk/res/android">
|
|
3
|
+
|
|
4
|
+
<!-- theme to use FOR launch screen-->
|
|
5
|
+
<style name="LaunchScreenThemeBase" parent="Theme.AppCompat.Light.NoActionBar">
|
|
6
|
+
<item name="toolbarStyle">@style/NativeScriptToolbarStyle</item>
|
|
7
|
+
|
|
8
|
+
<item name="colorPrimary">@color/ns_primary</item>
|
|
9
|
+
<item name="colorPrimaryDark">@color/ns_primaryDark</item>
|
|
10
|
+
<item name="colorAccent">@color/ns_accent</item>
|
|
11
|
+
|
|
12
|
+
<item name="android:windowBackground">@drawable/splash_screen</item>
|
|
13
|
+
|
|
14
|
+
<item name="android:windowActionBarOverlay">true</item>
|
|
15
|
+
<item name="android:windowTranslucentStatus">true</item>
|
|
16
|
+
</style>
|
|
17
|
+
|
|
18
|
+
<style name="LaunchScreenTheme" parent="LaunchScreenThemeBase">
|
|
19
|
+
</style>
|
|
20
|
+
|
|
21
|
+
<!-- theme to use AFTER launch screen is loaded-->
|
|
22
|
+
<style name="AppThemeBase" parent="Theme.AppCompat.Light.NoActionBar">
|
|
23
|
+
<item name="toolbarStyle">@style/NativeScriptToolbarStyle</item>
|
|
24
|
+
|
|
25
|
+
<item name="colorPrimary">@color/ns_primary</item>
|
|
26
|
+
<item name="colorPrimaryDark">@color/ns_primaryDark</item>
|
|
27
|
+
<item name="colorAccent">@color/ns_accent</item>
|
|
28
|
+
</style>
|
|
29
|
+
|
|
30
|
+
<style name="AppTheme" parent="AppThemeBase">
|
|
31
|
+
</style>
|
|
32
|
+
|
|
33
|
+
<!-- theme for action-bar -->
|
|
34
|
+
<style name="NativeScriptToolbarStyleBase" parent="Widget.AppCompat.Toolbar">
|
|
35
|
+
<item name="android:background">@color/ns_primary</item>
|
|
36
|
+
<item name="theme">@style/ThemeOverlay.AppCompat.ActionBar</item>
|
|
37
|
+
<item name="popupTheme">@style/ThemeOverlay.AppCompat</item>
|
|
38
|
+
</style>
|
|
39
|
+
|
|
40
|
+
<style name="NativeScriptToolbarStyle" parent="NativeScriptToolbarStyleBase">
|
|
41
|
+
</style>
|
|
42
|
+
</resources>
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8" ?>
|
|
2
|
+
<resources xmlns:android="http://schemas.android.com/apk/res/android">
|
|
3
|
+
|
|
4
|
+
<!-- Application theme. Edge-to-edge (content behind transparent system bars) is applied at
|
|
5
|
+
runtime via Utils.android.enableEdgeToEdge — see status-bar.ts enableAndroidEdgeToEdge. -->
|
|
6
|
+
<style name="AppThemeBase21" parent="AppThemeBase">
|
|
7
|
+
<item name="android:datePickerStyle">@style/SpinnerDatePicker</item>
|
|
8
|
+
<item name="android:timePickerStyle">@style/SpinnerTimePicker</item>
|
|
9
|
+
</style>
|
|
10
|
+
|
|
11
|
+
<style name="AppTheme" parent="AppThemeBase21">
|
|
12
|
+
</style>
|
|
13
|
+
|
|
14
|
+
<!-- Default style for DatePicker - in spinner mode -->
|
|
15
|
+
<style name="SpinnerDatePicker" parent="android:Widget.Material.Light.DatePicker">
|
|
16
|
+
<!-- set the default mode for the date picker (supported values: spinner, calendar) -->
|
|
17
|
+
<item name="android:datePickerMode">spinner</item>
|
|
18
|
+
</style>
|
|
19
|
+
|
|
20
|
+
<!-- Default style for TimePicker - in spinner mode -->
|
|
21
|
+
<style name="SpinnerTimePicker" parent="android:Widget.Material.Light.TimePicker">
|
|
22
|
+
<!-- set the default mode for the time picker (supported values: spinner, clock) -->
|
|
23
|
+
<item name="android:timePickerMode">spinner</item>
|
|
24
|
+
</style>
|
|
25
|
+
|
|
26
|
+
<style name="NativeScriptToolbarStyle" parent="NativeScriptToolbarStyleBase">
|
|
27
|
+
<item name="android:elevation">4dp</item>
|
|
28
|
+
|
|
29
|
+
<!-- Add padding to the ActionBar - useful when android:windowTranslucentStatus is set to true -->
|
|
30
|
+
<!-- <item name="android:paddingTop">24dp</item> -->
|
|
31
|
+
</style>
|
|
32
|
+
</resources>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<resources xmlns:android="http://schemas.android.com/apk/res/android">
|
|
3
|
+
|
|
4
|
+
<!-- Application theme -->
|
|
5
|
+
<style name="AppThemeBase29" parent="AppThemeBase21">
|
|
6
|
+
|
|
7
|
+
<!--
|
|
8
|
+
Disable forced dark mode on newer devices.
|
|
9
|
+
Enabling this will make your app appear in dark-mode,
|
|
10
|
+
but the way the app is converted may lead to visual issues
|
|
11
|
+
-->
|
|
12
|
+
<item name="android:forceDarkAllowed">false</item>
|
|
13
|
+
</style>
|
|
14
|
+
|
|
15
|
+
<style name="AppTheme" parent="AppThemeBase29">
|
|
16
|
+
</style>
|
|
17
|
+
|
|
18
|
+
</resources>
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
{
|
|
2
|
+
"images" : [
|
|
3
|
+
{
|
|
4
|
+
"size" : "20x20",
|
|
5
|
+
"idiom" : "iphone",
|
|
6
|
+
"filename" : "icon-20@2x.png",
|
|
7
|
+
"scale" : "2x"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"size" : "20x20",
|
|
11
|
+
"idiom" : "iphone",
|
|
12
|
+
"filename" : "icon-20@3x.png",
|
|
13
|
+
"scale" : "3x"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"size" : "29x29",
|
|
17
|
+
"idiom" : "iphone",
|
|
18
|
+
"filename" : "icon-29.png",
|
|
19
|
+
"scale" : "1x"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"size" : "29x29",
|
|
23
|
+
"idiom" : "iphone",
|
|
24
|
+
"filename" : "icon-29@2x.png",
|
|
25
|
+
"scale" : "2x"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"size" : "29x29",
|
|
29
|
+
"idiom" : "iphone",
|
|
30
|
+
"filename" : "icon-29@3x.png",
|
|
31
|
+
"scale" : "3x"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"size" : "40x40",
|
|
35
|
+
"idiom" : "iphone",
|
|
36
|
+
"filename" : "icon-40@2x.png",
|
|
37
|
+
"scale" : "2x"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"size" : "40x40",
|
|
41
|
+
"idiom" : "iphone",
|
|
42
|
+
"filename" : "icon-40@3x.png",
|
|
43
|
+
"scale" : "3x"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"size" : "60x60",
|
|
47
|
+
"idiom" : "iphone",
|
|
48
|
+
"filename" : "icon-60@2x.png",
|
|
49
|
+
"scale" : "2x"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"size" : "60x60",
|
|
53
|
+
"idiom" : "iphone",
|
|
54
|
+
"filename" : "icon-60@3x.png",
|
|
55
|
+
"scale" : "3x"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"size" : "20x20",
|
|
59
|
+
"idiom" : "ipad",
|
|
60
|
+
"filename" : "icon-20.png",
|
|
61
|
+
"scale" : "1x"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"size" : "20x20",
|
|
65
|
+
"idiom" : "ipad",
|
|
66
|
+
"filename" : "icon-20@2x.png",
|
|
67
|
+
"scale" : "2x"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"size" : "29x29",
|
|
71
|
+
"idiom" : "ipad",
|
|
72
|
+
"filename" : "icon-29.png",
|
|
73
|
+
"scale" : "1x"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"size" : "29x29",
|
|
77
|
+
"idiom" : "ipad",
|
|
78
|
+
"filename" : "icon-29@2x.png",
|
|
79
|
+
"scale" : "2x"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"size" : "40x40",
|
|
83
|
+
"idiom" : "ipad",
|
|
84
|
+
"filename" : "icon-40.png",
|
|
85
|
+
"scale" : "1x"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"size" : "40x40",
|
|
89
|
+
"idiom" : "ipad",
|
|
90
|
+
"filename" : "icon-40@2x.png",
|
|
91
|
+
"scale" : "2x"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"size" : "76x76",
|
|
95
|
+
"idiom" : "ipad",
|
|
96
|
+
"filename" : "icon-76.png",
|
|
97
|
+
"scale" : "1x"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"size" : "76x76",
|
|
101
|
+
"idiom" : "ipad",
|
|
102
|
+
"filename" : "icon-76@2x.png",
|
|
103
|
+
"scale" : "2x"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"size" : "83.5x83.5",
|
|
107
|
+
"idiom" : "ipad",
|
|
108
|
+
"filename" : "icon-83.5@2x.png",
|
|
109
|
+
"scale" : "2x"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"size" : "1024x1024",
|
|
113
|
+
"idiom" : "ios-marketing",
|
|
114
|
+
"filename" : "icon-1024.png",
|
|
115
|
+
"scale" : "1x"
|
|
116
|
+
}
|
|
117
|
+
],
|
|
118
|
+
"info" : {
|
|
119
|
+
"version" : 1,
|
|
120
|
+
"author" : "xcode"
|
|
121
|
+
}
|
|
122
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/runtime/App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/Contents.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"images" : [
|
|
3
|
+
{
|
|
4
|
+
"idiom" : "universal",
|
|
5
|
+
"filename" : "LaunchScreen-AspectFill.png",
|
|
6
|
+
"scale" : "1x"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"idiom" : "universal",
|
|
10
|
+
"filename" : "LaunchScreen-AspectFill@2x.png",
|
|
11
|
+
"scale" : "2x"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"idiom" : "universal",
|
|
15
|
+
"filename" : "LaunchScreen-AspectFill@3x.png",
|
|
16
|
+
"scale" : "3x"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"info" : {
|
|
20
|
+
"version" : 1,
|
|
21
|
+
"author" : "xcode"
|
|
22
|
+
}
|
|
23
|
+
}
|
|
Binary file
|
|
Binary file
|