From 9136fa4777132f4252322866ebd5129f697c5a15 Mon Sep 17 00:00:00 2001 From: NidhiDixit09 <93544270+NidhiDixit09@users.noreply.github.com> Date: Wed, 22 May 2024 13:30:42 -0700 Subject: [PATCH] Fixed missing , linkProperties and buoOptions --- .../components/BranchWrapper.ts | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/branchreactnativetestbed/components/BranchWrapper.ts b/branchreactnativetestbed/components/BranchWrapper.ts index 8ec9fd9c4..7b7d6710a 100644 --- a/branchreactnativetestbed/components/BranchWrapper.ts +++ b/branchreactnativetestbed/components/BranchWrapper.ts @@ -132,11 +132,21 @@ export default class BranchWrapper { controlParams, ); } else { - let {channel, completed, error} = await branch.share( + let buoOptions = { + title: 'A Test Title', + contentDescription: 'A test content desc', + contentMetadata: { + price: '200', + productName: 'QR Code Scanner', + customMetadata: {someKey: 'someValue', anotherKey: 'anotherValue'}, + }, + }; + + let {channel, completed, error} = await branch.share( buoOptions, - lp, + linkProperties, controlParams, - "Sharing ..." + "Sharing ...", "Sharing using native android api"); }