{"id":32529830,"url":"https://github.com/skiptools/skip-marketplace","last_synced_at":"2025-10-28T11:52:35.809Z","repository":{"id":318050149,"uuid":"1069772468","full_name":"skiptools/skip-marketplace","owner":"skiptools","description":"Interface to marketplace services such as the Apple App Store and Google Play Store","archived":false,"fork":false,"pushed_at":"2025-10-04T18:50:23.000Z","size":17,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-04T19:27:30.124Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/skiptools.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.LGPL","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-04T15:40:17.000Z","updated_at":"2025-10-04T18:23:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"8d1b70ba-46f6-4d38-b943-567651a44974","html_url":"https://github.com/skiptools/skip-marketplace","commit_stats":null,"previous_names":["skiptools/skip-marketplace"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/skiptools/skip-marketplace","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skiptools%2Fskip-marketplace","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skiptools%2Fskip-marketplace/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skiptools%2Fskip-marketplace/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skiptools%2Fskip-marketplace/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/skiptools","download_url":"https://codeload.github.com/skiptools/skip-marketplace/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skiptools%2Fskip-marketplace/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281433291,"owners_count":26500408,"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","status":"online","status_checked_at":"2025-10-28T02:00:06.022Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-10-28T11:52:34.650Z","updated_at":"2025-10-28T11:52:35.799Z","avatar_url":"https://github.com/skiptools.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SkipMarketplace\n\nThis module provide support for interfacing with an app's\nmarketplace, such as the Google Play Store for Android\nand the Apple App Store for iOS.\n\nCurrently, the framework provides the ability to request\na store rating for the app from the user. In the future,\nthis framework will provide the ability to perform\nin-app purchases and subscription management.\n\n## Setup\n\nTo include this framework in your project, add the following\ndependency to your `Package.swift` file:\n\n```swift\nlet package = Package(\n    name: \"my-package\",\n    products: [\n        .library(name: \"MyProduct\", targets: [\"MyTarget\"]),\n    ],\n    dependencies: [\n        .package(url: \"https://source.skip.tools/skip-marketplace.git\", \"0.0.0\"..\u003c\"2.0.0\"),\n    ],\n    targets: [\n        .target(name: \"MyTarget\", dependencies: [\n            .product(name: \"SkipMarketplace\", package: \"skip-marketplace\")\n        ])\n    ]\n)\n```\n\n## App Review Requests\n\nYou can use this library to request that the app marketplace show a prompt to the user requesting a rating for the app for the given marketplace.\n\n```swift\nimport SkipMarketplace\n\n// request that the system show an app review request at most once every month\nMarketplace.current.requestReview(period: .days(31))\n```\n\nFor guidance on how and when to make these sorts of requests, see the\nrelevant documentation for the \n[Apple App Store](https://developer.android.com/guide/playcore/in-app-review#when-to-request)\nand\n[Google PlayStore](https://developer.apple.com/design/human-interface-guidelines/ratings-and-reviews#Best-practices).\n\n## Listing and purchasing digital goods\n\n\n\n### Android Configuration\n\nYou must set the `com.android.vending.BILLING` permission in your `AndroidManifest.xml` file like so:\n\n```xml\n\u003cmanifest xmlns:android=\"http://schemas.android.com/apk/res/android\"\u003e\n    \u003cuses-permission android:name=\"com.android.vending.BILLING\"/\u003e\n\u003c/manifest\u003e\n```\n\n## Building\n\nThis project is a free Swift Package Manager module that uses the\n[Skip](https://skip.tools) plugin to transpile Swift into Kotlin.\n\nBuilding the module requires that Skip be installed using\n[Homebrew](https://brew.sh) with `brew install skiptools/skip/skip`.\nThis will also install the necessary build prerequisites:\nKotlin, Gradle, and the Android build tools.\n\n## Testing\n\nThe module can be tested using the standard `swift test` command\nor by running the test target for the macOS destination in Xcode,\nwhich will run the Swift tests as well as the transpiled\nKotlin JUnit tests in the Robolectric Android simulation environment.\n\nParity testing can be performed with `skip test`,\nwhich will output a table of the test results for both platforms.\n\n## License\n\nThis software is licensed under the\n[GNU Lesser General Public License v3.0](https://spdx.org/licenses/LGPL-3.0-only.html),\nwith the following\n[linking exception](https://spdx.org/licenses/LGPL-3.0-linking-exception.html)\nto clarify that distribution to restricted environments (e.g., app stores) is permitted:\n\n\u003e This software is licensed under the LGPL3, included below.\n\u003e As a special exception to the GNU Lesser General Public License version 3\n\u003e (\"LGPL3\"), the copyright holders of this Library give you permission to\n\u003e convey to a third party a Combined Work that links statically or dynamically\n\u003e to this Library without providing any Minimal Corresponding Source or\n\u003e Minimal Application Code as set out in 4d or providing the installation\n\u003e information set out in section 4e, provided that you comply with the other\n\u003e provisions of LGPL3 and provided that you meet, for the Application the\n\u003e terms and conditions of the license(s) which apply to the Application.\n\u003e Except as stated in this special exception, the provisions of LGPL3 will\n\u003e continue to comply in full to this Library. If you modify this Library, you\n\u003e may apply this exception to your version of this Library, but you are not\n\u003e obliged to do so. If you do not wish to do so, delete this exception\n\u003e statement from your version. This exception does not (and cannot) modify any\n\u003e license terms which apply to the Application, with which you must still\n\u003e comply.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskiptools%2Fskip-marketplace","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskiptools%2Fskip-marketplace","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskiptools%2Fskip-marketplace/lists"}