Skip to content

Commit

Permalink
Merge pull request #1803 from OneSignal/rel/5.0.0
Browse files Browse the repository at this point in the history
Release `5.0.0`
  • Loading branch information
nan-li authored Aug 10, 2023
2 parents 950b275 + fb30348 commit 82fc8e8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
21 changes: 11 additions & 10 deletions MIGRATION_GUIDE.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Android v5.0.0-beta4 Migration Guide
# Android v5.0.0 Migration Guide
In this release, we are making a significant shift from a device-centered model to a user-centered model. A user-centered model allows for more powerful omni-channel integrations within the OneSignal platform.

This migration guide will walk you through the Android SDK v5.0.0 changes as a result of this shift.
Expand Down Expand Up @@ -32,7 +32,7 @@ Open your App’s `build.gradle (Module: app)` file, add (or update) the followi


dependencies {
implementation 'com.onesignal:OneSignal:5.0.0-beta2'
implementation 'com.onesignal:OneSignal:5.0.0'
}

The above statement will bring in the entire OneSignalSDK and is the desired state for most integrations. For greater flexibility you can alternatively specify individual modules that make up the full SDK. The possible modules are:
Expand All @@ -44,10 +44,10 @@ The above statement will bring in the entire OneSignalSDK and is the desired sta


dependencies {
implementation 'com.onesignal:core:5.0.0-beta2'
implementation 'com.onesignal:in-app-messages:5.0.0-beta2'
implementation 'com.onesignal:notifications:5.0.0-beta2'
implementation 'com.onesignal:location:5.0.0-beta2'
implementation 'com.onesignal:core:5.0.0'
implementation 'com.onesignal:in-app-messages:5.0.0'
implementation 'com.onesignal:notifications:5.0.0'
implementation 'com.onesignal:location:5.0.0'
}


Expand Down Expand Up @@ -338,10 +338,11 @@ The debug namespace is accessible via `OneSignal.Debug` (in Kotlin) or `OneSigna



# Limitations
- Recommend using only in development and staging environments for Beta releases.
- Outcomes will be available in a future release
# Limitations
- Changing app IDs is not supported.
- Any `User` namespace calls must be invoked **after** initialization. Example: `OneSignal.User.addTag("tag", "2")`
- In the SDK, the user state is only refreshed from the server when a new session is started (cold start or backgrounded for over 30 seconds) or when the user is logged in. This is by design.

# Known issues
- Identity Verification
- We will be introducing JWT in follow up Alpha or Beta release
- We will be introducing Identity Verification using JWT in a follow up release
2 changes: 1 addition & 1 deletion OneSignalSDK/settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
gradle.rootProject {
allprojects {
group = 'com.onesignal'
version = '5.0.0-beta4'
version = '5.0.0'
configurations.all {
resolutionStrategy.dependencySubstitution {
substitute(module('com.onesignal:OneSignal')).using(project(':OneSignal'))
Expand Down

0 comments on commit 82fc8e8

Please sign in to comment.