Skip to content

Commit

Permalink
Fixed missing , linkProperties and buoOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
NidhiDixit09 committed May 22, 2024
1 parent 9c4f171 commit 9136fa4
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions branchreactnativetestbed/components/BranchWrapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}

Expand Down

0 comments on commit 9136fa4

Please sign in to comment.