Skip to content

Commit

Permalink
Remove dev package from android deeplink (#15)
Browse files Browse the repository at this point in the history
Right now we fail when try open deep link in /sf link on Android in Google Play

Current fix remove `dev` prefix
  • Loading branch information
LionZXY authored Mar 4, 2024
1 parent 513ab4a commit 98d85df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/sf/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ <h1>Flipper Key</h1>
const playLink = storelinks.android + '&url=' + keyUrlEncoded
const playLinkEncoded = encodeURIComponent(playLink)

const url = 'intent:open?' + keyUrlEncoded + '#Intent;S.browser_fallback_url=' + playLinkEncoded + ';scheme=flipperkey;package=com.flipperdevices.app;package=com.flipperdevices.app.dev;action=android.intent.action.VIEW;B.branch_intent=true;end;'
const url = 'intent:open?' + keyUrlEncoded + '#Intent;S.browser_fallback_url=' + playLinkEncoded + ';scheme=flipperkey;package=com.flipperdevices.app;action=android.intent.action.VIEW;B.branch_intent=true;end;'
document.querySelector('#open').href = url
} else {
fetch(`https://transfer.flpr.app/${params.id}/hakuna-matata`)
Expand Down

0 comments on commit 98d85df

Please sign in to comment.