Chrome 自定义选项卡是否受到新的 Google Chromium 嵌入式框架限制的影响?
Is Chrome Custom Tabs affected by the new Google Chromium Embedded Framework restrictions?
我们需要在 Android 上实现不使用默认 webview 的浏览器操作。我们正在研究使用 chrome 自定义标签的选项。
我担心的是 google 最近宣布他们将阻止从嵌入式浏览器框架登录,例如Chromium 嵌入式框架。
见https://9to5google.com/2019/04/18/google-block-man-in-the-middle
我花了相当多的时间研究这个问题,正在努力寻找在线答案。
有人知道这个 restriction/block 是否会影响 Chrome 自定义标签吗?我想这最终意味着 Chrome 自定义选项卡是否利用 Chromium 嵌入式框架
Chrome 自定义选项卡不是使用 Chromium 嵌入式框架实现的,而是 Chrome 浏览器提供的一项服务。
https://developer.chrome.com/multidevice/android/customtabs
中的几个要点
As of Chrome 45, Chrome Custom Tabs is now generally available to all users of Chrome, on all of Chrome's supported Android versions (Jellybean onwards).
All versions of Chrome supporting Chrome Custom Tabs expose a service. To check whether Chrome supports custom tabs, try to bind to the service. If it succeeds, then custom tabs can safely be used.
Provide a fallback for when Custom Tabs is not installed
Although Custom Tabs is available for the great majority of users, there are some scenarios where a browser that supports Custom Tabs is not installed on the device or the device does not support a browser version that has Custom Tabs enabled.
Make sure to provide a fallback that provides a good user experience by either opening the default browser or using your own WebView implementation.
我们需要在 Android 上实现不使用默认 webview 的浏览器操作。我们正在研究使用 chrome 自定义标签的选项。
我担心的是 google 最近宣布他们将阻止从嵌入式浏览器框架登录,例如Chromium 嵌入式框架。
见https://9to5google.com/2019/04/18/google-block-man-in-the-middle
我花了相当多的时间研究这个问题,正在努力寻找在线答案。
有人知道这个 restriction/block 是否会影响 Chrome 自定义标签吗?我想这最终意味着 Chrome 自定义选项卡是否利用 Chromium 嵌入式框架
Chrome 自定义选项卡不是使用 Chromium 嵌入式框架实现的,而是 Chrome 浏览器提供的一项服务。
https://developer.chrome.com/multidevice/android/customtabs
中的几个要点As of Chrome 45, Chrome Custom Tabs is now generally available to all users of Chrome, on all of Chrome's supported Android versions (Jellybean onwards).
All versions of Chrome supporting Chrome Custom Tabs expose a service. To check whether Chrome supports custom tabs, try to bind to the service. If it succeeds, then custom tabs can safely be used.
Provide a fallback for when Custom Tabs is not installed Although Custom Tabs is available for the great majority of users, there are some scenarios where a browser that supports Custom Tabs is not installed on the device or the device does not support a browser version that has Custom Tabs enabled. Make sure to provide a fallback that provides a good user experience by either opening the default browser or using your own WebView implementation.