{"id":21850499,"url":"https://github.com/circlefin/w3s-android-sample-app-wallets","last_synced_at":"2025-04-14T15:01:58.558Z","repository":{"id":184389552,"uuid":"660783570","full_name":"circlefin/w3s-android-sample-app-wallets","owner":"circlefin","description":null,"archived":false,"fork":false,"pushed_at":"2024-07-23T10:46:05.000Z","size":59178,"stargazers_count":22,"open_issues_count":2,"forks_count":31,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-03-28T03:51:09.408Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/circlefin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-30T20:51:56.000Z","updated_at":"2025-03-05T22:38:26.000Z","dependencies_parsed_at":"2023-12-14T08:24:14.120Z","dependency_job_id":"c4ca1fe1-16c6-496d-af66-58b489dfb699","html_url":"https://github.com/circlefin/w3s-android-sample-app-wallets","commit_stats":null,"previous_names":["circlefin/w3s-android-sample-app-wallets"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/circlefin%2Fw3s-android-sample-app-wallets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/circlefin%2Fw3s-android-sample-app-wallets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/circlefin%2Fw3s-android-sample-app-wallets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/circlefin%2Fw3s-android-sample-app-wallets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/circlefin","download_url":"https://codeload.github.com/circlefin/w3s-android-sample-app-wallets/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248903557,"owners_count":21180828,"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-28T00:17:49.348Z","updated_at":"2025-04-14T15:01:58.498Z","avatar_url":"https://github.com/circlefin.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Circle Programmable Wallet SDK for Android - Sample\n\n\u003e Sample app for integrating Circle Programmable Wallet SDK.\n\n- Bookmark\n  - [Requirement](#requirement)\n  - [Run the Sample App](#run-the-sample-app)\n---\n\n\n## Requirement\n\n1. Java 17 is required for the sample app.\n\n## Run the Sample App\nYou can install [the latest APK](https://github.com/circlefin/w3s-android-sample-app-wallets/blob/master/app/build/outputs/apk/debug/app-debug.apk) or follow the instructions below to run on a device / emulator directly.\n1. Open the project by [Android Studio](https://developer.android.com/studio): File ➜ Open ➜ choose the project root folder.\n\n\u003cimg src=\"readme_images/open_project.png\" alt=\"drawing\" width=\"400\"/\u003e \n\n2. Edit `values/config.xml` ➜ `pw_app_id` to fill in your `APP ID`\n3. Add/Edit `local.properties` in the project's root with the following maven repository settings:\n```properties\npwsdk.maven.url=https://maven.pkg.github.com/circlefin/w3s-android-sdk\npwsdk.maven.username=\u003cGITHUB_USERNAME\u003e\n# Fine-grained personal access tokens or classic with package read permission.\npwsdk.maven.password=\u003cGITHUB_PAT\u003e  \n```\n\u003e **Note**\n\u003e When pasting the values above for `\u003cGITHUB_USERNAME\u003e` and `\u003cGITHUB_PAT\u003e`, make sure to not surround the values with quotes.\n\n- Check the following links for creating PAT.\n  - [Creating a personal access token (classic)](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#creating-a-personal-access-token-classic)\n  - [Creating a fine-grained personal access token](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#creating-a-fine-grained-personal-access-token)\n\n 4. If there's no error after Gradle sync, select a device and click `Debug 'app'`.\n\n\u003cimg src=\"readme_images/run_project.png\" alt=\"drawing\" width=\"600\"/\u003e \n \n5. There are three tabs corresponding to different login methods. Fill in the `App ID` and fill in the relevant fields in each tab according to the requirements of different login methods for following execution action.\n\n\n\u003cimg src=\"readme_images/running_app_social.png\" alt=\"drawing\" width=\"200\"/\u003e\u003cimg src=\"readme_images/running_app_email.png\" alt=\"drawing\" width=\"200\"/\u003e\u003cimg src=\"readme_images/running_app_pin.png\" alt=\"drawing\" width=\"200\"/\u003e\n\n6. (Optional) Auth configs setup. If you want to use social login for test , please follow below steps to and Social login infos.\n  - [Google and Facebook] Add/Edit value with a specific key-name in `strings.xml` (please refer to the sample strings.xml below)\n   \n  ```properties\n  \u003cstring name=\"google_web_client_id\" translatable=\"false\"\u003eYOUR_GOOGLE_WEB_CLIENT_ID\u003c/string\u003e\n  \n  \u003cstring name=\"facebook_app_id\"\u003eYOUR_FACEBOOK_APP_ID\u003c/string\u003e\n  \u003cstring name=\"fb_login_protocol_scheme\"\u003eyour_fb_protocol_scheme\u003c/string\u003e\n  \u003cstring name=\"facebook_client_token\"\u003eYOUR_FACEBOOK_CLIENT_TOKEN\u003c/string\u003e\n\n  ```\n  - [Apple] Add your Apple `service-id` as manifestPlaceholders to app’s `build.gradle`\n  \n  ```properties\n  android {\n   \n  defaultConfig {\n       …\n       …\n       manifestPlaceholders = [appAuthRedirectScheme: 'YOUR_APPLE_SERVICE_ID']\n   }\n   }\n\n\n  ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcirclefin%2Fw3s-android-sample-app-wallets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcirclefin%2Fw3s-android-sample-app-wallets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcirclefin%2Fw3s-android-sample-app-wallets/lists"}