{"id":16454093,"url":"https://github.com/zhiqingchen/taro-test","last_synced_at":"2025-04-28T06:32:30.375Z","repository":{"id":37928685,"uuid":"503313230","full_name":"zhiqingchen/taro-test","owner":"zhiqingchen","description":"Taro init test","archived":false,"fork":false,"pushed_at":"2024-07-31T08:34:00.000Z","size":4754,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-10-29T23:40:54.858Z","etag":null,"topics":["android-app","ios-app","react","react-native","taro"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zhiqingchen.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2022-06-14T10:33:08.000Z","updated_at":"2024-09-22T11:14:33.000Z","dependencies_parsed_at":"2023-11-06T04:23:08.753Z","dependency_job_id":"f384f70f-6858-43c7-b594-9911645eb3e5","html_url":"https://github.com/zhiqingchen/taro-test","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhiqingchen%2Ftaro-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhiqingchen%2Ftaro-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhiqingchen%2Ftaro-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhiqingchen%2Ftaro-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zhiqingchen","download_url":"https://codeload.github.com/zhiqingchen/taro-test/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224099572,"owners_count":17255578,"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":["android-app","ios-app","react","react-native","taro"],"created_at":"2024-10-11T10:17:57.961Z","updated_at":"2024-11-11T12:06:35.919Z","avatar_url":"https://github.com/zhiqingchen.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"React Native Template for Taro\n====\n\n## requirement\n\n0. taro: `@tarojs/cli@^3.5.0`\n1. framework: 'react'\n## quick start\n\n### install react native library\n\u003e install peerDependencies of `@tarojs/taro-rn` `@tarojs/components-rn` and `@tarojs/router-rn`, it will also run `post-install`. please modify and run `upgradePeerdeps` script when you change taro version.\n\u003e \n\u003e **run this script after project inited.**\n\n`pnpm upgradePeerdeps`\n\n### pod install\n\u003e run this script when you add new react native library or update react native library version.\n\u003e \n\u003e see [pod-install](https://www.npmjs.com/package/pod-install) for more infomation.\n\n`pnpm podInstall`\n\n### start ios app\n\n`pnpm ios`\n\n### start android app\n\n`pnpm android`\n\n### start bundler\n\n`pnpm start`\n\n### more infomations\n\n0. [development process of taro react native](https://docs.taro.zone/docs/next/react-native)\n1. [github](https://github.com/NervJS/taro)\n\n## release\n\n### build ios bundle\n\n`pnpm build:rn --platform ios`\n\n### build Android bundle\n\n`pnpm build:rn --platform android`\n\n### release ios APP\n\nsee [publishing-to-app-store](https://reactnative.cn/docs/publishing-to-app-store) for details.\n\n### release android apk\n\nsee [signed-apk-android](https://reactnative.cn/docs/signed-apk-android) for details.\n\n## github workflows\n\u003e use github actions to build your apps. this template include basic github action config.\n\nsee [.github/workflows](.github/workflows) for details.\n\n### events\n\nwe assemble debug and release product for both android and ios when you push or pull request on master branch by default. design your own workflows by modify [.github/workflows](.github/workflows) files.\n\nsee [events-that-trigger-workflows](https://docs.github.com/en/actions/reference/events-that-trigger-workflows) \n### ios\n\n#### configuration\n\nModify the following configuration items for package and publish your app.\n\n\u003e [.github/workflows/assemble_ios_debug.yml](.github/workflows/assemble_ios_debug.yml)\n\u003e [.github/workflows/assemble_ios_release.yml](.github/workflows/assemble_ios_release.yml)\n\n```yml\nenv:\n  APP_ID: com.taro.demo # Application Product Bundle Identifier\n  APP_NAME: Taro Demo # The Display Name of your app\n  VERSION_NUMBER: 1.0.0 # Application version number\n  BUILD_NUMBER: 1.0.0.0 # Application build number, used by release only.\n  TEAM_ID: XXXXXXXXXX # Team ID, is used when upgrading project\n  PROVISIONING_PROFILE_SPECIFIER: Product_profile # Provisioning profile name to use for code signing\n  CODE_SIGN_IDENTITY: iPhone Distribution # Code signing identity type (iPhone Developer, iPhone Distribution)\n  SIGNING_CERTIFICATE_P12_DATA: ${{secrets.RELEASE_SIGNING_CERTIFICATE_P12_DATA}}\n  SIGNING_CERTIFICATE_PASSWORD: ${{secrets.RELEASE_SIGNING_CERTIFICATE_PASSWORD}}\n  PROVISIONING_PROFILE_DATA: ${{secrets.RELEASE_PROVISIONING_PROFILE_DATA}}\n  APP_STORE_CONNECT_USERNAME: ${{secrets.APP_STORE_CONNECT_USERNAME}} # This secret should be set to the Apple ID of your developer account, used by release only.\n  APP_STORE_CONNECT_PASSWORD: ${{secrets.APP_STORE_CONNECT_PASSWORD}} # used by release only.\n```\n\nvalues like ${{secrets.xxxxx}} are manually generated and store in your github encrypted secrets.\n\n##### SIGNING_CERTIFICATE_P12_DATA\n\n`cat Certificates.p12 | base64 | pbcopy`\n\n##### SIGNING_CERTIFICATE_PASSWORD\n\nencryption password of your Personal Information Exchange (.p12)\n\n##### PROVISIONING_PROFILE_DATA\n\n`cat profile.mobileprovision | base64 | pbcopy`\n\n##### APP_STORE_CONNECT_PASSWORD\n\nThis secret should be set to an application-specific password for your Apple ID account. Follow [these instructions](https://support.apple.com/en-us/HT204397) to create an application-specific password.\n\n#### Read more\n\n1. [deploy an ios app to testflight or the app store using github actions](https://betterprogramming.pub/deploy-an-ios-app-to-testflight-or-the-app-store-using-github-actions-c4d7082b1430)\n2. [encrypted-secrets](https://docs.github.com/en/actions/reference/encrypted-secrets)\n3. [fastlane](https://docs.fastlane.tools/)\n\n### android\n\n#### configuration\n\nModify the following configuration items for package and publish your app.\n\n\u003e [.github/workflows/assemble_android_debug.yml](.github/workflows/assemble_android_debug.yml)\n\u003e [.github/workflows/assemble_android_release.yml](.github/workflows/assemble_android_release.yml)\n\n```yml\nenv:\n  APP_ID: com.taro.demo  # Application Product Bundle Identifier\n  APP_NAME: Taro Demo  # The Display Name of your app\n  APP_ICON: ic_launcher  # The Application icon of your app\n  APP_ROUND_ICON: ic_launcher_round  # The Application round icon of your app\n  APP_ABI_FILTERS: armeabi-v7a, arm64-v8a # App abi filters\n  VERSION_NAME: 1.0.0 # version name\n  VERSION_CODE: 10 # version code\n  KEYSTORE_FILE: debug.keystore # key store file\n  KEYSTORE_PASSWORD: android # key store password\n  KEYSTORE_KEY_ALIAS: androiddebugkey # key store key alias\n  KEYSTORE_KEY_PASSWORD: android # key store key password\n```\n\nFor the security of your app, please regenerate the .keystore file and store the password in your github encrypted secrets.\n#### Read more\n\n1. [app signing](https://developer.android.com/studio/publish/app-signing)\n2. [encrypted-secrets](https://docs.github.com/en/actions/reference/encrypted-secrets)\n\n## links\n\n0. [template source code](https://github.com/NervJS/taro-project-templates/tree/v4.0/react-native)\n1. [sample project](https://github.com/wuba/taro-playground)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhiqingchen%2Ftaro-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzhiqingchen%2Ftaro-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhiqingchen%2Ftaro-test/lists"}