Skip to content

Commit 2a40942

Browse files
Merge pull request #7 from appwrite/feat-expo
use expo file system
2 parents ece3e79 + 570e6e6 commit 2a40942

File tree

7 files changed

+4300
-2755
lines changed

7 files changed

+4300
-2755
lines changed

README.md

+4-16
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Appwrite React Native SDK
1+
# Appwrite React Native SDK [BETA]
22

33
![License](https://img.shields.io/github/license/appwrite/sdk-for-react-native.svg?style=flat-square)
44
![Version](https://img.shields.io/badge/api%20version-1.4.12-blue.svg?style=flat-square)
@@ -17,13 +17,7 @@ Appwrite is an open-source backend as a service server that abstract and simplif
1717
To install
1818

1919
```bash
20-
npm install react-native-appwrite react-native-fs react-native-url-polyfill --save
21-
```
22-
23-
For iOS apps, you will need to install cocoapod dependencies.
24-
25-
```sh
26-
cd iOS && pod install && cd ..
20+
npx expo install react-native-appwrite react-native-url-polyfill
2721
```
2822

2923
## Getting Started
@@ -37,22 +31,16 @@ Then, under **Add a platform**, add a **Android app** or a **Apple app**. You ca
3731
Add your app **name** and **Bundle ID**. You can find your **Bundle Identifier** in the **General** tab for your app's primary target in XCode.
3832

3933
#### Android steps
40-
Add your app's **name** and **package name**, Your package name is generally the **applicationId** in your app-level [build.gradle](https://github.com/appwrite/playground-for-flutter/blob/master/android/app/build.gradle#L41) file.
34+
Add your app's **name** and **package name**, Your package name is generally the **applicationId** in your app-level `build.gradle` file.
4135

4236
## Setup
4337

44-
On `index.js` add import for `react-native-url-polyfill`
45-
46-
```
47-
import 'react-native-url-polyfill/auto'
48-
```
49-
5038
### Init your SDK
5139
Initialize your SDK with your Appwrite server API endpoint and project ID which can be found in your project settings page.
5240

5341
```js
5442
import { Client } from 'react-native-appwrite';
55-
// Init your Web SDK
43+
// Init your react-native SDK
5644
const client = new Client();
5745

5846
client

0 commit comments

Comments
 (0)