Skip to content

Commit 22c76c7

Browse files
Release 8.10.0
## 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.
1 parent beba2c5 commit 22c76c7

File tree

3 files changed

+19
-5
lines changed

3 files changed

+19
-5
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
## 8.10.0
2+
3+
### 🎉 Features
4+
Improved the API URL configuration by moving to a platform-specific setup.
5+
- Added key `apiUrlAndroid` in `branch-config.json` to configure the API URL for the Android platform.
6+
- Added key `apiUrlIOS` in `branch-config.json` to configure the API URL for the iOS platform.
7+
8+
This allows developers to define different API endpoints (or keep the SDK default) for Android and iOS within the `branch-config.json` file.
9+
10+
### 🗑️ Removals
11+
- ⚠️ The `apiUrl` key has been removed from `branch-config.json`. Please update your configuration to use the new platform-specific keys.
12+
13+
114
## 8.9.0+1
215
### 🎉 Fixes
316
* Updated `README.MD` with correct configuration for `branch-config.json`.

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,8 @@ Copy and paste the following structure into your `assets/branch-config.json` fil
224224

225225
```json
226226
{
227-
"apiUrl": "https://api.myapp.com",
227+
"apiUrlAndroid": "https://api.myapp.com",
228+
"apiUrlIOS": "https://api.myapp.com",
228229
"branchKey": "key_live_test_xxxx_yyyy",
229230
"liveKey": "key_live_xxxx",
230231
"testKey": "key_test_yyyy",
@@ -235,8 +236,8 @@ Copy and paste the following structure into your `assets/branch-config.json` fil
235236

236237
#### Key Descriptions:
237238

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.
240241
* **`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.
241242
* **`liveKey`**: (Optional) Your Branch live key from the Branch Dashboard.
242243
* **`testKey`**: (Optional) Your Branch test key from the Branch Dashboard.

example/ios/Runner.xcworkspace/xcshareddata/swiftpm/Package.resolved

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)