Skip to content

Commit 0fdded2

Browse files
authored
Develop (#3)
* CI * Deleting files * Package JSON * Adjusts on CI * Update import * Remove gradlew * Add gradle wrapper * README * typo * Bump version
1 parent 1dab97b commit 0fdded2

File tree

8 files changed

+42
-332
lines changed

8 files changed

+42
-332
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on:
33
release:
44
types: [created]
55
jobs:
6-
build:
6+
release:
77
runs-on: ubuntu-latest
88
steps:
99
- uses: actions/checkout@v2

README.md

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ The Usercentrics Apps SDK is a Consent Management Platform framework for mobile,
2929
||||||
3030

3131
### Requirements
32-
* Android 4.1 (API 16) or higher with Kotlin 1.5 or higher
32+
* Android 5.0 (API 21) or higher with Kotlin 1.5 or higher
3333
* iOS 11 or higher
3434

3535
## Installation
@@ -45,6 +45,35 @@ After installing the package, you will need to install the Usercentrics using:
4545
npx pod-install
4646
```
4747

48+
## Sample Project
49+
50+
To run the sample project, you will need to run npm install from both root and example folders:
51+
52+
* From root folder:
53+
```sh
54+
npm install
55+
```
56+
* From example folder:
57+
```sh
58+
npm install
59+
```
60+
61+
### iOS
62+
63+
From example folder:
64+
```sh
65+
npx pod-install
66+
npx react-native run-ios
67+
```
68+
69+
### Android
70+
71+
Open the android folder using Android Studio in order to create essential files then run from example folder:
72+
```sh
73+
npx react-native run-android
74+
```
75+
76+
4877
## Integration
4978

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

example/android/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
33
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
5-
zipStorePath=wrapper/dists
5+
zipStorePath=wrapper/dists

example/android/gradlew

Lines changed: 0 additions & 234 deletions
This file was deleted.

example/android/gradlew.bat

Lines changed: 0 additions & 89 deletions
This file was deleted.

0 commit comments

Comments
 (0)