Skip to content
This repository has been archived by the owner on Jul 12, 2023. It is now read-only.

Use Android intent links in place of bouncing. #845

Merged
merged 1 commit into from
Oct 16, 2020

Conversation

flagxor
Copy link
Contributor

@flagxor flagxor commented Oct 16, 2020

This fixes behavior of Facebook Messenger when
the app is installed (currently it always redirects to the store),
and appears to generalize to more SMS clients.

It also more closely matches this approach:
https://firebase.google.com/docs/dynamic-links/operating-system-integrations

NOTE: For iOS ENX, Store URL should be left blank, as no App Link triggers ENX.
Custom Apps using the verification server currently can't do the
"fancier" clipboard trick described in the link above, see:
#844

NOTE: ENX Apps configured for Android for Android should configure Store URL.
iOS ENX regions should NOT.

@googlebot googlebot added the cla: yes Auto: added by CLA bot when all committers have signed a CLA. label Oct 16, 2020
This fixes behavior of Facebook Messenger when
the app is installed (currently it always redirects to the store),
and appears to generalize to more SMS clients.

It also more closely matches this approach:
https://firebase.google.com/docs/dynamic-links/operating-system-integrations

NOTE: For iOS ENX, Store URL should be left blank, as no App Link triggers ENX.
Custom Apps using the verification server currently can't do the
"fancier" clipboard trick described in the link above, see:
google#844

Intents are built according to:
https://developer.chrome.com/multidevice/android/intents

Which documents the URI scheme used here:
https://android.googlesource.com/platform/frameworks/base/+/135936072b24b090fb63940aea41b408d855a4f3/core/java/android/content/Intent.java#6227
@google-oss-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: flagxor, mikehelmick

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@google-oss-robot google-oss-robot merged commit 5088c3a into google:main Oct 16, 2020
@flagxor flagxor mentioned this pull request Oct 16, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes Auto: added by CLA bot when all committers have signed a CLA.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants