Skip to content

Commit

Permalink
Added a testing section to the App.tsx file with an "Validate SDK Int…
Browse files Browse the repository at this point in the history
…egration" button in there

Added a testing section to the App.tsx file with an "Validate SDK Integration" button in there
  • Loading branch information
rob-gioia-branch committed Oct 8, 2024
1 parent 119826e commit f1a243d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions branchreactnativetestbed/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ class App extends React.Component<any, MyState> {
data: BranchButton[];
events: BranchButton[];
sections: BranchSection[];
testing: BranchButton[];

constructor(props: any) {
super(props);
Expand Down Expand Up @@ -154,10 +155,19 @@ class App extends React.Component<any, MyState> {
},
];

this.testing = [
{
text: 'Validate SDK Integration',
onPress: this.branchWrapper.validateSDKIntegration.bind(this),
image: require('./images/attach_money_FILL1_wght400_GRAD0_opsz48.png'),
}
];

this.sections = [
{ sectionName: 'Linking', branchButtons: this.linking },
{ sectionName: 'Data', branchButtons: this.data },
{ sectionName: 'Events', branchButtons: this.events },
{ sectionName: 'Testing', branchButtons: this.testing }
];
}

Expand Down

0 comments on commit f1a243d

Please sign in to comment.