Skip to content

Commit b318e2a

Browse files
authored
README (#14)
* README * update CI
1 parent bae16ad commit b318e2a

File tree

2 files changed

+1
-95
lines changed

2 files changed

+1
-95
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -75,37 +75,4 @@ jobs:
7575
with:
7676
working-directory: ./example/android
7777
api-level: 29
78-
script: gradle wrapper; ./gradlew :react-native-usercentrics:connectedAndroidTest
79-
80-
build-ios-android:
81-
needs: [test-rn, test-android, test-ios]
82-
runs-on: macOS-latest
83-
84-
steps:
85-
- name: Checkout
86-
uses: actions/checkout@v2
87-
88-
- name: Setup Node
89-
uses: actions/setup-node@v2
90-
with:
91-
node-version: "14.x"
92-
93-
- name: Java 11
94-
uses: actions/setup-java@v1
95-
with:
96-
java-version: 11
97-
98-
- name: Install Dependencies
99-
working-directory: ./example
100-
run: ../scripts/install_dependencies.sh
101-
102-
- name: Build Android
103-
uses: reactivecircus/android-emulator-runner@v2
104-
with:
105-
working-directory: ./example/android
106-
api-level: 29
107-
script: gradle wrapper; cd .. && npx react-native run-android
108-
109-
- name: Build iOS
110-
working-directory: ./example/ios
111-
run: pod install; cd .. && npx react-native run-ios
78+
script: gradle wrapper; ./gradlew :react-native-usercentrics:connectedAndroidTest

README.md

Lines changed: 0 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -76,67 +76,6 @@ To run the sample project, you will need to run npm install from both root and e
7676
npx react-native run-android
7777
```
7878

79-
80-
## Sample Project
81-
82-
To run the sample project, you will need to run npm install from both root and example folders:
83-
84-
* From root folder:
85-
```sh
86-
npm install
87-
```
88-
* Then navigate to example folder and run the command:
89-
```sh
90-
cd example
91-
npm install
92-
```
93-
94-
### iOS
95-
Inside the example folder:
96-
```sh
97-
npx pod-install
98-
npx react-native run-ios
99-
```
100-
101-
If you want to open through Xcode, you can open the `example.xcworkspace` file.
102-
103-
### Android
104-
105-
Run this script from the example folder:
106-
```sh
107-
npx react-native run-android
108-
```
109-
110-
111-
## Sample Project
112-
113-
To run the sample project, you will need to run npm install from both root and example folders:
114-
115-
* From root folder:
116-
```sh
117-
npm install
118-
```
119-
* From example folder:
120-
```sh
121-
npm install
122-
```
123-
124-
### iOS
125-
126-
From example folder:
127-
```sh
128-
npx pod-install
129-
npx react-native run-ios
130-
```
131-
132-
### Android
133-
134-
Open the android folder using Android Studio in order to create essential files then run from example folder:
135-
```sh
136-
npx react-native run-android
137-
```
138-
139-
14079
## Integration
14180

14281
Continue to our [documentation](https://docs.usercentrics.com/cmp_in_app_sdk/) for a step by step integration guide.

0 commit comments

Comments
 (0)