Skip to content

Commit

Permalink
fix: android-prefix no longer needed for custom link domains
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanneff committed May 3, 2018
1 parent 446fd07 commit 0a9100e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/scripts/android/updateAndroidManifest.js
Original file line number Diff line number Diff line change
Expand Up @@ -302,8 +302,11 @@
intentFilterData.push(getAppLinkIntentFilterDictionary(linkDomain));
intentFilterData.push(getAppLinkIntentFilterDictionary(alternate));
} else {
// bnc.lt and custom domains
if (preferences.androidPrefix === null) {
// bnc.lt
if (
linkDomain.indexOf("bnc.lt") !== -1 &&
preferences.androidPrefix === null
) {
throw new Error(
'BRANCH SDK: Invalid "android-prefix" in <branch-config> in your config.xml. Docs https://goo.gl/GijGKP'
);
Expand Down

0 comments on commit 0a9100e

Please sign in to comment.