简体   繁体   English

如何在Android / iOS应用中打开Trello网址

[英]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 ,并且链接到卡片和电路板很容易,这正是我希望它能起作用的方式:

  1. user clicks the link 用户点击链接
  2. Trello Android app recognizes the link and opens up Trello Android应用程序识别链接并打开
  3. user is shown only the card in the link 仅在链接中显示用户卡片

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.

相关问题 如何避免在iOS / Android应用中使用硬编码的网址 - How to avoid hardcoded urls in IOS/Android app HTML5 Phonegap Android应用程序 - 在应用程序中打开外部URL? - HTML5 Phonegap Android App - Open external URLs within app? 如何在 react-native 应用程序中打开网站(Android 和 iOS) - How to open an website inside the react-native app(Android and iOS) 包含文字“供稿”的网址要求在Android 4的Chrome浏览器中打开应用 - URLs that contain the text “feed” ask for an app to open with in Chrome for Android 4 强制webview在应用程序内打开网址 - android app - Force webview to open urls inside application - android app 从应用程序打开单独的浏览器(ios / android) - Open a separate browser from an app(ios/android) 在应用程序中打开特定部分的链接(android和ios) - A link to open a specific section in the app(android and ios) Android自定义URL,用于在iOS中打开App - Android Custom URL to open App like in iOS 从电子邮件打开 android ios 应用程序 - open android ios app from email 如何编写移动链接,以使它们在存在Android和iOS的应用程序中打开,但如果应用程序不存在,则使用http链接? - How to write mobile links so they open in an app on Android and iOS if that app exists, but use http link if app does not?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM