{"id":20198610,"url":"https://github.com/eclipsesource/tabris-plugin-launchmonitor","last_synced_at":"2025-03-03T08:25:17.506Z","repository":{"id":56603001,"uuid":"155070992","full_name":"eclipsesource/tabris-plugin-launchmonitor","owner":"eclipsesource","description":"React on Tabris.js app launch and read launch parameters.","archived":false,"fork":false,"pushed_at":"2025-01-22T17:51:48.000Z","size":170,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-01-22T18:37:11.310Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/eclipsesource.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":"2018-10-28T12:55:04.000Z","updated_at":"2025-01-22T17:51:52.000Z","dependencies_parsed_at":"2024-11-14T07:15:18.227Z","dependency_job_id":null,"html_url":"https://github.com/eclipsesource/tabris-plugin-launchmonitor","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eclipsesource%2Ftabris-plugin-launchmonitor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eclipsesource%2Ftabris-plugin-launchmonitor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eclipsesource%2Ftabris-plugin-launchmonitor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eclipsesource%2Ftabris-plugin-launchmonitor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eclipsesource","download_url":"https://codeload.github.com/eclipsesource/tabris-plugin-launchmonitor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241631408,"owners_count":19994024,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-11-14T04:32:35.555Z","updated_at":"2025-03-03T08:25:17.473Z","avatar_url":"https://github.com/eclipsesource.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tabris.js Launch Monitor Plugin\n\nReact on Tabris.js app launch and read launch parameters. Currently only launch by URL is supported.\n\nCan be used in conjunction with the [`cordova-plugin-customurlscheme`](https://github.com/EddyVerbruggen/Custom-URL-scheme) plugin and [`app.launch(url)`](http://docs.tabris.com/latest/api/app.html#launchurl).\n\n## Supported platforms\n\nAndroid, iOS\n\n## API documentation\n\n### `eslaunchmonitor`\n\n#### Events\n\n##### `urlLaunch`\n\n* The `urlLaunch` event is fired when the app has been launched through a URL.\n\n###### Event Parameters:\n\n* `target` : _eslaunchmonitor_\n* `url`: _string_\n  * The URL the app was launched through.\n* `queryParameters`: _{[key: string]: any}_\n  * Query parameters, parsed from the URL.\n\n#### Properties\n\n##### `urlLaunchParameters` : _{url: string, queryParameters: {[key: string]: any}}_\n\nThe most recently used parameters to launch the app by URL. Particularly useful when the `urlLaunch` event listener cannot be registered early enough to handle the first triggered event.\n\n## Usage\n\n### App 1:\n\n**config.xml**\n```xml\n\u003cplugin name=\"cordova-plugin-customurlscheme\" spec=\"4.3.0\"\u003e\n  \u003cvariable name=\"URL_SCHEME\" value=\"testapp\" /\u003e\n\u003c/plugin\u003e\n```\n\n**JS**\n```js\neslaunchmonitor.on({urlLaunch: ({url, queryParameters}) =\u003e {\n  console.log(url); // testapp://?foo=bar\n  console.log(queryParameters); // {foo: 'bar'}\n}})\n```\n\n### App 2:\n\n**JS**\n```js\nimport {app} from 'tabris';\n\napp.launch('testapp://?foo=bar');\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feclipsesource%2Ftabris-plugin-launchmonitor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feclipsesource%2Ftabris-plugin-launchmonitor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feclipsesource%2Ftabris-plugin-launchmonitor/lists"}