cf-workers-native 0.1.2 → 0.1.3-beta.pr67.shac02e2a96566d
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 +4 -5
- package/native/android/build.gradle +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -39,11 +39,10 @@ Each guide describes its tested versions and boundaries. Already have a separate
|
|
|
39
39
|
|
|
40
40
|
Install the shared JavaScript package in your web project:
|
|
41
41
|
|
|
42
|
-
The
|
|
43
|
-
`latest` currently points to an older beta, and npm version `0.1.2` is not published.
|
|
42
|
+
The `latest` npm tag includes 0.x Preview releases. Install this release explicitly:
|
|
44
43
|
|
|
45
44
|
```sh
|
|
46
|
-
npm install --save-exact cf-workers-native@0.1.
|
|
45
|
+
npm install --save-exact cf-workers-native@0.1.3
|
|
47
46
|
```
|
|
48
47
|
|
|
49
48
|
The mobile entry selects the host. For example, an iOS web entry starts with:
|
|
@@ -62,7 +61,7 @@ Use `workersAndroid` from `cf-workers-native/android` or `workersCapacitor` from
|
|
|
62
61
|
|
|
63
62
|
This entry is one part of the setup: connect the existing Worker to a **separate mobile build**, then package its output with your chosen native host. The [embedding guide](docs/native-embedding.md) and [Capacitor guide](docs/integration.md) cover the complete path. For an existing native app, build the web assets in the web project or CI; the native project does not need Capacitor CLI commands or configuration.
|
|
64
63
|
|
|
65
|
-
**0.
|
|
64
|
+
**All 0.x releases are Preview releases.** APIs may change. Android embedding requires WebView `MULTI_PROFILE` support. The native Android SDK is available from Maven Central at version `0.1.2`. Read the [native requirements](docs/native-embedding.md#dependency-setup) before integrating. Upgrading from `workers-capacitor`? Follow the [migration steps](docs/integration.md#migrating-from-the-old-npm-package).
|
|
66
65
|
|
|
67
66
|
## Build with your AI assistant
|
|
68
67
|
|
|
@@ -71,7 +70,7 @@ Open your application repository and give your assistant this prompt, replacing
|
|
|
71
70
|
```text
|
|
72
71
|
Read https://github.com/rdlabo-dev/cf-workers-native/blob/main/README.md
|
|
73
72
|
and the integration guide for our target: <iOS, Android or Capacitor>.
|
|
74
|
-
Bring this Workers application to that target using cf-workers-native@0.1.
|
|
73
|
+
Bring this Workers application to that target using cf-workers-native@0.1.3.
|
|
75
74
|
Preserve its pages, routes, authentication and Cloudflare deployment configuration.
|
|
76
75
|
For an existing native app, preserve its entry point and navigation.
|
|
77
76
|
Verify the actual user flows on the target platform and report remaining limits.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cf-workers-native",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3-beta.pr67.shac02e2a96566d",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Bring Cloudflare Workers apps to iOS and Android.",
|
|
6
6
|
"repository": {
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
},
|
|
24
24
|
"publishConfig": {
|
|
25
25
|
"access": "public",
|
|
26
|
-
"tag": "
|
|
26
|
+
"tag": "beta"
|
|
27
27
|
},
|
|
28
28
|
"type": "module",
|
|
29
29
|
"files": [
|