Closed nsingh-branch closed 5 months ago
Attention: Patch coverage is 66.66667%
with 2 lines
in your changes are missing coverage. Please review.
Project coverage is 51.17%. Comparing base (
1b03a81
) to head (84ef9b2
). Report is 12 commits behind head on master.
Files | Patch % | Lines |
---|---|---|
Sources/BranchSDK/Branch.m | 33.33% | 1 Missing and 1 partial :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Reference
SDK-2328 -- Support setting Branch API URL in Branch.json
Summary
Added a new field to branch.json for setting the Branch API URL. The config check and setAPIUrl call are done in Branch.m's
initWithInterface()
in the same place as thedeferInitForPluginRuntime()
andenableLogging()
checks.Motivation
To support setting the API URL in our plugins like React Native.
Type Of Change
Testing Instructions
Add
"apiUrl": "https://api.branch.io"
to a branch.json file and observe the API URL properly change for each request.cc @BranchMetrics/saas-sdk-devs for visibility.