File tree Expand file tree Collapse file tree 1 file changed +3
-15
lines changed Expand file tree Collapse file tree 1 file changed +3
-15
lines changed Original file line number Diff line number Diff line change 1
- # Appwrite React Native SDK
1
+ # Appwrite React Native SDK [ BETA ]
2
2
3
3
![ License] ( https://img.shields.io/github/license/appwrite/sdk-for-react-native.svg?style=flat-square )
4
4
![ 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
17
17
To install
18
18
19
19
``` 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
27
21
```
28
22
29
23
## Getting Started
@@ -41,18 +35,12 @@ Add your app's **name** and **package name**, Your package name is generally the
41
35
42
36
## Setup
43
37
44
- On ` index.js ` add import for ` react-native-url-polyfill `
45
-
46
- ```
47
- import 'react-native-url-polyfill/auto'
48
- ```
49
-
50
38
### Init your SDK
51
39
Initialize your SDK with your Appwrite server API endpoint and project ID which can be found in your project settings page.
52
40
53
41
``` js
54
42
import { Client } from ' react-native-appwrite' ;
55
- // Init your Web SDK
43
+ // Init your react-native SDK
56
44
const client = new Client ();
57
45
58
46
client
You can’t perform that action at this time.
0 commit comments