Skip to content

Commit 032ce5d

Browse files
revert branch_key change
1 parent 9dbe55d commit 032ce5d

File tree

3 files changed

+16
-2
lines changed

3 files changed

+16
-2
lines changed

packages/core-mobile/ios/AppDelegate.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ class AppDelegate: ExpoAppDelegate {
1919
// Firebase App Check and configuration
2020
RNFBAppCheckModule.sharedInstance()
2121
FirebaseApp.configure()
22+
23+
if let bundleId = Bundle.main.object(forInfoDictionaryKey: "CFBundleIdentifier") as? String, bundleId.lowercased().contains("internal") {
24+
RNBranch.useTestInstance()
25+
}
2226

2327
RNBranch.initSession(launchOptions: launchOptions, isReferrable: true)
2428
if #available(iOS 14.0, *) {

packages/core-mobile/ios/AvaxWallet/Info.plist

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,12 @@
106106
<key>NSBluetoothPeripheralUsageDescription</key>
107107
<string>We use Bluetooth to connect to ledger devices</string>
108108
<key>branch_key</key>
109-
<string>key_test_huEgqNimBs9nak9ICf2TlhdfsDdptcAD</string>
109+
<dict>
110+
<key>test</key>
111+
<string>key_test_huEgqNimBs9nak9ICf2TlhdfsDdptcAD</string>
112+
<key>live</key>
113+
<string>key_live_iDtcATcmEAXhac4Rze6LgbllBAkfvayk</string>
114+
</dict>
110115
<key>branch_universal_link_domains</key>
111116
<array>
112117
<string>nlfvn.test-app.link</string>

packages/core-mobile/ios/AvaxWallet/InfoRelease.plist

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,12 @@
9797
<key>NSBluetoothPeripheralUsageDescription</key>
9898
<string>We use Bluetooth to connect to ledger devices</string>
9999
<key>branch_key</key>
100-
<string>key_live_iDtcATcmEAXhac4Rze6LgbllBAkfvayk</string>
100+
<dict>
101+
<key>test</key>
102+
<string>key_test_huEgqNimBs9nak9ICf2TlhdfsDdptcAD</string>
103+
<key>live</key>
104+
<string>key_live_iDtcATcmEAXhac4Rze6LgbllBAkfvayk</string>
105+
</dict>
101106
<key>branch_universal_link_domains</key>
102107
<array>
103108
<string>nlfvn.test-app.link</string>

0 commit comments

Comments
 (0)