|
Post by account_disabled on Jan 6, 2024 3:34:04 GMT -5
的购物车体验非常满意,所以我们决定在应用程序中重用它,尽管外观和感觉略有修改: 左侧,浏览器中呈现的购物车页面。 是的,相同的购物车页面,但在应用程序中呈现。 左侧,浏览器中呈现的购物车页面。右侧是相同的购物车页面,但在应用程序中呈现。(查看大图) 主体:120+ 原生 React UI 组件与 Next.js 完全兼容 尝试 KENDOREACT 可分享性共享链接和打开共享链接的能力是一个关键功能,必须在 Beyond the Rack 中发挥良好作用。我们希望共享是无缝的。如果有人从桌面共享链接,并且他们的朋友在应用程序中打开该链接,则该链接需要正确打开;同样,如果有人从应用程序共享产品,则该产品必须在桌面上正确打开;如果朋友使用移动设备但未安装该应。 用程序,则应在浏览器中打开该应用程序。我们决心让这成为一种很棒的体验,因为这通常是应用程序的弱点。 让内容在网络和应用程序之间共享可能很困难。要成功完成此操作,您需要映射您的应用程序链接和 Web 链接。在前响应时代,这是很痛苦的,因为由于重定向等原 Whatsapp 号码列表 因,打开桌面 URL 会将您带到移动 URL 的主页。今天,我们在应用程序中遇到了完全相同的问题 - Safari 和 Chrome 中的横幅要求您在应用程序中打开链接,但应用程序不会显示您要查找的内容,让您重新搜索。幸运的是,在 Beyond the Rack 的应用程序中处理 Web 链接是一件轻而易举的事,因为我们需要做的就是在 Web 视图中加载该 URL。我们只需确保网络链接将用户带到应用程序而不是浏览器。 在 Android 上,在应用程序中打。 开 URL 非常简单。您只需要设置一个Intent 过滤器,以便在用户尝试加载指定 URL(在我们的示例中)时加载应用程序。安装应用程序后,用户将可以选择在应用程序或浏览器中打开 URL: Android Intent 用于打开具有特定 URL 的应用程序。 在本例中,为 。 用于打开具有特定 URL 的应用程序的 Android 意图 - 在本例中为k. (查看大图) iOS 在允许 Web URL 直接在应用程序中打开方面经历了一条稍微崎岖的道路。以前,iOS 只允许您为每个应用程序注册一个应用程序架构(例如beyondtherack://)。由于无法知道安装了哪些应用程序,唯一的选择是在 Safari 中打开给定的链接,然后尝试在应用程序中打开该链接。这带来了一个小烦恼:如果未安装该应用程序,用户将收到一条恼人的。
|
|