You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/Guides/Migration/v1.1.md
+20Lines changed: 20 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,25 @@ Version 1.1 is focused on React Native New Architecture support and better troub
16
16
2.**Improved file logging** - React Native wrapper diagnostics can be written to file and custom log sinks.
17
17
3.**LogSinks.write()** - application code can write messages into configured Couchbase Lite log sinks.
18
18
4.**Reliability fixes** - listener cleanup, document expiration, and conflict-aware deletes are improved.
19
+
5.**Official npm package** - published as `@couchbase/couchbase-lite-react-native`, replacing the legacy `cbl-reactnative` package.
20
+
21
+
## NPM Package Rename
22
+
23
+
Version 1.1 is published on npm as [`@couchbase/couchbase-lite-react-native`](https://www.npmjs.com/package/@couchbase/couchbase-lite-react-native). The legacy unscoped package `cbl-reactnative` (1.0.1 and earlier) is superseded. New installs and upgrades should use the scoped package.
24
+
25
+
| What to update | Before (`cbl-reactnative`) | After (`@couchbase/couchbase-lite-react-native`) |
Copy file name to clipboardExpand all lines: docs/StartHere/install.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,12 +22,18 @@ The installation for the Native Module is provided in two sections: one section
22
22
23
23
### React Native Based Apps
24
24
25
-
To use the Couchbase Lite React Native Native Module in a standard React Native app, you will need to install the npm package. From the root of your applications project directory (the directory containing your `package.json` file), run the following command:
25
+
To use the Couchbase Lite React Native Native Module in a standard React Native app, you will need to install the npm package[@couchbase/couchbase-lite-react-native](https://www.npmjs.com/package/@couchbase/couchbase-lite-react-native). From the root of your applications project directory (the directory containing your `package.json` file), run one of the following commands:
New projects should install the scoped package above. Upgrading from the legacy `cbl-reactnative` package (1.0.1 and earlier)? See the [Version 1.1 Migration Guide](../Guides/Migration/v1.1.md#npm-package-rename).
35
+
:::
36
+
31
37
Once installed, you will want to build each native project (iOS and Android) to link the native module to your project.
Copy file name to clipboardExpand all lines: docs/StartHere/prerequisties.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ sidebar_position: 1
7
7
8
8
Couchbase Lite for React Native is provided as a [Native Module](https://reactnative.dev/docs/legacy/native-modules-intro). Version 1.1 supports [React Native New Architecture](https://reactnative.dev/architecture/overview) through TurboModules on iOS and Android.
9
9
10
-
The Native Module can be found at the following repository: [Couchbase Lite for React Native](https://github.com/couchbase/couchbase-lite-react-native). Shared TypeScript and JavaScript code lives in [cblite-js](https://github.com/couchbase/couchbase-lite-js-common).
10
+
The Native Module can be found at the following repository: [Couchbase Lite for React Native](https://github.com/couchbase/couchbase-lite-react-native). npm package: [@couchbase/couchbase-lite-react-native](https://www.npmjs.com/package/@couchbase/couchbase-lite-react-native). Shared TypeScript and JavaScript code lives in [cblite-js](https://github.com/couchbase/couchbase-lite-js-common).
11
11
12
12
A developer using this plugin should have a basic understanding of the following technologies:
Copy file name to clipboardExpand all lines: docs/intro.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,8 @@ More information on React Native - Native Modules can be found here: [React Nati
22
22
Couchbase Lite for React Native has officially graduated from a community project to a fully Enterprise-Supported offering
23
23
:::
24
24
25
+
Install via npm: [@couchbase/couchbase-lite-react-native](https://www.npmjs.com/package/@couchbase/couchbase-lite-react-native) — see [Install](StartHere/install.md) for full setup.
26
+
25
27
The version of this Native Module is based on supporting Couchbase Lite Enterprise for iOS and Android. A [license](https://www.couchbase.com/pricing/) is required to use Couchbase Lite Enterprise edition.
0 commit comments