RodrigoSMarques / flutter_branch_sdk

Flutter Plugin for create deep link using Branch Metrics SDK. This plugin provides a cross-platform (iOS, Android, Web).
https://branch.io
MIT License
101 stars 91 forks source link

Branch io link does not listen when called from telegram in-app browser #374

Closed RizwanAhmed11 closed 3 months ago

RizwanAhmed11 commented 3 months ago

Keep the template and provide all requested information:

Describe the bug i receive a deep link of branch io through telegram after clicking, it does open the app but does not get the data, it seems like it does no listen to the link data because of the telegram in-app browser. but if i open it in google chrome or any other browser it does work fine. In short The .listen is not getting triggered with proper data from Telegram in-app browser

To Reproduce Steps to reproduce the behavior:

  1. click the branch io link from telegram while in-app browser is ON

Expected behavior when in-app browser is On from telegram it should behave same as link is been called from google chrome

Mobile (Please complete the following information. remove session if not Mobile):

RodrigoSMarques commented 3 months ago

This behavior has nothing to do with the plugin. I believe it is some configuration in your project. No problem here.

https://github.com/user-attachments/assets/8e1c503f-873b-4581-93f2-2bab9219b7cf

RizwanAhmed11 commented 3 months ago

@RodrigoSMarques The issue is in Android side, iOS works fine. The app does open but the .listen not called and this condition never match if (data.containsKey('+clicked_branch_link') && data['+clicked_branch_link'] == true)

RodrigoSMarques commented 3 months ago

@RodrigoSMarques The issue is in Android side, iOS works fine. The app does open but the .listen not called and this condition never match if (data.containsKey('+clicked_branch_link') && data['+clicked_branch_link'] == true)

the plugin is not receiving the call from the Native SDK.

So the problem is in the SDK and not in the plugin.

I suggest opening an issue in the Android Branch repository.

RodrigoSMarques commented 3 months ago

Issue closed. I identified the open issue in the Branch SDK Android repository.