From f1a243db1400b78a7c4d077e7c76412dd2f3405a Mon Sep 17 00:00:00 2001 From: rob-gioia-branch Date: Tue, 8 Oct 2024 14:10:12 -0400 Subject: [PATCH] Added a testing section to the App.tsx file with an "Validate SDK Integration" button in there Added a testing section to the App.tsx file with an "Validate SDK Integration" button in there --- branchreactnativetestbed/App.tsx | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/branchreactnativetestbed/App.tsx b/branchreactnativetestbed/App.tsx index 0d19eb1b2..92dbac35f 100644 --- a/branchreactnativetestbed/App.tsx +++ b/branchreactnativetestbed/App.tsx @@ -47,6 +47,7 @@ class App extends React.Component { data: BranchButton[]; events: BranchButton[]; sections: BranchSection[]; + testing: BranchButton[]; constructor(props: any) { super(props); @@ -154,10 +155,19 @@ class App extends React.Component { }, ]; + 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 } ]; }