Skip to content

Commit 0fa98f2

Browse files
grimE-B-Smith
authored andcommitted
Added Validation instructions to the readme (#839)
1 parent 2283543 commit 0fa98f2

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,22 @@ let branch: Branch = Branch.getInstance()
233233

234234
##### Testing
235235

236+
##### Test your Branch Integration
237+
238+
Test your Branch Integration by calling `validateSDKIntegration` in your AppDelegate. Check your Xcode logs to make sure all the SDK Integration tests pass. Make sure to comment out or remove `validateSDKIntegration` in your production build.
239+
240+
```swift
241+
Branch.getInstance().validateSDKIntegration()
242+
```
243+
244+
```objc
245+
[[Branch getInstance] validateSDKIntegration];
246+
```
247+
248+
##### Test Deeplink routing for your Branch links
249+
250+
Append `?bnc_validate=true` to any of your app's Branch links and click it on your mobile device (not the Simulator!) to start the test. For instance, to validate a link like: `"https://<yourapp\>.app.link/NdJ6nFzRbK"` click on: `"https://<yourapp\>.app.link/NdJ6nFzRbK?bnc_validate=true"`
251+
236252
###### Objective-C
237253

238254
```objc

0 commit comments

Comments
 (0)