Skip to content
This repository was archived by the owner on Oct 10, 2025. It is now read-only.

Commit dca7d15

Browse files
authored
Merge pull request #9 from magiclabs/jerryliu-sc-52632-pass-bundle-id-from-native-ios
* Add bundleId to EncodedParams
2 parents f1709aa + 0725276 commit dca7d15

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Sources/MagicSDK/Core/Relayer/URLBuilder.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ public struct URLBuilder {
5252
let sdk = "magic-sdk-ios"
5353
let ETH_NETWORK: EthNetworkConfiguration
5454
let locale: String
55+
let bundleId = Bundle.main.bundleIdentifier
5556
init(apiKey: String, network: EthNetworkConfiguration, locale: String) {
5657
self.ETH_NETWORK = network
5758
self.API_KEY = apiKey
@@ -65,6 +66,7 @@ public struct URLBuilder {
6566
let sdk = "magic-sdk-ios"
6667
let ETH_NETWORK: CustomNodeConfiguration
6768
let locale: String
69+
let bundleId = Bundle.main.bundleIdentifier
6870
init(apiKey: String, customNode: CustomNodeConfiguration, locale: String) {
6971
self.ETH_NETWORK = customNode
7072
self.API_KEY = apiKey

0 commit comments

Comments
 (0)