Skip to content

Commit 7dd6b19

Browse files
authored
Merge pull request #1505 from OneSignal/user_model
[User Model] Release 5.0.0 Beta 1
2 parents 389999f + f084b6d commit 7dd6b19

39 files changed

+2819
-10259
lines changed

.github/workflows/npm_deploy.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: NPM Publish
2+
3+
on:
4+
release:
5+
types: [created]
6+
7+
jobs:
8+
publish:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v3
12+
- uses: actions/setup-node@v3
13+
with:
14+
node-version: 18
15+
- name: Publish package
16+
uses: JS-DevTools/npm-publish@v1
17+
with:
18+
token: ${{ secrets.NPM }}

MIGRATION_GUIDE.md

Lines changed: 374 additions & 0 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,3 @@ For account issues and support please contact OneSignal support from the [OneSig
2222
#### Demo Project
2323
To make things easier, we have published demo projects in the `/examples` folder of this repository.
2424

25-
#### Supports:
26-
* Tested from iOS 7 to iOS 13
27-
* Tested from Android 4.0.3 (API level 15) to Android 9 (28)

android/build.gradle

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -26,21 +26,12 @@ android {
2626
dependencies {
2727
implementation fileTree(include: ['*.jar'], dir: 'libs')
2828
implementation "com.facebook.react:react-native:${safeExtGet('reactNativeVersion', '+')}"
29+
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4"
30+
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4"
2931

3032
// api is used instead of implementation so the parent :app project can access any of the OneSignal Java
3133
// classes if needed. Such as com.onesignal.NotificationExtenderService
32-
api 'com.onesignal:OneSignal:4.8.5'
34+
api 'com.onesignal:OneSignal:5.0.0-beta2'
3335

3436
testImplementation 'junit:junit:4.12'
35-
}
36-
37-
// Add the following to the top (Line 1) of your app/build.gradle if you run into any issues with duplicate classes.
38-
// Such as the following error
39-
// Error: more than one library with package name 'com.google.android.gms.license'
40-
41-
/*
42-
plugins {
43-
id 'com.onesignal.androidsdk.onesignal-gradle-plugin' version '0.8.1'
44-
}
45-
apply plugin: 'com.onesignal.androidsdk.onesignal-gradle-plugin'
46-
*/
37+
}

android/gradle/wrapper/gradle-wrapper.properties

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#Mon Dec 28 10:00:20 PST 2015
21
distributionBase=GRADLE_USER_HOME
32
distributionPath=wrapper/dists
43
zipStoreBase=GRADLE_USER_HOME

android/gradlew

100644100755
File mode changed.

0 commit comments

Comments
 (0)