[英]Opening android or IOS apps when it is installed on phone else to store in Mendix PWA
I build a PWA in Mendix.我在 Mendix 中构建了一个 PWA。 Now i try to achieve to open an app direclty based on android or ios agent.现在我尝试实现直接打开一个基于android或ios代理的应用程序。 Now i just redirect to the diffrent appstors.现在我只是重定向到不同的应用程序。 But is there a possibility to open an app direclty by its package name?但是有没有可能通过它的包名直接打开一个应用程序?
I read alot about intents and some javascript function but when i copy paste them my compiler in Mendix said there is a compiling error on Intent function.我读了很多关于意图和一些 javascript 函数的内容,但是当我复制粘贴它们时,我在 Mendix 中的编译器说 Intent 函数存在编译错误。 Do i need to import something else?我需要导入其他东西吗?
Is it even possible to open apps directly from a PWA (on mobile ofcourse) on the phone?是否可以直接从手机上的 PWA(当然是在移动设备上)打开应用程序?
对于安卓我使用:
location.href = "market://launch?id=" + incoming_obj;
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.