{"id":15097001,"url":"https://github.com/cozycodegh/cordova-plugin-inapppurchases_testapp","last_synced_at":"2026-02-04T12:04:59.411Z","repository":{"id":65260162,"uuid":"589055352","full_name":"cozycodegh/cordova-plugin-inapppurchases_TESTAPP","owner":"cozycodegh","description":"Cordova Test App for testing in-app purchases on Android and iOS","archived":false,"fork":false,"pushed_at":"2024-10-23T03:37:05.000Z","size":871,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-09T07:51:18.179Z","etag":null,"topics":["app","app-store","billing","cordova","cordova-plugin","google-play","inapp","library","purchase","storekit","subscription","testing-tool"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/cozycodegh.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-01-14T22:48:27.000Z","updated_at":"2024-10-23T03:37:09.000Z","dependencies_parsed_at":"2024-10-23T09:17:50.922Z","dependency_job_id":"b6bf4adb-26bb-46a2-af04-e496b9826f57","html_url":"https://github.com/cozycodegh/cordova-plugin-inapppurchases_TESTAPP","commit_stats":{"total_commits":14,"total_committers":2,"mean_commits":7.0,"dds":0.1428571428571429,"last_synced_commit":"c7424d5cb743c88a4a982910c9b039532a1c581f"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cozycodegh/cordova-plugin-inapppurchases_TESTAPP","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cozycodegh%2Fcordova-plugin-inapppurchases_TESTAPP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cozycodegh%2Fcordova-plugin-inapppurchases_TESTAPP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cozycodegh%2Fcordova-plugin-inapppurchases_TESTAPP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cozycodegh%2Fcordova-plugin-inapppurchases_TESTAPP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cozycodegh","download_url":"https://codeload.github.com/cozycodegh/cordova-plugin-inapppurchases_TESTAPP/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cozycodegh%2Fcordova-plugin-inapppurchases_TESTAPP/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29084088,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-04T03:31:03.593Z","status":"ssl_error","status_checked_at":"2026-02-04T03:29:50.742Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["app","app-store","billing","cordova","cordova-plugin","google-play","inapp","library","purchase","storekit","subscription","testing-tool"],"created_at":"2024-09-25T16:03:26.668Z","updated_at":"2026-02-04T12:04:59.395Z","avatar_url":"https://github.com/cozycodegh.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cordova-Plugin-InAppPurchases Testing App\n\nThis a full app to test in-app purchases and subscriptions with [**Cordova**](https://cordova.apache.org/) and [**cordova-plugin-inapppurchases**](https://github.com/cozycodegh/cordova-plugin-inapppurchases#Cordova-Plugin-InAppPurchases) by [cozycode.ca](cozycode.ca).\n\nHow to test in-app purchases with cordova:\n1. Have your app identifier string (eg. `io.cordova.hellocordova`) \u003cbr/\u003e\n    Log into App Store Connect and Google Play to create your apps, make a \"bundle identifier\" (aka widget id, or app identifier)\n2. Have your product ids, \u003cbr/\u003e\n    [See testing tips to create in-app products and subscriptions](https://github.com/cozycodegh/cordova-plugin-inapppurchases#testing-tips)\n3. Create a cordova project to test in:\n```\ncordova create new_test_dir app.bundle.identifier.to.test\n```\n4. Add the in-app purchases plugin by `codecodegh`:\n```\ncd new_test_dir\ncordova plugin add cordova-plugin-inapppurchases\ncd ..\n```\n4. Download this repository:\n```\ngit clone https://github.com/cozycodegh/cordova-plugin-inapppurchases_TESTAPP\n```\n5. Move the files into the cordova project test directory:\n```\ncp -r cordova-plugin-inapppurchases_TESTAPP/* new_test_dir/\n```\n6. Edit the `www/js/index.js` file to include your product ids:\n```js\nvar product_id_1 = \"ca.cozycode.non_consumable_product\";\nvar product_id_2 = \"\";\nvar product_id_3 = \"\";\n```\n  * For Android, also create a `www/manifest.json` file with the `base64 billing key` in this test project:\n```js\n{ \"play_store_key\": \"\u003cBase64-encoded public key from the Google Play Store\u003e\" }\n```\n7. Run the test app on different platforms:\n```\ncordova platform add ios\ncordova build ios\nopen platforms/ios/APPNAME.xcworkspace/\ncordova platform add android\ncordova run --device android\n```\n\n# Test App Preview:\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"docs/browser_test.png\" alt=\"\" width=\"500\" align=\"center\" /\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\nAndroid and iOS:\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"docs/android_test.png\" alt=\"\" height=\"500\" align=\"center\" /\u003e\n\u003cimg src=\"docs/ios_test.png\" alt=\"\" height=\"500\" align=\"center\" /\u003e\n\u003c/p\u003e\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcozycodegh%2Fcordova-plugin-inapppurchases_testapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcozycodegh%2Fcordova-plugin-inapppurchases_testapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcozycodegh%2Fcordova-plugin-inapppurchases_testapp/lists"}