{"id":13805209,"url":"https://github.com/quavedev/universal-links","last_synced_at":"2026-04-14T02:31:57.094Z","repository":{"id":119413737,"uuid":"265590274","full_name":"quavedev/universal-links","owner":"quavedev","description":"Meteor package that allows you to expose your native iOS settings to enable Universal Links.","archived":false,"fork":false,"pushed_at":"2020-08-14T12:04:47.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-22T02:03:51.726Z","etag":null,"topics":["cordova","ios","meteor-package","universal-links"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/quavedev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-20T14:24:53.000Z","updated_at":"2025-10-19T05:17:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"1fb0a64b-26f7-4fea-8276-3d6e9b577ee1","html_url":"https://github.com/quavedev/universal-links","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/quavedev/universal-links","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quavedev%2Funiversal-links","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quavedev%2Funiversal-links/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quavedev%2Funiversal-links/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quavedev%2Funiversal-links/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/quavedev","download_url":"https://codeload.github.com/quavedev/universal-links/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quavedev%2Funiversal-links/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31779943,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T02:24:21.117Z","status":"ssl_error","status_checked_at":"2026-04-14T02:24:20.627Z","response_time":153,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cordova","ios","meteor-package","universal-links"],"created_at":"2024-08-04T01:00:58.631Z","updated_at":"2026-04-14T02:31:57.079Z","avatar_url":"https://github.com/quavedev.png","language":"JavaScript","readme":"# quave:universal-links\n\n`quave:universal-links` is a Meteor package that allows you to expose your native iOS settings to enable Universal Links.\n\n## Why\n\nIt is very useful to lunch your app from a link and this package make this configuration a breeze.\n\nRemember that you need to enable `Associated Domains` in your app and also configure Universal Links in your `mobile-config.js`.\n\nWe believe we are not reinventing the wheel in this package but what we are doing is like putting together the wheels in the vehicle :).\n\n## Installation\n\n```sh\nmeteor add quave:universal-links\n```\n\n### Usage\n\nIn your settings\n\n```json\n  \"packages\": {\n    \"quave:universal-links\": {\n      \"appleTeamId\": \"VR7QCJTCL2\",\n      \"appleBundleId\": \"com.yoursite.app\"\n    }\n  }\n```\n\nIn your server\n\n```javascript\nimport { Meteor } from 'meteor/meteor';\n\nimport { registerUniversalLinksHandler } from 'meteor/quave:universal-links';\n\nMeteor.startup(() =\u003e {\n  registerUniversalLinksHandler();\n});\n```\n\nThat is it, now you can access http://localhost:3000/apple-app-site-association and you will get back Apple required configuration for Universal Links.\n\n## Advanced\n\nIf you want to provide `appleTeamId` and `appleBundleId` in runtime (in case you serve multiple apps from the same backend) you can use\n`createResponderAppleAppSiteAssociation` function. See a full example from a market place that each store can have a native app.\n\n```javascript\nimport { createResponderAppleAppSiteAssociation } from 'meteor/quave:universal-links';\n\nimport { StoresCollection } from '../../app/stores/data/StoresCollection';\nimport { getNativeStoresInfo } from './native';\nimport { getBaseUrlFromHeaders } from '../mode/modeCommon';\n\nexport const appleAppSiteAssociation = (req, res) =\u003e {\n  const baseUrl = getBaseUrlFromHeaders(req.headers);\n  const store = StoresCollection.findByFullUrl(baseUrl);\n  const nativeStoresInfo = getNativeStoresInfo(store);\n\n  if (!nativeStoresInfo.nativeAppEnabled) {\n    res.setHeader('Content-Type', 'text/html');\n    res.writeHead(405);\n    res.end(`\u003ch1\u003eNative App not enabled for ${store.name}\u003c/h1\u003e`);\n    return;\n  }\n  if (!nativeStoresInfo.appleTeamId || !nativeStoresInfo.appleBundleId) {\n    res.setHeader('Content-Type', 'text/html');\n    res.writeHead(405);\n    res.end(\n      `\u003ch1\u003eBundle ID and Team ID are not configured for ${store.name}\u003c/h1\u003e`\n    );\n    return;\n  }\n\n  createResponderAppleAppSiteAssociation(nativeStoresInfo)(req, res);\n};\n\nMeteor.startup(() =\u003e {\n  WebApp.connectHandlers.use(\n    APPLE_APP_SITE_ASSOCIATION_PATH,\n    Meteor.bindEnvironment(appleAppSiteAssociation)\n  );\n});\n```\n\n### License\n\nMIT\n","funding_links":[],"categories":["Mobile"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquavedev%2Funiversal-links","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquavedev%2Funiversal-links","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquavedev%2Funiversal-links/lists"}