Skip to content

Commit fb30348

Browse files
committed
Update migration guide
1 parent f10913f commit fb30348

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

MIGRATION_GUIDE.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Android v5.0.0-beta4 Migration Guide
1+
# Android v5.0.0 Migration Guide
22
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.
33

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

3333

3434
dependencies {
35-
implementation 'com.onesignal:OneSignal:5.0.0-beta2'
35+
implementation 'com.onesignal:OneSignal:5.0.0'
3636
}
3737

3838
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:
@@ -44,10 +44,10 @@ The above statement will bring in the entire OneSignalSDK and is the desired sta
4444

4545

4646
dependencies {
47-
implementation 'com.onesignal:core:5.0.0-beta2'
48-
implementation 'com.onesignal:in-app-messages:5.0.0-beta2'
49-
implementation 'com.onesignal:notifications:5.0.0-beta2'
50-
implementation 'com.onesignal:location:5.0.0-beta2'
47+
implementation 'com.onesignal:core:5.0.0'
48+
implementation 'com.onesignal:in-app-messages:5.0.0'
49+
implementation 'com.onesignal:notifications:5.0.0'
50+
implementation 'com.onesignal:location:5.0.0'
5151
}
5252

5353

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

339339

340340

341-
# Limitations
342-
- Recommend using only in development and staging environments for Beta releases.
343-
- Outcomes will be available in a future release
341+
# Limitations
342+
- Changing app IDs is not supported.
343+
- Any `User` namespace calls must be invoked **after** initialization. Example: `OneSignal.User.addTag("tag", "2")`
344+
- 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.
344345

345346
# Known issues
346347
- Identity Verification
347-
- We will be introducing JWT in follow up Alpha or Beta release
348+
- We will be introducing Identity Verification using JWT in a follow up release

0 commit comments

Comments
 (0)