【发布时间】:2017-10-31 01:49:01
【问题描述】:
目前使用CustomTabs/Native UI 和Xamarin.Auth 通过自定义Web API 向Google 验证Android 应用程序(我无法编辑/更改Web API)。是否可以拦截 url (https) 并在到达该 url 后返回应用程序?或者由于 chrome 已经打开,这不适用于自定义标签?
意图过滤器代码:
[
IntentFilter
(
actions: new[] { Intent.ActionView },
Categories = new[]
{
Intent.CategoryDefault,
Intent.CategoryBrowsable
},
DataSchemes = new[]
{
"https://redirectwebsite.com/"
},
DataPath = "https"
)
]
【问题讨论】:
标签: c# android xamarin url-scheme