{"id":18771018,"url":"https://github.com/rareloop/cordova-plugin-app-version","last_synced_at":"2025-04-13T07:32:17.525Z","repository":{"id":30966793,"uuid":"34524973","full_name":"Rareloop/cordova-plugin-app-version","owner":"Rareloop","description":"Access the native app version in JavaScript","archived":false,"fork":false,"pushed_at":"2020-03-31T17:46:51.000Z","size":142,"stargazers_count":22,"open_issues_count":12,"forks_count":40,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-29T07:08:59.270Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Rareloop.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-04-24T15:00:41.000Z","updated_at":"2023-11-29T22:59:17.000Z","dependencies_parsed_at":"2022-09-09T03:21:59.257Z","dependency_job_id":null,"html_url":"https://github.com/Rareloop/cordova-plugin-app-version","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rareloop%2Fcordova-plugin-app-version","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rareloop%2Fcordova-plugin-app-version/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rareloop%2Fcordova-plugin-app-version/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rareloop%2Fcordova-plugin-app-version/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Rareloop","download_url":"https://codeload.github.com/Rareloop/cordova-plugin-app-version/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223574834,"owners_count":17167569,"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-07T19:22:52.077Z","updated_at":"2024-11-07T19:22:52.572Z","avatar_url":"https://github.com/Rareloop.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cordova App Version Plugin\n\nCordova/PhoneGap plugin for accessing the native app's version and build number within JavaScript. The values are bootstrapped at app load and can be used synchronously.\n\n## Supported Platforms\n\n- iOS\n- Android\n\n## Installation\n\nThe plugin can be installed with the Cordova CLI:\n\n```shell\ncordova plugin add cordova-plugin-appversion\n```\n\nThe plugin is hosted on NPM so requires Cordova CLI `5.0.0` as a minimum. If you have any issues installing, make sure you have the most upto date version of Cordova from NPM:\n\n```shell\nnpm install -g cordova\n```\n\n## Usage\n\nAfter `deviceReady` has fired you'll be able to access a new object in the global scope that contains both the app version and build number.\n\n```javascript\nconsole.log(AppVersion.version); // e.g. \"1.2.3\"\nconsole.log(AppVersion.build); // e.g. 1234\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frareloop%2Fcordova-plugin-app-version","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frareloop%2Fcordova-plugin-app-version","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frareloop%2Fcordova-plugin-app-version/lists"}