RodrigoSMarques/flutter_branch_sdk

listener getting data 2 times in package - flutter_branch_sdk: ^6.9.0 operating system - android flutter - 3.19.6 device - samsung m30

Closed this issue · 15 comments

FlutterBranchSdk.initSession().listen((data) async {
print(data);
});
This method prints data 2 times whenever i click on deep link.

@RodrigoSMarques please review this asap.

What version of the package? Which Operating System? Which version of Flutter? Which device?

Fill in the issue opening template, otherwise it will be closed.

package - flutter_branch_sdk: ^6.9.0
operating system - android
flutter - 3.19.6
device - samsung m30

Did you test on version 8.0.2?

In AndroidManifest.xml the property android:launchMode="singleTask" ?

not yet i have done the configuration according to the 6.9.0 as it fits compatible with the other libraries in my project. Can u please suggest any solution in this version.

In AndroidManifest.xml the property android:launchMode="singleTask" ?

yes we have done this.

I need log from Logcat for Android for analysis.

But if there is an error, the correction will be made in the newer version and not in 6.9.

@RodrigoSMarques I faced something like this with version 7.1.0 and after added the android:launchMode="singleTask" it starts to work but only for debug mode in release mode doesn't work and when you print the data is showing this: {+clicked_branch_link: false, +is_first_session: false}

@RodrigoSMarques I faced something like this with version 7.1.0 and after added the android:launchMode="singleTask" it starts to work but only for debug mode in release mode doesn't work and when you print the data is showing this: {+clicked_branch_link: false, +is_first_session: false}

Update to the latest version 8.0.2

Facing the same issue sometimes branch SDK listening for the link multiple times in both Android and ios @RodrigoSMarques flutter branch SDK version: 7.3.0

Facing the same issue sometimes branch SDK listening for the link multiple times in both Android and ios @RodrigoSMarques flutter branch SDK version: 7.3.0

Update to the latest version 8.0.2

@RodrigoSMarques The problem is not limited to Android. There is always an issue with this on both iOS and Android devices. For my project, I used flutter_branch_sdk: 7.3.0.

@RodrigoSMarques The problem is not limited to Android. There is always an issue with this on both iOS and Android devices. For my project, I used flutter_branch_sdk: 7.3.0.

Update to the latest version 8.0.2

@RodrigoSMarques The problem is not limited to Android. There is always an issue with this on both iOS and Android devices. For my project, I used flutter_branch_sdk: 7.3.0.

Update to the latest version 8.0.2

@RodrigoSMarques There is no indication in the change log that you are using version 8.0.2.