diff --git a/CHANGELOG.md b/CHANGELOG.md index f6ab777..8c15e5e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -123,3 +123,7 @@ * Fixes error converting DateTime to JSON * Adds support for documents pages * Updates examples + +## 0.0.9 +> Release date: 26/Nov/2021 +* Adds sandbox support diff --git a/README.md b/README.md index a7969d4..5c357b8 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,15 @@ Token token = await UMMobileSDK .auth() .getToken(username: 1234567, password: 'YOUR_PASSWORD'); +// Get token for testing with sandbox services +Token sandboxToken = await UMMobileSDK + .auth() + .getToken( + username: 1234567, + password: 'YOUR_PASSWORD', + sandbox: true, + ); + // Initialize using the access token UMMobileSDK sdk = UMMobileSDK(token: token.accessToken); ``` diff --git a/example/example.md b/example/example.md index 9b5b78f..55a9b59 100644 --- a/example/example.md +++ b/example/example.md @@ -56,6 +56,15 @@ Token token = await UMMobileSDK .auth() .getToken(username: 1234567, password: 'YOUR_PASSWORD'); +// Get token for testing with sandbox services +Token sandboxToken = await UMMobileSDK + .auth() + .getToken( + username: 1234567, + password: 'YOUR_PASSWORD', + sandbox: true, + ); + // Initialize using the access token UMMobileSDK sdk = UMMobileSDK(token: token.accessToken); ``` diff --git a/pubspec.yaml b/pubspec.yaml index 46b3fdd..7f510b4 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: ummobile_sdk description: The SDK package used in the UMMobile App to connect with the server. -version: 0.0.8 +version: 0.0.9 homepage: https://github.com/UMMobile/ummobile_sdk environment: