Skip to content

Commit

Permalink
Merge pull request #1505 from OneSignal/user_model
Browse files Browse the repository at this point in the history
[User Model] Release 5.0.0 Beta 1
  • Loading branch information
kesheshyan committed Mar 24, 2023
2 parents 389999f + f084b6d commit 7dd6b19
Show file tree
Hide file tree
Showing 39 changed files with 2,819 additions and 10,259 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/npm_deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: NPM Publish

on:
release:
types: [created]

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Publish package
uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM }}
374 changes: 374 additions & 0 deletions MIGRATION_GUIDE.md

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,3 @@ For account issues and support please contact OneSignal support from the [OneSig
#### Demo Project
To make things easier, we have published demo projects in the `/examples` folder of this repository.

#### Supports:
* Tested from iOS 7 to iOS 13
* Tested from Android 4.0.3 (API level 15) to Android 9 (28)
17 changes: 4 additions & 13 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,21 +26,12 @@ android {
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation "com.facebook.react:react-native:${safeExtGet('reactNativeVersion', '+')}"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4"

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

testImplementation 'junit:junit:4.12'
}

// Add the following to the top (Line 1) of your app/build.gradle if you run into any issues with duplicate classes.
// Such as the following error
// Error: more than one library with package name 'com.google.android.gms.license'

/*
plugins {
id 'com.onesignal.androidsdk.onesignal-gradle-plugin' version '0.8.1'
}
apply plugin: 'com.onesignal.androidsdk.onesignal-gradle-plugin'
*/
}
1 change: 0 additions & 1 deletion android/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#Mon Dec 28 10:00:20 PST 2015
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
Expand Down
Empty file modified android/gradlew
100644 → 100755
Empty file.
Loading

0 comments on commit 7dd6b19

Please sign in to comment.