Skip to content

Commit

Permalink
Displays an alert with the Branch React Native SDK version
Browse files Browse the repository at this point in the history
Displays an alert with the Branch React Native SDK version
Rate limit · GitHub

Access has been restricted

You have triggered a rate limit.

Please wait a few minutes before you try again;
in some cases this may take up to an hour.

rob-gioia-branch committed Oct 8, 2024
1 parent 09d029d commit 6d345c7
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions branchreactnativetestbed/components/BranchWrapper.ts
Original file line number Diff line number Diff line change
@@ -192,6 +192,8 @@ export default class BranchWrapper {
await branch.readLogs().then( val => {
console.log(val);
});

IntegrationValidator.showBranchSDKVersionMessage();
};

viewFirstReferringParams = async () => {
6 changes: 6 additions & 0 deletions branchreactnativetestbed/components/IntegrationValidator.js
Original file line number Diff line number Diff line change
@@ -14,6 +14,12 @@ export default class IntegrationValidator {
return sdkVersion
}

static showBranchSDKVersionMessage() {
var branchSDKVersion = 'Branch React Native SDK Version: ' + this.getBranchSDKVersion();
Alert.alert(branchSDKVersion);
console.log(branchSDKVersion);
}

static validate() {
let packageName = AndroidValidator.getPackageName()
AndroidValidator.getBranchKeys().then( keys => {

0 comments on commit 6d345c7

Please sign in to comment.