Skip to content

Commit

Permalink
Merge pull request #707 from OneSignal/flutter_release_5.0.0
Browse files Browse the repository at this point in the history
Flutter release 5.0.0
  • Loading branch information
emawby authored Aug 18, 2023
2 parents 29a1b38 + b9a16d3 commit 58451b5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
13 changes: 6 additions & 7 deletions MIGRATION_GUIDE.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Flutter v5.0.0-beta2 Migration Guide
# Flutter v5.0.0 Migration Guide


# Intro
Expand Down Expand Up @@ -154,7 +154,7 @@ OneSignal.User.removeSms("+15558675309");

# API Reference

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

## OneSignal

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

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


# Known issues
- Identity Verification
- We will be introducing JWT in a follow up release
- We will be introducing JWT in a follow up release
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ private void init(Context context, BinaryMessenger messenger)
this.context = context;
this.messenger = messenger;
OneSignalWrapper.setSdkType("flutter");
// For 5.0.0-beta, hard code to reflect SDK version
// For 5.0.0, hard code to reflect SDK version
OneSignalWrapper.setSdkVersion("050000");

channel = new MethodChannel(messenger, "OneSignal");
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: onesignal_flutter
description: OneSignal is a free push notification service for mobile apps. This plugin makes it easy to integrate your flutter app with OneSignal
version: 5.0.0-beta2
version: 5.0.0
author: Brad Hesse <brad@onesignal.com>, Josh Kasten <josh@onesignal.com>, Henry Boswell <henryboswell@onesignal.com>
homepage: https://github.com/OneSignal/OneSignal-Flutter-SDK

Expand Down

0 comments on commit 58451b5

Please sign in to comment.