Skip to content

Commit

Permalink
Add sample code to testbed
Browse files Browse the repository at this point in the history
  • Loading branch information
nsingh-branch committed Mar 27, 2024
1 parent 5bbdb34 commit 3fc2816
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion branchreactnativetestbed/components/BranchWrapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ export default class BranchWrapper {

componentDidMount() {
console.log('BranchWrapper componentDidMount');

branch.setAPIUrl('https://api3.branch.io');

this._unsubscribeFromBranch = branch.subscribe({
onOpenStart: ({uri, cachedInitialEvent}) => {
console.log(
Expand Down

0 comments on commit 3fc2816

Please sign in to comment.