Skip to content

Commit

Permalink
Merge pull request #328 from RodrigoSMarques/dev
Browse files Browse the repository at this point in the history
Release 8.0.2
  • Loading branch information
RodrigoSMarques committed May 21, 2024
2 parents 48b1fd0 + ed325e6 commit 7186eb1
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 6 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
## 8.0.2
### ⚠️ BREAKING CHANGE
This is a major release which contains breaking API changes.
#### ⚠️ SDK Initialization Changed
* `useTestKey` parameter is no longer supported at `FlutterBranchSdk.init()`.

Check the instructions in `README.MD` on how to activate the `key_test_`.

### 🐛 Bug Fixes
* Fix Enable and Disable Tracking on `FlutterBranchSdk.init()` method

## 8.0.1
### ⚠️ BREAKING CHANGE
This is a major release which contains breaking API changes.
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,7 @@ Add or update the code below in `AndroidManifest.xml`:

1) Create an empty file called `branch.json`.

2) Paste the content below into the file or make download [here](https://github.com/RodrigoSMarques/flutter_branch_sdk/blob/dev/assets/branch.json):
2) Paste the content below into the file or make download [here](https://github.com/RodrigoSMarques/flutter_branch_sdk/blob/master/assets/branch.json):

```json
{
Expand All @@ -664,9 +664,9 @@ Add or update the code below in `AndroidManifest.xml`:

4) Select the `branch.json` file and make sure every target in your project that uses Branch is selected.

![branch.json](https://github.com/RodrigoSMarques/flutter_branch_sdk/blob/dev/assets/branch_json_add.png)
![branch.json](https://github.com/RodrigoSMarques/flutter_branch_sdk/blob/master/assets/branch_json_add.png)

![branch.json](https://github.com/RodrigoSMarques/flutter_branch_sdk/blob/dev/assets/branch_json_project.png)
![branch.json](https://github.com/RodrigoSMarques/flutter_branch_sdk/blob/master/assets/branch_json_project.png)

**Note*:* Remember to set the value to `false` before releasing to production.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,8 @@ private void setupBranch(MethodCall call, final Result result) {
}
if ((Boolean) argsMap.get("disableTracking")) {
Branch.getInstance().disableTracking(true);
} else {
Branch.getInstance().disableTracking(false);
}

LogUtils.debug(DEBUG_NAME, "notifyNativeToInit()");
Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ packages:
path: ".."
relative: true
source: path
version: "8.0.0"
version: "8.0.2"
flutter_lints:
dependency: "direct dev"
description:
Expand Down
5 changes: 4 additions & 1 deletion ios/Classes/SwiftFlutterBranchSdkPlugin.swift
Original file line number Diff line number Diff line change
Expand Up @@ -249,10 +249,13 @@ public class SwiftFlutterBranchSdkPlugin: NSObject, FlutterPlugin, FlutterStream

if args["disableTracking"] as! Bool == true {
Branch.setTrackingDisabled(true)
} else {
Branch.setTrackingDisabled(false)
}


if args["enableLogging"] as! Bool == true {
//Branch.enableLogging()
Branch.enableLogging()
}

if (!requestMetadata.isEmpty) {
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: flutter_branch_sdk
description: Flutter Plugin for create deep link using Brach SDK (https://branch.io). This plugin provides a cross-platform (iOS, Android, Web).
version: 8.0.1
version: 8.0.2
homepage: https://github.com/RodrigoSMarques/flutter_branch_sdk

environment:
Expand Down

1 comment on commit 7186eb1

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.