Skip to content

Commit

Permalink
fix: corrected App Links -alternate on Android
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanneff committed Oct 30, 2017
1 parent 7017650 commit 5ffebb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/android/updateAndroidManifest.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@
// app.link link domains need -alternate associated domains as well (for Deep Views)
if (linkDomain.indexOf('app.link') !== -1) {
var first = linkDomain.split('.')[0]
var rest = linkDomain.split('.').slice(2).join('.')
var rest = linkDomain.split('.').slice(1).join('.')
var alternate = first + '-alternate' + '.' + rest

intentFilterData.push(getAppLinkIntentFilterDictionary(linkDomain))
Expand Down

0 comments on commit 5ffebb5

Please sign in to comment.