Closed RodrigoSMarques closed 4 months ago
Analyzing PR #1156 , I identified that it is necessary to include SharingBroadcastReceiver
in AndroidManifest.xml
.
<receiver android:name="io.branch.receivers.SharingBroadcastReceiver" android:exported="true">
<intent-filter>
<action android:name="EXTRA_CHOSEN_COMPONENT" />
</intent-filter>
</receiver>
These instructions are not in the documentation.
@NidhiDixit09 Can you add this step to our docs?
documentation has been updated
Describe the bug
The new method
Branch.getInstance().share()
is not calling the callback functionBranch.BranchNativeLinkShareListener
(onLinkShareResponse
andonChannelSelected
)The
showShareSheet
method (which was deprecated) it worked correctly.Steps to reproduce
Branch.getInstance().share()
function and include theBranch.BranchNativeLinkShareListener
callback functionsBranch.getInstance().share()
Expected behavior
Call
Branch.BranchNativeLinkShareListener
functions after sharing.SDK Version
5.10.0 / 5.10.1
Make and Model
Samsung S20 SE / Samsung J5 Prime / Nexus 5 (Emulator)
OS
13 / 8.1 / 14
Additional Information/Context
No response