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"); }