Skip to content

Commit c46218f

Browse files
CP-12557: Remove branch.json (#3355)
1 parent 5e2db5f commit c46218f

File tree

5 files changed

+5
-11
lines changed

5 files changed

+5
-11
lines changed

packages/core-mobile/android/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,11 +150,11 @@ android {
150150
internal {
151151
applicationIdSuffix ".internal"
152152
buildConfigField "boolean", "ENABLE_FLAG_SECURE", "false"
153-
manifestPlaceholders = [BRANCH_TEST_MODE:"true", BRANCH_KEY: project.env.get("BRANCH_KEY")]
153+
manifestPlaceholders = [BRANCH_TEST_MODE:"true"]
154154
}
155155
external {
156156
buildConfigField "boolean", "ENABLE_FLAG_SECURE", "false"
157-
manifestPlaceholders = [BRANCH_TEST_MODE:"false", BRANCH_KEY: project.env.get("BRANCH_KEY")]
157+
manifestPlaceholders = [BRANCH_TEST_MODE:"false"]
158158
}
159159
}
160160

packages/core-mobile/android/app/src/main/AndroidManifest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@
3535
android:name="com.google.firebase.messaging.default_notification_icon"
3636
android:resource="@drawable/notification_icon" />
3737
<!-- Branch init -->
38-
<meta-data android:name="io.branch.sdk.BranchKey" android:value="${BRANCH_KEY}" />
39-
<meta-data android:name="io.branch.sdk.BranchKey.test" android:value="${BRANCH_KEY}" />
38+
<meta-data android:name="io.branch.sdk.BranchKey" android:value="key_live_iDtcATcmEAXhac4Rze6LgbllBAkfvayk" />
39+
<meta-data android:name="io.branch.sdk.BranchKey.test" android:value="key_test_huEgqNimBs9nak9ICf2TlhdfsDdptcAD" />
4040
<!-- Set to `true` to use `BranchKey.test` -->
4141
<meta-data android:name="io.branch.sdk.TestMode" android:value="${BRANCH_TEST_MODE}" />
4242
<activity

packages/core-mobile/android/app/src/main/assets/branch.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

packages/core-mobile/android/app/src/main/java/com/avaxwallet/MainActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
package com.avaxwallet
22

3+
import android.content.Intent
34
import android.os.Bundle
45
import android.view.WindowManager
56
import androidx.appcompat.app.AppCompatDelegate
@@ -10,7 +11,6 @@ import com.facebook.react.defaults.DefaultReactActivityDelegate
1011
import com.zoontek.rnbootsplash.RNBootSplash
1112
import expo.modules.ReactActivityDelegateWrapper
1213
import io.branch.rnbranch.*
13-
import android.content.Intent
1414

1515
class MainActivity : ReactActivity() {
1616

packages/core-mobile/ios/branch.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)