[英]How to open Trello urls in Android/iOS app
I need to find a way to write working Trello url which includes filters and can be recognized by mobile apps. 我需要找到一种方法来编写包含过滤器且可以被移动应用识别的有效Trello网址。
I need this url to be recognized by Trello Android/iOS app. 我需要该URL才能被Trello Android / iOS应用识别。 Trello app would automatically open itself with the filters pre-applied after clicking on the link, for example: I need to create an url which after clicking on it in a browser redirects a user to Trello Android app and shows only cards with label = important (url example: https://trello.com/b/NdwRiUrT/list?menu=filter&filter=label:important )
Trello应用程序将在单击链接后使用预先应用的过滤器自动打开,例如:我需要创建一个URL,该URL在浏览器中单击后将用户重定向到Trello Android应用程序,并仅显示带有label = Important的卡片(网址示例: https : //trello.com/b/NdwRiUrT/list?menu=filter&filter= label: important )
I found this article http://help.trello.com/article/824-sharing-links-to-cards-and-boards , and linking to cards and boards work easily, it is precisely how I would expect it to work: 我发现这篇文章http://help.trello.com/article/824-sharing-links-to-cards-and-boards ,并且链接到卡片和电路板很容易,这正是我希望它能起作用的方式:
Is there an easy way to achieve this with filters included in the url? 有没有一种简单的方法可以通过url中包含的过滤器实现这一目标?
You need to create the url with deep linking with firebase. 您需要使用与Firebase的深度链接来创建URL。 When click operation perform then the url will redirect to the mobile app.
当执行点击操作时,该网址将重定向到移动应用。 Please refer below code which i have implemented in node js.
请参考下面我在节点js中实现的代码。
request({
url: "https://firebasedynamiclinks.googleapis.com/v1/shortLinks?key=YourAppKey",
method: 'POST',
body: {
"dynamicLinkInfo": {
"dynamicLinkDomain": "domain",
"link": "your url",
"androidInfo": {
"androidPackageName": "trello app package name",
"androidFallbackLink": "https://play.google.com/store/apps/details?id=trello app package name&hl=en",
"androidMinPackageVersionCode": "1",
"androidLink": "Your link",
},
"iosInfo": {
"iosBundleId": "trello app bundle ID",
"iosCustomScheme": "App name",
"iosIpadBundleId": "trello app bundle ID",
"iosAppStoreId": "trello app store ID"
},
"socialMetaTagInfo": {
"socialTitle": "App title",
"socialDescription": "description",
"socialImageLink": "Icon link if any"
}
},
"suffix": {
"option": "SHORT"
}
},
json: true
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.