移动深度链接

Mobile Deeplink

我想知道是否可以安全地实施以下操作:我想向某些人发送深度 link though 电子邮件,其中包含用户凭据以便启动应用程序并自动登录.是否可以一键完成?我的意思是下载应用程序然后启动登录 activity 并开始登录过程?

要解决您的问题,您有以下解决方案:

  1. Deeplinking (as you suggested)

如果您采用此方法,请确保您发送的 URL(http://...) 也适用于移动网络。原因是您在电子邮件中发送了一个深层链接 url,而 android 应用程序未安装在用户的设备中,那么您的深层链接将启动网络浏览器,您的网站将打开。

  1. Google / Facebook login For a hassle free experience you can provide user with Google Login functionality in your app. As soon as user launches the app they can just select google login and proceed.

我想你正在寻找这个:

https://blog.branch.io/technical-guide-to-android-deep-linking-google-play-referrer

您可以将您的登录信息加密并传递"referrer"参数,稍后在Broadcast Receiver中获取。