{"_id":"cordova-plugin-market","_rev":"12-88e3118e6f7358f4fb870a880665059c","name":"cordova-plugin-market","time":{"modified":"2022-06-14T00:28:49.686Z","created":"2015-09-18T16:29:19.452Z","1.1.0":"2015-09-18T16:29:19.452Z","1.1.1":"2015-09-18T18:23:29.245Z","1.1.2":"2015-09-18T18:32:34.094Z","0.0.1":"2016-04-21T16:00:37.603Z","1.1.3":"2016-04-21T16:06:00.985Z","1.2.0":"2017-08-31T10:55:34.759Z"},"maintainers":[{"name":"colindu","email":"juncong.du@gmail.com"},{"name":"victorbjelkholm","email":"victorbjelkholm@gmail.com"}],"dist-tags":{"latest":"1.2.0"},"description":"Cordova Plugin for access to Google Play and Apple Store within your app","readme":"cordova-plugin-market\n=====================\n\nCordova (PhoneGap) 3.0+ plugin to open an application on native Marketplace app, aka Play Store for Android or App Store for iOS.\nCurrently this plugin is compatible only with Android and iOS. Feel free to add support for the platform you need!\n\n# Installation\n\nThis plugin follows the Cordova 3.0 plugin spec, so it can be installed through the Cordova CLI in your existing Cordova project:\n\n    cordova plugin add https://github.com/xmartlabs/cordova-plugin-market\n\n# How to use it\n\nWhen you want to open the device's store do this:\n\n* For Android use the app's package:\n\n    `cordova.plugins.market.open('your.app.package')`\n\n* For iOS, first you need to create an easy-to-read link to your app using App Store Short Links, then use the app name\n\n    `cordova.plugins.market.open('yourappname')`\n\nThis will open the link `itms-apps://itunes.apple.com/app/yourappname`. Alternatively you can use your app's id that should be similar to `id284815942`\n\nYou can also add a success and failure callback like this:\n\n    var appId = \"...\";\n    cordova.plugins.market.open(appId, {\n      success: function() {\n        // Your stuff here\n      },\n      error: function() {\n        // Your stuff here\n      }\n    })\n\n  When you want to search for apps with keyword:\n\n  * For Android use the app's package:\n\n      `cordova.plugins.market.search('keyword')`\n\n  * For iOS, no support yet\n\n  You can also add a success and failure callback like this:\n\n      var keyword = \"gmail\";\n      cordova.plugins.market.search(keyword, {\n        success: function() {\n          // Your stuff here\n        },\n        error: function() {\n          // Your stuff here\n        }\n      })\n\n\n# Release Notes\n\nVersion 1.2\n\n* Added API to search apps in Play Store (supported just in Android)\n\nVersion 1.1\n\n* Fixed issue due to use old iOS url.\n\nVersion 1.0\n\n* Initial release: support for open Play Store or iTunes with an Application ID\n\n# Contact\n\nIf you are using cordova-plugin-market in your app and have any suggestion or question:\n\nEnrique Galindo, <enrique@xmartlabs.com>\n\nMiguel Revetria, <miguel@xmartlabs.com>\n\n[@xmartlabs](http://twitter.com/xmartlabs \"@xmartlabs\")\n","versions":{"0.0.1":{"name":"cordova-plugin-market","version":"0.0.1","description":"cordova-plugin-market =====================","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/xmartlabs/cordova-plugin-market.git"},"keywords":[],"author":{"name":"Victor Bjelkholm","email":"victorbjelkholm@gmail.com","url":"https://www.github.com/victorbjelkholm"},"license":"MIT","bugs":{"url":"https://github.com/xmartlabs/cordova-plugin-market/issues"},"homepage":"https://github.com/xmartlabs/cordova-plugin-market#readme","gitHead":"4421fffe9d3feba07c081dfd6c20c815ba81deb9","_id":"cordova-plugin-market@0.0.1","_shasum":"6e3ff4834179d624561fe4207c095e5dbb584d89","_from":".","_npmVersion":"3.8.3","_nodeVersion":"5.10.1","_npmUser":{"name":"victorbjelkholm","email":"victorbjelkholm@gmail.com"},"dist":{"shasum":"6e3ff4834179d624561fe4207c095e5dbb584d89","tarball":"https://registry.npmjs.org/cordova-plugin-market/-/cordova-plugin-market-0.0.1.tgz","integrity":"sha512-eTRZbxeGmzGLmRR/fu+aXBKnD3z/ycbl0+3TDNdw5e9gANMnhgtjXlJvvBMGZr/iq94Nxzw49sD4l6G5biPkpw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDw8SmShaG4lQRya96d+m5JGZOZax7GrVVjP5wjv7Z7TAIhAKgSwGfPeZoWGfJv+VA6rMiicZ/NI6emfQY0BK5vpm88"}]},"maintainers":[{"name":"victorbjelkholm","email":"victorbjelkholm@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/cordova-plugin-market-0.0.1.tgz_1461254436254_0.1934439013712108"}},"1.1.3":{"name":"cordova-plugin-market","version":"1.1.3","description":"cordova-plugin-market =====================","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/xmartlabs/cordova-plugin-market.git"},"keywords":[],"author":{"name":"Victor Bjelkholm","email":"victorbjelkholm@gmail.com","url":"https://www.github.com/victorbjelkholm"},"license":"MIT","bugs":{"url":"https://github.com/xmartlabs/cordova-plugin-market/issues"},"homepage":"https://github.com/xmartlabs/cordova-plugin-market#readme","gitHead":"212f273b547a2efaed8aae32411c29f0ecb91a99","_id":"cordova-plugin-market@1.1.3","_shasum":"1ada7f11bfa394dd48889008ebe58eb2e073415f","_from":".","_npmVersion":"3.8.3","_nodeVersion":"5.10.1","_npmUser":{"name":"victorbjelkholm","email":"victorbjelkholm@gmail.com"},"dist":{"shasum":"1ada7f11bfa394dd48889008ebe58eb2e073415f","tarball":"https://registry.npmjs.org/cordova-plugin-market/-/cordova-plugin-market-1.1.3.tgz","integrity":"sha512-RUUwP9R3AuuejgGQA4bHdI0XsahNfKmA/FV8FUlfAkEK05PEMfoRYwv7xe1v5Pipx6aKBEYvxrv9rzf4aKQA8A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCWqL9oYCAxxGjH64pUdV9PHHb5MUCWms7oDbA7etMTiQIgA4fjBx5lJBPTJW6yoiYfOARNZEhiBbX+XB6zvtKTG/s="}]},"maintainers":[{"name":"victorbjelkholm","email":"victorbjelkholm@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/cordova-plugin-market-1.1.3.tgz_1461254758569_0.8925487878732383"}},"1.2.0":{"name":"cordova-plugin-market","version":"1.2.0","description":"Cordova Plugin for access to Google Play and Apple Store within your app","cordova":{"id":"cordova-plugin-market","platforms":["android","ios"]},"repository":{"type":"git","url":"git+https://github.com/xmartlabs/cordova-plugin-market.git"},"keywords":["cordova","market","store","itunes","play","ecosystem:cordova","cordova-android","cordova-ios"],"author":{"name":"Xmartlabs"},"license":"MIT","bugs":{"url":"https://github.com/xmartlabs/cordova-plugin-market/issues"},"homepage":"https://github.com/xmartlabs/cordova-plugin-market#readme","gitHead":"44b058abf668c0f810389d96598579ef729853b4","_id":"cordova-plugin-market@1.2.0","scripts":{},"_shasum":"61e36428147e95402c64eaf86e317378ffdb274f","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.0","_npmUser":{"name":"colindu","email":"juncong.du@gmail.com"},"dist":{"shasum":"61e36428147e95402c64eaf86e317378ffdb274f","tarball":"https://registry.npmjs.org/cordova-plugin-market/-/cordova-plugin-market-1.2.0.tgz","integrity":"sha512-+hZlZIuRslOktJw2F3QHuxY3Io2h3z6a/ZL/2RQkdpfaG99rzoS5Tu7mXjU3on35iwSJz8MqY8iCx3jdRVLdTQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDLQSx/1bdYP4XsvZNNVrk/DRFEwSuNDAaooz3iVdyXHwIhAJk9Y9zohnvv+V0ZO63TZRhOTez50Ucp5xY30nH0i59s"}]},"maintainers":[{"name":"colindu","email":"juncong.du@gmail.com"},{"name":"victorbjelkholm","email":"victorbjelkholm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cordova-plugin-market-1.2.0.tgz_1504176934608_0.4750777867157012"}}},"homepage":"https://github.com/xmartlabs/cordova-plugin-market#readme","keywords":["cordova","market","store","itunes","play","ecosystem:cordova","cordova-android","cordova-ios"],"repository":{"type":"git","url":"git+https://github.com/xmartlabs/cordova-plugin-market.git"},"author":{"name":"Xmartlabs"},"bugs":{"url":"https://github.com/xmartlabs/cordova-plugin-market/issues"},"license":"MIT","readmeFilename":"README.md"}