You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## 8.10.0
### 🎉 Features
Improved the API URL configuration by moving to a platform-specific setup.
- Added key `apiUrlAndroid` in `branch-config.json` to configure the API URL for the Android platform.
- Added key `apiUrlIOS` in `branch-config.json` to configure the API URL for the iOS platform.
This allows developers to define different API endpoints (or keep the SDK default) for Android and iOS within the `branch-config.json` file.
### 🗑️ Removals
- ⚠️ The `apiUrl` key has been removed from `branch-config.json`. Please update your configuration to use the new platform-specific keys.
Copy file name to clipboardExpand all lines: README.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -224,7 +224,8 @@ Copy and paste the following structure into your `assets/branch-config.json` fil
224
224
225
225
```json
226
226
{
227
-
"apiUrl": "https://api.myapp.com",
227
+
"apiUrlAndroid": "https://api.myapp.com",
228
+
"apiUrlIOS": "https://api.myapp.com",
228
229
"branchKey": "key_live_test_xxxx_yyyy",
229
230
"liveKey": "key_live_xxxx",
230
231
"testKey": "key_test_yyyy",
@@ -235,8 +236,8 @@ Copy and paste the following structure into your `assets/branch-config.json` fil
235
236
236
237
#### Key Descriptions:
237
238
238
-
***`apiUrl`**: (Optional) Sets a custom base URL for all calls to the Branch API.
239
-
Requires HTTPS.
239
+
***`apiUrlAndroid`**: (Optional) Sets a custom base URL for all calls to the Branch API for Android apps. Requires HTTPS.
240
+
***`apiUrlIOS`**: (Optional) Sets a custom base URL for all calls to the Branch API for iOS apps. Requires HTTPS.
240
241
***`branchKey`**: (Optional) The Branch key that the SDK will use for initialization. It's recommended to set this to your `liveKey` or `testKey` depending on your current build environment.
241
242
***`liveKey`**: (Optional) Your Branch live key from the Branch Dashboard.
242
243
***`testKey`**: (Optional) Your Branch test key from the Branch Dashboard.
0 commit comments