create-nativue 0.13.0 → 0.14.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/README.md +2 -2
- package/index.mjs +6 -6
- package/package.json +1 -1
- package/template/gitignore +5 -10
- package/template/nativue.config.ts +10 -0
- package/template/android/app/build.gradle.kts +0 -25
- package/template/android/app/src/debug/AndroidManifest.xml +0 -4
- package/template/android/app/src/main/AndroidManifest.xml +0 -26
- package/template/android/app/src/main/java/MainActivity.kt +0 -5
- package/template/android/app/src/main/res/drawable-night-xxxhdpi/splash_logo.png +0 -0
- package/template/android/app/src/main/res/drawable-xxxhdpi/splash_logo.png +0 -0
- package/template/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml +0 -6
- package/template/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +0 -0
- package/template/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png +0 -0
- package/template/android/app/src/main/res/values/colors.xml +0 -4
- package/template/android/app/src/main/res/values/strings.xml +0 -3
- package/template/android/app/src/main/res/values/styles.xml +0 -15
- package/template/android/app/src/main/res/values-night/styles.xml +0 -5
- package/template/android/build.gradle.kts +0 -4
- package/template/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/template/android/gradle/wrapper/gradle-wrapper.properties +0 -9
- package/template/android/gradle.properties +0 -1
- package/template/android/gradlew +0 -248
- package/template/android/gradlew.bat +0 -112
- package/template/android/settings.gradle.kts +0 -21
- package/template/ios/App/App.swift +0 -12
- package/template/ios/App/Assets.xcassets/AppIcon.appiconset/Contents.json +0 -1
- package/template/ios/App/Assets.xcassets/AppIcon.appiconset/icon.png +0 -0
- package/template/ios/App/Assets.xcassets/Contents.json +0 -1
- package/template/ios/App/Assets.xcassets/LaunchBackground.colorset/Contents.json +0 -38
- package/template/ios/App/Assets.xcassets/LaunchLogo.imageset/Contents.json +0 -11
- package/template/ios/App/Assets.xcassets/LaunchLogo.imageset/logo-dark@1x.png +0 -0
- package/template/ios/App/Assets.xcassets/LaunchLogo.imageset/logo-dark@2x.png +0 -0
- package/template/ios/App/Assets.xcassets/LaunchLogo.imageset/logo-dark@3x.png +0 -0
- package/template/ios/App/Assets.xcassets/LaunchLogo.imageset/logo@1x.png +0 -0
- package/template/ios/App/Assets.xcassets/LaunchLogo.imageset/logo@2x.png +0 -0
- package/template/ios/App/Assets.xcassets/LaunchLogo.imageset/logo@3x.png +0 -0
- package/template/ios/App.xcodeproj/project.pbxproj +0 -250
- package/template/ios/App.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +0 -15
- package/template/ios/Info.plist +0 -31
- package/template/ios/NativuePlugins/Package.swift +0 -15
- package/template/ios/NativuePlugins/Sources/NativuePlugins/Plugins.swift +0 -4
package/README.md
CHANGED
|
@@ -10,8 +10,8 @@ npm run ios # or: npm run android
|
|
|
10
10
|
```
|
|
11
11
|
|
|
12
12
|
The app's bundle id defaults to `com.example.myapp`. Set yours with
|
|
13
|
-
`npm create nativue@latest my-app -- --bundle-id com.company.myapp`, or later in
|
|
14
|
-
`android
|
|
13
|
+
`npm create nativue@latest my-app -- --bundle-id com.company.myapp`, or later in `nativue.config.ts`.
|
|
14
|
+
`ios/` and `android/` are generated from that file, the first time you run the app.
|
|
15
15
|
|
|
16
16
|
The new app has a starter screen, TypeScript, and these scripts:
|
|
17
17
|
|
package/index.mjs
CHANGED
|
@@ -8,7 +8,7 @@ import { fileURLToPath } from 'node:url'
|
|
|
8
8
|
import { parseArgs } from 'node:util'
|
|
9
9
|
|
|
10
10
|
const TEMPLATE_DIRECTORY = fileURLToPath(new URL('./template', import.meta.url))
|
|
11
|
-
const TEXT_FILE = /(\.(json|vue|ts|
|
|
11
|
+
const TEXT_FILE = /(\.(json|vue|ts|md)|gitignore)$/
|
|
12
12
|
// Also the Android package and applicationId, which can't have hyphens.
|
|
13
13
|
const BUNDLE_ID = /^[a-zA-Z][a-zA-Z0-9_]*(\.[a-zA-Z][a-zA-Z0-9_]*)+$/
|
|
14
14
|
const { version } = JSON.parse(readFileSync(new URL('./package.json', import.meta.url), 'utf8'))
|
|
@@ -72,8 +72,8 @@ if (/\s/.test(projectName)) {
|
|
|
72
72
|
const projectDirectory = resolve(projectName)
|
|
73
73
|
const projectPath = relative(process.cwd(), projectDirectory) || '.'
|
|
74
74
|
const slug = slugify(basename(projectDirectory))
|
|
75
|
-
// Bundle ids and URL schemes allow neither dashes nor underscores here.
|
|
76
|
-
const urlScheme = slug.replace(/[-_]/g, '')
|
|
75
|
+
// Bundle ids and URL schemes allow neither dashes nor underscores here, and start with a letter.
|
|
76
|
+
const urlScheme = slug.replace(/[-_]/g, '').replace(/^(?=\d)/, 'app')
|
|
77
77
|
const bundleId = options['bundle-id'] ?? `com.example.${urlScheme}`
|
|
78
78
|
|
|
79
79
|
if (!slug) fail('The project name needs at least one letter or digit.')
|
|
@@ -101,8 +101,8 @@ Created ${displayNameOf(slug)} in ${projectPath}
|
|
|
101
101
|
npm run ios or npm run android: opens the app on a simulator or emulator, then
|
|
102
102
|
keeps running, rebuilding and reloading the app on save
|
|
103
103
|
|
|
104
|
-
On your phone: open ios/App.xcodeproj in Xcode, or the android folder
|
|
105
|
-
press Run, with npm run dev running
|
|
104
|
+
On your phone: run npx nativue prebuild, open ios/App.xcodeproj in Xcode, or the android folder
|
|
105
|
+
in Android Studio, and press Run, with npm run dev running
|
|
106
106
|
|
|
107
|
-
Bundle id: ${bundleId} (set it with --bundle-id, or later in
|
|
107
|
+
Bundle id: ${bundleId} (set it with --bundle-id, or later in nativue.config.ts)
|
|
108
108
|
`)
|
package/package.json
CHANGED
package/template/gitignore
CHANGED
|
@@ -1,12 +1,7 @@
|
|
|
1
1
|
node_modules
|
|
2
|
-
ios/build
|
|
3
|
-
ios/App/main.bundle.js
|
|
4
2
|
.DS_Store
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
android
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
android/app/build
|
|
11
|
-
android/app/src/main/assets/main.bundle.js
|
|
12
|
-
android/local.properties
|
|
3
|
+
# Generated from nativue.config.ts by nativue prebuild
|
|
4
|
+
/ios/
|
|
5
|
+
/android/
|
|
6
|
+
# Signing keys: never committed
|
|
7
|
+
/credentials/
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { defineConfig } from '@nativue/core/config'
|
|
2
|
+
|
|
3
|
+
// The app: nativue generates ios/ and android/ from it (npx nativue prebuild, also run by dev,
|
|
4
|
+
// build and run). Edit this file, not those folders.
|
|
5
|
+
export default defineConfig({
|
|
6
|
+
name: '__DISPLAY_NAME__',
|
|
7
|
+
scheme: '__URL_SCHEME__',
|
|
8
|
+
ios: { bundleIdentifier: '__BUNDLE_ID__' },
|
|
9
|
+
android: { package: '__BUNDLE_ID__' },
|
|
10
|
+
})
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
plugins {
|
|
2
|
-
id("com.android.application")
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
android {
|
|
6
|
-
namespace = "__BUNDLE_ID__"
|
|
7
|
-
compileSdk = 37
|
|
8
|
-
|
|
9
|
-
defaultConfig {
|
|
10
|
-
applicationId = "__BUNDLE_ID__"
|
|
11
|
-
minSdk = 24
|
|
12
|
-
targetSdk = 36
|
|
13
|
-
versionCode = 1
|
|
14
|
-
versionName = "1.0"
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
compileOptions {
|
|
18
|
-
sourceCompatibility = JavaVersion.VERSION_17
|
|
19
|
-
targetCompatibility = JavaVersion.VERSION_17
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
dependencies {
|
|
24
|
-
implementation(project(":nativue"))
|
|
25
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
|
2
|
-
|
|
3
|
-
<application
|
|
4
|
-
android:icon="@mipmap/ic_launcher"
|
|
5
|
-
android:label="@string/app_name"
|
|
6
|
-
android:theme="@style/AppTheme">
|
|
7
|
-
|
|
8
|
-
<activity
|
|
9
|
-
android:name=".MainActivity"
|
|
10
|
-
android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout|keyboard|keyboardHidden|uiMode|fontScale|locale|layoutDirection"
|
|
11
|
-
android:exported="true"
|
|
12
|
-
android:launchMode="singleTask"
|
|
13
|
-
android:windowSoftInputMode="adjustResize">
|
|
14
|
-
<intent-filter>
|
|
15
|
-
<action android:name="android.intent.action.MAIN" />
|
|
16
|
-
<category android:name="android.intent.category.LAUNCHER" />
|
|
17
|
-
</intent-filter>
|
|
18
|
-
<intent-filter>
|
|
19
|
-
<action android:name="android.intent.action.VIEW" />
|
|
20
|
-
<category android:name="android.intent.category.DEFAULT" />
|
|
21
|
-
<category android:name="android.intent.category.BROWSABLE" />
|
|
22
|
-
<data android:scheme="__URL_SCHEME__" />
|
|
23
|
-
</intent-filter>
|
|
24
|
-
</activity>
|
|
25
|
-
</application>
|
|
26
|
-
</manifest>
|
|
Binary file
|
|
Binary file
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
|
3
|
-
<background android:drawable="@color/ic_launcher_background" />
|
|
4
|
-
<foreground android:drawable="@mipmap/ic_launcher_foreground" />
|
|
5
|
-
<monochrome android:drawable="@mipmap/ic_launcher_foreground" />
|
|
6
|
-
</adaptive-icon>
|
|
Binary file
|
|
Binary file
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
<resources xmlns:tools="http://schemas.android.com/tools">
|
|
2
|
-
<!-- Light or dark with the system: values-night/styles.xml has the dark ones. -->
|
|
3
|
-
<style name="AppTheme.Base" parent="@android:style/Theme.Material.Light.NoActionBar" />
|
|
4
|
-
<bool name="light_system_bars">true</bool>
|
|
5
|
-
<color name="splash_background">#FFFFFF</color>
|
|
6
|
-
|
|
7
|
-
<!-- Status and navigation bar icons that contrast with the screens. The splash screen (Android
|
|
8
|
-
12+) matches the iOS launch screen: the logo, 120dp, on white, or on ink in dark mode. -->
|
|
9
|
-
<style name="AppTheme" parent="AppTheme.Base">
|
|
10
|
-
<item name="android:windowLightStatusBar">@bool/light_system_bars</item>
|
|
11
|
-
<item name="android:windowLightNavigationBar" tools:targetApi="27">@bool/light_system_bars</item>
|
|
12
|
-
<item name="android:windowSplashScreenBackground" tools:targetApi="31">@color/splash_background</item>
|
|
13
|
-
<item name="android:windowSplashScreenAnimatedIcon" tools:targetApi="31">@drawable/splash_logo</item>
|
|
14
|
-
</style>
|
|
15
|
-
</resources>
|
|
Binary file
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
distributionBase=GRADLE_USER_HOME
|
|
2
|
-
distributionPath=wrapper/dists
|
|
3
|
-
distributionUrl=https\://services.gradle.org/distributions/gradle-9.9.1-bin.zip
|
|
4
|
-
networkTimeout=10000
|
|
5
|
-
retries=0
|
|
6
|
-
retryBackOffMs=500
|
|
7
|
-
validateDistributionUrl=true
|
|
8
|
-
zipStoreBase=GRADLE_USER_HOME
|
|
9
|
-
zipStorePath=wrapper/dists
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
org.gradle.jvmargs=-Xmx4g -Dfile.encoding=UTF-8
|
package/template/android/gradlew
DELETED
|
@@ -1,248 +0,0 @@
|
|
|
1
|
-
#!/bin/sh
|
|
2
|
-
|
|
3
|
-
#
|
|
4
|
-
# Copyright © 2015 the original authors.
|
|
5
|
-
#
|
|
6
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
-
# you may not use this file except in compliance with the License.
|
|
8
|
-
# You may obtain a copy of the License at
|
|
9
|
-
#
|
|
10
|
-
# https://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
-
#
|
|
12
|
-
# Unless required by applicable law or agreed to in writing, software
|
|
13
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
-
# See the License for the specific language governing permissions and
|
|
16
|
-
# limitations under the License.
|
|
17
|
-
#
|
|
18
|
-
# SPDX-License-Identifier: Apache-2.0
|
|
19
|
-
#
|
|
20
|
-
|
|
21
|
-
##############################################################################
|
|
22
|
-
#
|
|
23
|
-
# gradlew start up script for POSIX generated by Gradle.
|
|
24
|
-
#
|
|
25
|
-
# Important for running:
|
|
26
|
-
#
|
|
27
|
-
# (1) You need a POSIX-compliant shell to run this script. If your /bin/sh is
|
|
28
|
-
# noncompliant, but you have some other compliant shell such as ksh or
|
|
29
|
-
# bash, then to run this script, type that shell name before the whole
|
|
30
|
-
# command line, like:
|
|
31
|
-
#
|
|
32
|
-
# ksh gradlew
|
|
33
|
-
#
|
|
34
|
-
# Busybox and similar reduced shells will NOT work, because this script
|
|
35
|
-
# requires all of these POSIX shell features:
|
|
36
|
-
# * functions;
|
|
37
|
-
# * expansions «$var», «${var}», «${var:-default}», «${var+SET}»,
|
|
38
|
-
# «${var#prefix}», «${var%suffix}», and «$( cmd )»;
|
|
39
|
-
# * compound commands having a testable exit status, especially «case»;
|
|
40
|
-
# * various built-in commands including «command», «set», and «ulimit».
|
|
41
|
-
#
|
|
42
|
-
# Important for patching:
|
|
43
|
-
#
|
|
44
|
-
# (2) This script targets any POSIX shell, so it avoids extensions provided
|
|
45
|
-
# by Bash, Ksh, etc; in particular arrays are avoided.
|
|
46
|
-
#
|
|
47
|
-
# The "traditional" practice of packing multiple parameters into a
|
|
48
|
-
# space-separated string is a well documented source of bugs and security
|
|
49
|
-
# problems, so this is (mostly) avoided, by progressively accumulating
|
|
50
|
-
# options in "$@", and eventually passing that to Java.
|
|
51
|
-
#
|
|
52
|
-
# Where the inherited environment variables (DEFAULT_JVM_OPTS, JAVA_OPTS,
|
|
53
|
-
# and GRADLE_OPTS) rely on word-splitting, this is performed explicitly;
|
|
54
|
-
# see the in-line comments for details.
|
|
55
|
-
#
|
|
56
|
-
# There are tweaks for specific operating systems such as AIX, CygWin,
|
|
57
|
-
# Darwin, MinGW, and NonStop.
|
|
58
|
-
#
|
|
59
|
-
# (3) This script is generated from the Groovy template
|
|
60
|
-
# https://github.com/gradle/gradle/blob/3d91ce3b8caaf77ad09f381f43615b715b53f72c/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
|
|
61
|
-
# within the Gradle project.
|
|
62
|
-
#
|
|
63
|
-
# You can find Gradle at https://github.com/gradle/gradle/.
|
|
64
|
-
#
|
|
65
|
-
##############################################################################
|
|
66
|
-
|
|
67
|
-
# Attempt to set APP_HOME
|
|
68
|
-
|
|
69
|
-
# Resolve links: $0 may be a link
|
|
70
|
-
app_path=$0
|
|
71
|
-
|
|
72
|
-
# Need this for daisy-chained symlinks.
|
|
73
|
-
while
|
|
74
|
-
APP_HOME=${app_path%"${app_path##*/}"} # leaves a trailing /; empty if no leading path
|
|
75
|
-
[ -h "$app_path" ]
|
|
76
|
-
do
|
|
77
|
-
ls=$( ls -ld "$app_path" )
|
|
78
|
-
link=${ls#*' -> '}
|
|
79
|
-
case $link in #(
|
|
80
|
-
/*) app_path=$link ;; #(
|
|
81
|
-
*) app_path=$APP_HOME$link ;;
|
|
82
|
-
esac
|
|
83
|
-
done
|
|
84
|
-
|
|
85
|
-
# This is normally unused
|
|
86
|
-
# shellcheck disable=SC2034
|
|
87
|
-
APP_BASE_NAME=${0##*/}
|
|
88
|
-
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
|
|
89
|
-
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit
|
|
90
|
-
|
|
91
|
-
# Use the maximum available, or set MAX_FD != -1 to use that value.
|
|
92
|
-
MAX_FD=maximum
|
|
93
|
-
|
|
94
|
-
warn () {
|
|
95
|
-
echo "$*"
|
|
96
|
-
} >&2
|
|
97
|
-
|
|
98
|
-
die () {
|
|
99
|
-
echo
|
|
100
|
-
echo "$*"
|
|
101
|
-
echo
|
|
102
|
-
exit 1
|
|
103
|
-
} >&2
|
|
104
|
-
|
|
105
|
-
# OS specific support (must be 'true' or 'false').
|
|
106
|
-
cygwin=false
|
|
107
|
-
msys=false
|
|
108
|
-
darwin=false
|
|
109
|
-
nonstop=false
|
|
110
|
-
case "$( uname )" in #(
|
|
111
|
-
CYGWIN* ) cygwin=true ;; #(
|
|
112
|
-
Darwin* ) darwin=true ;; #(
|
|
113
|
-
MSYS* | MINGW* ) msys=true ;; #(
|
|
114
|
-
NONSTOP* ) nonstop=true ;;
|
|
115
|
-
esac
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
# Determine the Java command to use to start the JVM.
|
|
120
|
-
if [ -n "$JAVA_HOME" ] ; then
|
|
121
|
-
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
|
|
122
|
-
# IBM's JDK on AIX uses strange locations for the executables
|
|
123
|
-
JAVACMD=$JAVA_HOME/jre/sh/java
|
|
124
|
-
else
|
|
125
|
-
JAVACMD=$JAVA_HOME/bin/java
|
|
126
|
-
fi
|
|
127
|
-
if [ ! -x "$JAVACMD" ] ; then
|
|
128
|
-
die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
|
|
129
|
-
|
|
130
|
-
Please set the JAVA_HOME variable in your environment to match the
|
|
131
|
-
location of your Java installation."
|
|
132
|
-
fi
|
|
133
|
-
else
|
|
134
|
-
JAVACMD=java
|
|
135
|
-
if ! command -v java >/dev/null 2>&1
|
|
136
|
-
then
|
|
137
|
-
die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
|
138
|
-
|
|
139
|
-
Please set the JAVA_HOME variable in your environment to match the
|
|
140
|
-
location of your Java installation."
|
|
141
|
-
fi
|
|
142
|
-
fi
|
|
143
|
-
|
|
144
|
-
# Increase the maximum file descriptors if we can.
|
|
145
|
-
if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
|
|
146
|
-
case $MAX_FD in #(
|
|
147
|
-
max*)
|
|
148
|
-
# In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
|
|
149
|
-
# shellcheck disable=SC2039,SC3045
|
|
150
|
-
MAX_FD=$( ulimit -H -n ) ||
|
|
151
|
-
warn "Could not query maximum file descriptor limit"
|
|
152
|
-
esac
|
|
153
|
-
case $MAX_FD in #(
|
|
154
|
-
'' | soft) :;; #(
|
|
155
|
-
*)
|
|
156
|
-
# In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
|
|
157
|
-
# shellcheck disable=SC2039,SC3045
|
|
158
|
-
ulimit -n "$MAX_FD" ||
|
|
159
|
-
warn "Could not set maximum file descriptor limit to $MAX_FD"
|
|
160
|
-
esac
|
|
161
|
-
fi
|
|
162
|
-
|
|
163
|
-
# Collect all arguments for the java command, stacking in reverse order:
|
|
164
|
-
# * args from the command line
|
|
165
|
-
# * the main class name
|
|
166
|
-
# * -classpath
|
|
167
|
-
# * -D...appname settings
|
|
168
|
-
# * --module-path (only if needed)
|
|
169
|
-
# * DEFAULT_JVM_OPTS, JAVA_OPTS, and GRADLE_OPTS environment variables.
|
|
170
|
-
|
|
171
|
-
# For Cygwin or MSYS, switch paths to Windows format before running java
|
|
172
|
-
if "$cygwin" || "$msys" ; then
|
|
173
|
-
APP_HOME=$( cygpath --path --mixed "$APP_HOME" )
|
|
174
|
-
|
|
175
|
-
JAVACMD=$( cygpath --unix "$JAVACMD" )
|
|
176
|
-
|
|
177
|
-
# Now convert the arguments - kludge to limit ourselves to /bin/sh
|
|
178
|
-
for arg do
|
|
179
|
-
if
|
|
180
|
-
case $arg in #(
|
|
181
|
-
-*) false ;; # don't mess with options #(
|
|
182
|
-
/?*) t=${arg#/} t=/${t%%/*} # looks like a POSIX filepath
|
|
183
|
-
[ -e "$t" ] ;; #(
|
|
184
|
-
*) false ;;
|
|
185
|
-
esac
|
|
186
|
-
then
|
|
187
|
-
arg=$( cygpath --path --ignore --mixed "$arg" )
|
|
188
|
-
fi
|
|
189
|
-
# Roll the args list around exactly as many times as the number of
|
|
190
|
-
# args, so each arg winds up back in the position where it started, but
|
|
191
|
-
# possibly modified.
|
|
192
|
-
#
|
|
193
|
-
# NB: a `for` loop captures its iteration list before it begins, so
|
|
194
|
-
# changing the positional parameters here affects neither the number of
|
|
195
|
-
# iterations, nor the values presented in `arg`.
|
|
196
|
-
shift # remove old arg
|
|
197
|
-
set -- "$@" "$arg" # push replacement arg
|
|
198
|
-
done
|
|
199
|
-
fi
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
|
203
|
-
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
|
|
204
|
-
|
|
205
|
-
# Collect all arguments for the java command:
|
|
206
|
-
# * DEFAULT_JVM_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
|
|
207
|
-
# and any embedded shellness will be escaped.
|
|
208
|
-
# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
|
|
209
|
-
# treated as '${Hostname}' itself on the command line.
|
|
210
|
-
|
|
211
|
-
set -- \
|
|
212
|
-
"-Dorg.gradle.appname=$APP_BASE_NAME" \
|
|
213
|
-
-jar "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" \
|
|
214
|
-
"$@"
|
|
215
|
-
|
|
216
|
-
# Stop when "xargs" is not available.
|
|
217
|
-
if ! command -v xargs >/dev/null 2>&1
|
|
218
|
-
then
|
|
219
|
-
die "xargs is not available"
|
|
220
|
-
fi
|
|
221
|
-
|
|
222
|
-
# Use "xargs" to parse quoted args.
|
|
223
|
-
#
|
|
224
|
-
# With -n1 it outputs one arg per line, with the quotes and backslashes removed.
|
|
225
|
-
#
|
|
226
|
-
# In Bash we could simply go:
|
|
227
|
-
#
|
|
228
|
-
# readarray ARGS < <( xargs -n1 <<<"$var" ) &&
|
|
229
|
-
# set -- "${ARGS[@]}" "$@"
|
|
230
|
-
#
|
|
231
|
-
# but POSIX shell has neither arrays nor command substitution, so instead we
|
|
232
|
-
# post-process each arg (as a line of input to sed) to backslash-escape any
|
|
233
|
-
# character that might be a shell metacharacter, then use eval to reverse
|
|
234
|
-
# that process (while maintaining the separation between arguments), and wrap
|
|
235
|
-
# the whole thing up as a single "set" statement.
|
|
236
|
-
#
|
|
237
|
-
# This will of course break if any of these variables contains a newline or
|
|
238
|
-
# an unmatched quote.
|
|
239
|
-
#
|
|
240
|
-
|
|
241
|
-
eval "set -- $(
|
|
242
|
-
printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" |
|
|
243
|
-
xargs -n1 |
|
|
244
|
-
sed ' s~[^-[:alnum:]+,./:=@_]~\\&~g; ' |
|
|
245
|
-
tr '\n' ' '
|
|
246
|
-
)" '"$@"'
|
|
247
|
-
|
|
248
|
-
exec "$JAVACMD" "$@"
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
@rem
|
|
2
|
-
@rem Copyright 2015 the original author or authors.
|
|
3
|
-
@rem
|
|
4
|
-
@rem Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
@rem you may not use this file except in compliance with the License.
|
|
6
|
-
@rem You may obtain a copy of the License at
|
|
7
|
-
@rem
|
|
8
|
-
@rem https://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
@rem
|
|
10
|
-
@rem Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
@rem distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
@rem See the License for the specific language governing permissions and
|
|
14
|
-
@rem limitations under the License.
|
|
15
|
-
@rem
|
|
16
|
-
@rem SPDX-License-Identifier: Apache-2.0
|
|
17
|
-
@rem
|
|
18
|
-
|
|
19
|
-
@if "%DEBUG%"=="" @echo off
|
|
20
|
-
@rem ##########################################################################
|
|
21
|
-
@rem
|
|
22
|
-
@rem gradlew startup script for Windows
|
|
23
|
-
@rem
|
|
24
|
-
@rem ##########################################################################
|
|
25
|
-
|
|
26
|
-
@rem Set local scope for the variables, and ensure extensions are enabled
|
|
27
|
-
setlocal EnableExtensions
|
|
28
|
-
|
|
29
|
-
@rem Catch executions from older scripts and ensure they exit cleanly.
|
|
30
|
-
@rem This can be removed once we can be reasonably confident that few people
|
|
31
|
-
@rem will be migrating directly to this new wrapper.
|
|
32
|
-
goto afterSafetyNet
|
|
33
|
-
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
|
|
34
|
-
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
|
|
35
|
-
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
|
|
36
|
-
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
|
|
37
|
-
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
|
|
38
|
-
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
|
|
39
|
-
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
|
|
40
|
-
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
|
|
41
|
-
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
|
|
42
|
-
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
|
|
43
|
-
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
|
|
44
|
-
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
|
|
45
|
-
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
|
|
46
|
-
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
|
|
47
|
-
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
|
|
48
|
-
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
|
|
49
|
-
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
|
|
50
|
-
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
|
|
51
|
-
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
|
|
52
|
-
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
|
|
53
|
-
goto exitWithErrorLevel
|
|
54
|
-
:afterSafetyNet
|
|
55
|
-
|
|
56
|
-
set DIRNAME=%~dp0
|
|
57
|
-
if "%DIRNAME%"=="" set DIRNAME=.
|
|
58
|
-
@rem This is normally unused
|
|
59
|
-
set APP_BASE_NAME=%~n0
|
|
60
|
-
set APP_HOME=%DIRNAME%
|
|
61
|
-
|
|
62
|
-
@rem Resolve any "." and ".." in APP_HOME to make it shorter.
|
|
63
|
-
for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
|
|
64
|
-
|
|
65
|
-
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
|
66
|
-
set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
|
|
67
|
-
|
|
68
|
-
@rem Find java.exe
|
|
69
|
-
if defined JAVA_HOME goto findJavaFromJavaHome
|
|
70
|
-
|
|
71
|
-
set JAVA_EXE=java.exe
|
|
72
|
-
%JAVA_EXE% -version >NUL 2>&1
|
|
73
|
-
if %ERRORLEVEL% equ 0 goto execute
|
|
74
|
-
|
|
75
|
-
1>&2 echo.
|
|
76
|
-
1>&2 echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
|
77
|
-
1>&2 echo.
|
|
78
|
-
1>&2 echo Please set the JAVA_HOME variable in your environment to match the
|
|
79
|
-
1>&2 echo location of your Java installation.
|
|
80
|
-
|
|
81
|
-
"%COMSPEC%" /c exit 1
|
|
82
|
-
goto exitWithErrorLevel
|
|
83
|
-
|
|
84
|
-
:findJavaFromJavaHome
|
|
85
|
-
set JAVA_HOME=%JAVA_HOME:"=%
|
|
86
|
-
set JAVA_EXE=%JAVA_HOME%/bin/java.exe
|
|
87
|
-
|
|
88
|
-
if exist "%JAVA_EXE%" goto execute
|
|
89
|
-
|
|
90
|
-
1>&2 echo.
|
|
91
|
-
1>&2 echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
|
|
92
|
-
1>&2 echo.
|
|
93
|
-
1>&2 echo Please set the JAVA_HOME variable in your environment to match the
|
|
94
|
-
1>&2 echo location of your Java installation.
|
|
95
|
-
|
|
96
|
-
"%COMSPEC%" /c exit 1
|
|
97
|
-
goto exitWithErrorLevel
|
|
98
|
-
|
|
99
|
-
:execute
|
|
100
|
-
@rem Setup the command line
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
@rem Execute gradlew
|
|
105
|
-
@rem endlocal doesn't take effect until after the line is parsed and variables are expanded
|
|
106
|
-
@rem which allows us to clear the local environment before executing the java command
|
|
107
|
-
endlocal & "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %* & call :exitWithErrorLevel & goto exitWithErrorLevel
|
|
108
|
-
|
|
109
|
-
@rem This label must not be changed. We rely on old scripts being able to jump to this point.
|
|
110
|
-
:exitWithErrorLevel
|
|
111
|
-
@rem Use "%COMSPEC%" /c exit to allow operators to work properly in scripts
|
|
112
|
-
"%COMSPEC%" /c exit %ERRORLEVEL%
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
pluginManagement {
|
|
2
|
-
repositories {
|
|
3
|
-
google()
|
|
4
|
-
mavenCentral()
|
|
5
|
-
gradlePluginPortal()
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
dependencyResolutionManagement {
|
|
10
|
-
repositories {
|
|
11
|
-
google()
|
|
12
|
-
mavenCentral()
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
rootProject.name = "__DISPLAY_NAME__"
|
|
17
|
-
include(":app")
|
|
18
|
-
include(":nativue")
|
|
19
|
-
project(":nativue").projectDir = file("../node_modules/@nativue/core/android")
|
|
20
|
-
// The Android side of the app's packages (see the file)
|
|
21
|
-
apply(from = "../node_modules/@nativue/core/android/nativue.settings.gradle.kts")
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import SwiftUI
|
|
2
|
-
// NativuePlugins: nativue and the native side of the app's packages (generated by the nativue CLI)
|
|
3
|
-
import NativuePlugins
|
|
4
|
-
|
|
5
|
-
@main
|
|
6
|
-
struct MainApp: App {
|
|
7
|
-
var body: some Scene {
|
|
8
|
-
WindowGroup {
|
|
9
|
-
NativueView(plugins: nativuePlugins)
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"images":[{"filename":"icon.png","idiom":"universal","platform":"ios","size":"1024x1024"}],"info":{"author":"xcode","version":1}}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"info":{"author":"xcode","version":1}}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"colors": [
|
|
3
|
-
{
|
|
4
|
-
"color": {
|
|
5
|
-
"color-space": "srgb",
|
|
6
|
-
"components": {
|
|
7
|
-
"red": "1.000",
|
|
8
|
-
"green": "1.000",
|
|
9
|
-
"blue": "1.000",
|
|
10
|
-
"alpha": "1.000"
|
|
11
|
-
}
|
|
12
|
-
},
|
|
13
|
-
"idiom": "universal"
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
"appearances": [
|
|
17
|
-
{
|
|
18
|
-
"appearance": "luminosity",
|
|
19
|
-
"value": "dark"
|
|
20
|
-
}
|
|
21
|
-
],
|
|
22
|
-
"color": {
|
|
23
|
-
"color-space": "srgb",
|
|
24
|
-
"components": {
|
|
25
|
-
"red": "0.043",
|
|
26
|
-
"green": "0.071",
|
|
27
|
-
"blue": "0.125",
|
|
28
|
-
"alpha": "1.000"
|
|
29
|
-
}
|
|
30
|
-
},
|
|
31
|
-
"idiom": "universal"
|
|
32
|
-
}
|
|
33
|
-
],
|
|
34
|
-
"info": {
|
|
35
|
-
"author": "xcode",
|
|
36
|
-
"version": 1
|
|
37
|
-
}
|
|
38
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"images" : [
|
|
3
|
-
{ "filename" : "logo@1x.png", "idiom" : "universal", "scale" : "1x" },
|
|
4
|
-
{ "appearances" : [ { "appearance" : "luminosity", "value" : "dark" } ], "filename" : "logo-dark@1x.png", "idiom" : "universal", "scale" : "1x" },
|
|
5
|
-
{ "filename" : "logo@2x.png", "idiom" : "universal", "scale" : "2x" },
|
|
6
|
-
{ "appearances" : [ { "appearance" : "luminosity", "value" : "dark" } ], "filename" : "logo-dark@2x.png", "idiom" : "universal", "scale" : "2x" },
|
|
7
|
-
{ "filename" : "logo@3x.png", "idiom" : "universal", "scale" : "3x" },
|
|
8
|
-
{ "appearances" : [ { "appearance" : "luminosity", "value" : "dark" } ], "filename" : "logo-dark@3x.png", "idiom" : "universal", "scale" : "3x" }
|
|
9
|
-
],
|
|
10
|
-
"info" : { "author" : "xcode", "version" : 1 }
|
|
11
|
-
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,250 +0,0 @@
|
|
|
1
|
-
// !$*UTF8*$!
|
|
2
|
-
{
|
|
3
|
-
archiveVersion = 1;
|
|
4
|
-
classes = {
|
|
5
|
-
};
|
|
6
|
-
objectVersion = 77;
|
|
7
|
-
objects = {
|
|
8
|
-
|
|
9
|
-
/* Begin PBXBuildFile section */
|
|
10
|
-
AA0000000000000000000010 /* NativuePlugins in Frameworks */ = {isa = PBXBuildFile; productRef = AA0000000000000000000012 /* NativuePlugins */; };
|
|
11
|
-
/* End PBXBuildFile section */
|
|
12
|
-
|
|
13
|
-
/* Begin PBXFileReference section */
|
|
14
|
-
AA0000000000000000000001 /* App.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = App.app; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
15
|
-
/* End PBXFileReference section */
|
|
16
|
-
|
|
17
|
-
/* Begin PBXFileSystemSynchronizedRootGroup section */
|
|
18
|
-
AA0000000000000000000002 /* App */ = {
|
|
19
|
-
isa = PBXFileSystemSynchronizedRootGroup;
|
|
20
|
-
path = App;
|
|
21
|
-
sourceTree = "<group>";
|
|
22
|
-
};
|
|
23
|
-
/* End PBXFileSystemSynchronizedRootGroup section */
|
|
24
|
-
|
|
25
|
-
/* Begin PBXFrameworksBuildPhase section */
|
|
26
|
-
AA0000000000000000000003 /* Frameworks */ = {
|
|
27
|
-
isa = PBXFrameworksBuildPhase;
|
|
28
|
-
buildActionMask = 2147483647;
|
|
29
|
-
files = (
|
|
30
|
-
AA0000000000000000000010 /* NativuePlugins in Frameworks */,
|
|
31
|
-
);
|
|
32
|
-
runOnlyForDeploymentPostprocessing = 0;
|
|
33
|
-
};
|
|
34
|
-
/* End PBXFrameworksBuildPhase section */
|
|
35
|
-
|
|
36
|
-
/* Begin PBXGroup section */
|
|
37
|
-
AA0000000000000000000004 = {
|
|
38
|
-
isa = PBXGroup;
|
|
39
|
-
children = (
|
|
40
|
-
AA0000000000000000000002 /* App */,
|
|
41
|
-
AA0000000000000000000005 /* Products */,
|
|
42
|
-
);
|
|
43
|
-
sourceTree = "<group>";
|
|
44
|
-
};
|
|
45
|
-
AA0000000000000000000005 /* Products */ = {
|
|
46
|
-
isa = PBXGroup;
|
|
47
|
-
children = (
|
|
48
|
-
AA0000000000000000000001 /* App.app */,
|
|
49
|
-
);
|
|
50
|
-
name = Products;
|
|
51
|
-
sourceTree = "<group>";
|
|
52
|
-
};
|
|
53
|
-
/* End PBXGroup section */
|
|
54
|
-
|
|
55
|
-
/* Begin PBXNativeTarget section */
|
|
56
|
-
AA0000000000000000000006 /* App */ = {
|
|
57
|
-
isa = PBXNativeTarget;
|
|
58
|
-
buildConfigurationList = AA000000000000000000000A /* Build configuration list for PBXNativeTarget "App" */;
|
|
59
|
-
buildPhases = (
|
|
60
|
-
AA0000000000000000000007 /* Sources */,
|
|
61
|
-
AA0000000000000000000003 /* Frameworks */,
|
|
62
|
-
AA0000000000000000000008 /* Resources */,
|
|
63
|
-
AA0000000000000000000020 /* Write Dev Server Host */,
|
|
64
|
-
);
|
|
65
|
-
buildRules = (
|
|
66
|
-
);
|
|
67
|
-
dependencies = (
|
|
68
|
-
);
|
|
69
|
-
fileSystemSynchronizedGroups = (
|
|
70
|
-
AA0000000000000000000002 /* App */,
|
|
71
|
-
);
|
|
72
|
-
name = App;
|
|
73
|
-
packageProductDependencies = (
|
|
74
|
-
AA0000000000000000000012 /* NativuePlugins */,
|
|
75
|
-
);
|
|
76
|
-
productName = App;
|
|
77
|
-
productReference = AA0000000000000000000001 /* App.app */;
|
|
78
|
-
productType = "com.apple.product-type.application";
|
|
79
|
-
};
|
|
80
|
-
/* End PBXNativeTarget section */
|
|
81
|
-
|
|
82
|
-
/* Begin PBXProject section */
|
|
83
|
-
AA0000000000000000000009 /* Project object */ = {
|
|
84
|
-
isa = PBXProject;
|
|
85
|
-
attributes = {
|
|
86
|
-
BuildIndependentTargetsInParallel = 1;
|
|
87
|
-
LastSwiftUpdateCheck = 1600;
|
|
88
|
-
LastUpgradeCheck = 1600;
|
|
89
|
-
};
|
|
90
|
-
buildConfigurationList = AA000000000000000000000B /* Build configuration list for PBXProject "App" */;
|
|
91
|
-
developmentRegion = en;
|
|
92
|
-
hasScannedForEncodings = 0;
|
|
93
|
-
knownRegions = (
|
|
94
|
-
en,
|
|
95
|
-
Base,
|
|
96
|
-
);
|
|
97
|
-
mainGroup = AA0000000000000000000004;
|
|
98
|
-
minimizedProjectReferenceProxies = 1;
|
|
99
|
-
packageReferences = (
|
|
100
|
-
AA0000000000000000000011 /* XCLocalSwiftPackageReference "NativuePlugins" */,
|
|
101
|
-
);
|
|
102
|
-
preferredProjectObjectVersion = 77;
|
|
103
|
-
productRefGroup = AA0000000000000000000005 /* Products */;
|
|
104
|
-
projectDirPath = "";
|
|
105
|
-
projectRoot = "";
|
|
106
|
-
targets = (
|
|
107
|
-
AA0000000000000000000006 /* App */,
|
|
108
|
-
);
|
|
109
|
-
};
|
|
110
|
-
/* End PBXProject section */
|
|
111
|
-
|
|
112
|
-
/* Begin PBXResourcesBuildPhase section */
|
|
113
|
-
AA0000000000000000000008 /* Resources */ = {
|
|
114
|
-
isa = PBXResourcesBuildPhase;
|
|
115
|
-
buildActionMask = 2147483647;
|
|
116
|
-
files = (
|
|
117
|
-
);
|
|
118
|
-
runOnlyForDeploymentPostprocessing = 0;
|
|
119
|
-
};
|
|
120
|
-
/* End PBXResourcesBuildPhase section */
|
|
121
|
-
|
|
122
|
-
/* Begin PBXShellScriptBuildPhase section */
|
|
123
|
-
AA0000000000000000000020 /* Write Dev Server Host */ = {
|
|
124
|
-
isa = PBXShellScriptBuildPhase;
|
|
125
|
-
alwaysOutOfDate = 1;
|
|
126
|
-
buildActionMask = 2147483647;
|
|
127
|
-
files = (
|
|
128
|
-
);
|
|
129
|
-
inputPaths = (
|
|
130
|
-
);
|
|
131
|
-
name = "Write Dev Server Host";
|
|
132
|
-
outputPaths = (
|
|
133
|
-
"$(TARGET_BUILD_DIR)/$(UNLOCALIZED_RESOURCES_FOLDER_PATH)/dev-server-host.txt",
|
|
134
|
-
);
|
|
135
|
-
runOnlyForDeploymentPostprocessing = 0;
|
|
136
|
-
shellPath = /bin/sh;
|
|
137
|
-
shellScript = "# Lets a physical device reach the dev server on this Mac.\n[ \"$CONFIGURATION\" = \"Debug\" ] || exit 0\necho \"$(scutil --get LocalHostName).local\" > \"$TARGET_BUILD_DIR/$UNLOCALIZED_RESOURCES_FOLDER_PATH/dev-server-host.txt\"\n";
|
|
138
|
-
};
|
|
139
|
-
/* End PBXShellScriptBuildPhase section */
|
|
140
|
-
|
|
141
|
-
/* Begin PBXSourcesBuildPhase section */
|
|
142
|
-
AA0000000000000000000007 /* Sources */ = {
|
|
143
|
-
isa = PBXSourcesBuildPhase;
|
|
144
|
-
buildActionMask = 2147483647;
|
|
145
|
-
files = (
|
|
146
|
-
);
|
|
147
|
-
runOnlyForDeploymentPostprocessing = 0;
|
|
148
|
-
};
|
|
149
|
-
/* End PBXSourcesBuildPhase section */
|
|
150
|
-
|
|
151
|
-
/* Begin XCBuildConfiguration section */
|
|
152
|
-
AA000000000000000000000C /* Debug */ = {
|
|
153
|
-
isa = XCBuildConfiguration;
|
|
154
|
-
buildSettings = {
|
|
155
|
-
ALWAYS_SEARCH_USER_PATHS = NO;
|
|
156
|
-
ENABLE_TESTABILITY = YES;
|
|
157
|
-
IPHONEOS_DEPLOYMENT_TARGET = 15.1;
|
|
158
|
-
ONLY_ACTIVE_ARCH = YES;
|
|
159
|
-
SDKROOT = iphoneos;
|
|
160
|
-
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
|
|
161
|
-
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
|
|
162
|
-
SWIFT_VERSION = 5.0;
|
|
163
|
-
};
|
|
164
|
-
name = Debug;
|
|
165
|
-
};
|
|
166
|
-
AA000000000000000000000D /* Release */ = {
|
|
167
|
-
isa = XCBuildConfiguration;
|
|
168
|
-
buildSettings = {
|
|
169
|
-
ALWAYS_SEARCH_USER_PATHS = NO;
|
|
170
|
-
IPHONEOS_DEPLOYMENT_TARGET = 15.1;
|
|
171
|
-
SDKROOT = iphoneos;
|
|
172
|
-
SWIFT_COMPILATION_MODE = wholemodule;
|
|
173
|
-
SWIFT_VERSION = 5.0;
|
|
174
|
-
VALIDATE_PRODUCT = YES;
|
|
175
|
-
};
|
|
176
|
-
name = Release;
|
|
177
|
-
};
|
|
178
|
-
AA000000000000000000000E /* Debug */ = {
|
|
179
|
-
isa = XCBuildConfiguration;
|
|
180
|
-
buildSettings = {
|
|
181
|
-
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
|
182
|
-
CODE_SIGN_STYLE = Automatic;
|
|
183
|
-
CURRENT_PROJECT_VERSION = 1;
|
|
184
|
-
GENERATE_INFOPLIST_FILE = YES;
|
|
185
|
-
INFOPLIST_FILE = Info.plist;
|
|
186
|
-
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
|
|
187
|
-
INFOPLIST_KEY_CFBundleDisplayName = "__DISPLAY_NAME__";
|
|
188
|
-
MARKETING_VERSION = 0.1;
|
|
189
|
-
PRODUCT_BUNDLE_IDENTIFIER = __BUNDLE_ID__;
|
|
190
|
-
PRODUCT_NAME = "$(TARGET_NAME)";
|
|
191
|
-
TARGETED_DEVICE_FAMILY = "1,2";
|
|
192
|
-
};
|
|
193
|
-
name = Debug;
|
|
194
|
-
};
|
|
195
|
-
AA000000000000000000000F /* Release */ = {
|
|
196
|
-
isa = XCBuildConfiguration;
|
|
197
|
-
buildSettings = {
|
|
198
|
-
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
|
199
|
-
CODE_SIGN_STYLE = Automatic;
|
|
200
|
-
CURRENT_PROJECT_VERSION = 1;
|
|
201
|
-
GENERATE_INFOPLIST_FILE = YES;
|
|
202
|
-
INFOPLIST_FILE = Info.plist;
|
|
203
|
-
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
|
|
204
|
-
INFOPLIST_KEY_CFBundleDisplayName = "__DISPLAY_NAME__";
|
|
205
|
-
MARKETING_VERSION = 0.1;
|
|
206
|
-
PRODUCT_BUNDLE_IDENTIFIER = __BUNDLE_ID__;
|
|
207
|
-
PRODUCT_NAME = "$(TARGET_NAME)";
|
|
208
|
-
TARGETED_DEVICE_FAMILY = "1,2";
|
|
209
|
-
};
|
|
210
|
-
name = Release;
|
|
211
|
-
};
|
|
212
|
-
/* End XCBuildConfiguration section */
|
|
213
|
-
|
|
214
|
-
/* Begin XCConfigurationList section */
|
|
215
|
-
AA000000000000000000000A /* Build configuration list for PBXNativeTarget "App" */ = {
|
|
216
|
-
isa = XCConfigurationList;
|
|
217
|
-
buildConfigurations = (
|
|
218
|
-
AA000000000000000000000E /* Debug */,
|
|
219
|
-
AA000000000000000000000F /* Release */,
|
|
220
|
-
);
|
|
221
|
-
defaultConfigurationIsVisible = 0;
|
|
222
|
-
defaultConfigurationName = Release;
|
|
223
|
-
};
|
|
224
|
-
AA000000000000000000000B /* Build configuration list for PBXProject "App" */ = {
|
|
225
|
-
isa = XCConfigurationList;
|
|
226
|
-
buildConfigurations = (
|
|
227
|
-
AA000000000000000000000C /* Debug */,
|
|
228
|
-
AA000000000000000000000D /* Release */,
|
|
229
|
-
);
|
|
230
|
-
defaultConfigurationIsVisible = 0;
|
|
231
|
-
defaultConfigurationName = Release;
|
|
232
|
-
};
|
|
233
|
-
/* End XCConfigurationList section */
|
|
234
|
-
|
|
235
|
-
/* Begin XCLocalSwiftPackageReference section */
|
|
236
|
-
AA0000000000000000000011 /* XCLocalSwiftPackageReference "NativuePlugins" */ = {
|
|
237
|
-
isa = XCLocalSwiftPackageReference;
|
|
238
|
-
relativePath = NativuePlugins;
|
|
239
|
-
};
|
|
240
|
-
/* End XCLocalSwiftPackageReference section */
|
|
241
|
-
|
|
242
|
-
/* Begin XCSwiftPackageProductDependency section */
|
|
243
|
-
AA0000000000000000000012 /* NativuePlugins */ = {
|
|
244
|
-
isa = XCSwiftPackageProductDependency;
|
|
245
|
-
productName = NativuePlugins;
|
|
246
|
-
};
|
|
247
|
-
/* End XCSwiftPackageProductDependency section */
|
|
248
|
-
};
|
|
249
|
-
rootObject = AA0000000000000000000009 /* Project object */;
|
|
250
|
-
}
|
package/template/ios/App.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"originHash" : "d0f6a42ac8472d8c896bc69aa5954a686b40bbe674bd470a18066363cfb6c067",
|
|
3
|
-
"pins" : [
|
|
4
|
-
{
|
|
5
|
-
"identity" : "yoga",
|
|
6
|
-
"kind" : "remoteSourceControl",
|
|
7
|
-
"location" : "https://github.com/facebook/yoga.git",
|
|
8
|
-
"state" : {
|
|
9
|
-
"revision" : "8e31207cf5d5e6bd9ec06b55a5a5b2d492dde2d9",
|
|
10
|
-
"version" : "3.2.2"
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
],
|
|
14
|
-
"version" : 3
|
|
15
|
-
}
|
package/template/ios/Info.plist
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
3
|
-
<plist version="1.0">
|
|
4
|
-
<dict>
|
|
5
|
-
<key>CFBundleURLTypes</key>
|
|
6
|
-
<array>
|
|
7
|
-
<dict>
|
|
8
|
-
<key>CFBundleURLName</key>
|
|
9
|
-
<string>__BUNDLE_ID__</string>
|
|
10
|
-
<key>CFBundleURLSchemes</key>
|
|
11
|
-
<array>
|
|
12
|
-
<string>__URL_SCHEME__</string>
|
|
13
|
-
</array>
|
|
14
|
-
</dict>
|
|
15
|
-
</array>
|
|
16
|
-
<key>NSAppTransportSecurity</key>
|
|
17
|
-
<dict>
|
|
18
|
-
<key>NSAllowsLocalNetworking</key>
|
|
19
|
-
<true/>
|
|
20
|
-
</dict>
|
|
21
|
-
<key>NSLocalNetworkUsageDescription</key>
|
|
22
|
-
<string>Connects to the Nativue dev server on your Mac for hot reload.</string>
|
|
23
|
-
<key>UILaunchScreen</key>
|
|
24
|
-
<dict>
|
|
25
|
-
<key>UIColorName</key>
|
|
26
|
-
<string>LaunchBackground</string>
|
|
27
|
-
<key>UIImageName</key>
|
|
28
|
-
<string>LaunchLogo</string>
|
|
29
|
-
</dict>
|
|
30
|
-
</dict>
|
|
31
|
-
</plist>
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
// swift-tools-version: 5.9
|
|
2
|
-
// Generated by nativue from the app's packages (packages/core/cli/link.mjs): rewritten on every build.
|
|
3
|
-
import PackageDescription
|
|
4
|
-
|
|
5
|
-
let package = Package(
|
|
6
|
-
name: "NativuePlugins",
|
|
7
|
-
platforms: [.iOS("15.1")],
|
|
8
|
-
products: [.library(name: "NativuePlugins", targets: ["NativuePlugins"])],
|
|
9
|
-
dependencies: [
|
|
10
|
-
.package(path: "../../node_modules/@nativue/core"),
|
|
11
|
-
],
|
|
12
|
-
targets: [
|
|
13
|
-
.target(name: "NativuePlugins", dependencies: [.product(name: "Nativue", package: "core")], path: "Sources/NativuePlugins"),
|
|
14
|
-
]
|
|
15
|
-
)
|