Skip to content

Commit 58451b5

Browse files
authored
Merge pull request #707 from OneSignal/flutter_release_5.0.0
Flutter release 5.0.0
2 parents 29a1b38 + b9a16d3 commit 58451b5

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

MIGRATION_GUIDE.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Flutter v5.0.0-beta2 Migration Guide
1+
# Flutter v5.0.0 Migration Guide
22

33

44
# Intro
@@ -154,7 +154,7 @@ OneSignal.User.removeSms("+15558675309");
154154

155155
# API Reference
156156

157-
Below is a comprehensive reference to the `5.0.0-beta2` OneSignal Flutter SDK.
157+
Below is a comprehensive reference to the `5.0.0` OneSignal Flutter SDK.
158158

159159
## OneSignal
160160

@@ -438,12 +438,11 @@ The Debug namespace is accessible via `OneSignal.Debug` and provide access to de
438438

439439
# Limitations
440440
**General**
441-
- This is a Beta release so please test thorougly prior to production use.
442-
- Aliases will be available in a future release
443-
- Outcomes will be available in a future release
444-
- Users are deleted when the last Subscription (push, email, or sms) is removed
441+
- Changing app IDs is not supported.
442+
- 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.
445443
- Any `User` namespace calls must be invoked **after** initialization. Example: `OneSignal.User.addTag("tag", "2")`
446444

445+
447446
# Known issues
448447
- Identity Verification
449-
- We will be introducing JWT in a follow up release
448+
- We will be introducing JWT in a follow up release

android/src/main/java/com/onesignal/flutter/OneSignalPlugin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ private void init(Context context, BinaryMessenger messenger)
3939
this.context = context;
4040
this.messenger = messenger;
4141
OneSignalWrapper.setSdkType("flutter");
42-
// For 5.0.0-beta, hard code to reflect SDK version
42+
// For 5.0.0, hard code to reflect SDK version
4343
OneSignalWrapper.setSdkVersion("050000");
4444

4545
channel = new MethodChannel(messenger, "OneSignal");

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: onesignal_flutter
22
description: OneSignal is a free push notification service for mobile apps. This plugin makes it easy to integrate your flutter app with OneSignal
3-
version: 5.0.0-beta2
3+
version: 5.0.0
44
author: Brad Hesse <[email protected]>, Josh Kasten <[email protected]>, Henry Boswell <[email protected]>
55
homepage: https://github.com/OneSignal/OneSignal-Flutter-SDK
66

0 commit comments

Comments
 (0)