All Projects → wuba → taro-playground

wuba / taro-playground

Licence: Apache-2.0 License
The Taro Playground App is a cross-platform application developed using Taro, to help developers develop and debug Taro applications.

Programming Languages

typescript
32286 projects
SCSS
7915 projects
objective c
16641 projects - #2 most used programming language
kotlin
9241 projects
javascript
184084 projects - #8 most used programming language
ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to taro-playground

Shuttle
Easily create native mobile applications.
Stars: ✭ 36 (+9.09%)
Mutual labels:  app, developer-tools
Playalways
Create Xcode playgrounds from your menu bar
Stars: ✭ 515 (+1460.61%)
Mutual labels:  playground, developer-tools
Expo Native Firebase
🔥 Native Firebase Expo App (iOS, Android) Demo for Firestore, Notifications, Analytics, Storage, Messaging, Database 🚨
Stars: ✭ 197 (+496.97%)
Mutual labels:  app, expo
Galio
Galio is a beautifully designed, Free and Open Source React Native Framework
Stars: ✭ 2,772 (+8300%)
Mutual labels:  react-native-app, expo
mp-framework-benchmark
mp-framework-benchmark
Stars: ✭ 49 (+48.48%)
Mutual labels:  miniprogram, taro
Devdocs
API Documentation Browser
Stars: ✭ 27,208 (+82348.48%)
Mutual labels:  app, developer-tools
Ember Twiddle
JSFiddle type thing for ember-cli style code
Stars: ✭ 269 (+715.15%)
Mutual labels:  playground, developer-tools
Appstat
Get AppStore apps stats
Stars: ✭ 322 (+875.76%)
Mutual labels:  app, developer-tools
taro-tax
taro版个税小程序
Stars: ✭ 12 (-63.64%)
Mutual labels:  miniprogram, taro
photos
"Fx Fotos" is an opensource gallery app in react native with the same smoothness and features of Google Photos and Apple Photos. It is backend gnostic and connects to decentralized backends like "box", "Dfinity", "Filecoin" and "Crust".
Stars: ✭ 620 (+1778.79%)
Mutual labels:  react-native-app, expo
Dribbble2react
Transform Dribbble designs to React-Native code | Shop UI Kit >>
Stars: ✭ 2,443 (+7303.03%)
Mutual labels:  react-native-app, expo
react-native-login-screen-android-ios
React Native Login Screen for Android & iOS
Stars: ✭ 143 (+333.33%)
Mutual labels:  react-native-app, expo
Pillar Valley
👾A cross-platform video game built with Expo, three.js, and Firebase! 🎮🕹
Stars: ✭ 242 (+633.33%)
Mutual labels:  app, expo
Omdb Graphql Wrapper
🚀 GraphQL wrapper for the OMDb API
Stars: ✭ 45 (+36.36%)
Mutual labels:  playground, app
RecordingSample
Recording Sample by React Native
Stars: ✭ 27 (-18.18%)
Mutual labels:  fastlane, react-native-app
react-native-react-bridge
An easy way to integrate your React (or Preact) app into React Native app with WebView.
Stars: ✭ 84 (+154.55%)
Mutual labels:  metro, expo
email-concealer-cli
CLI tool for concealing e-mails in a file by replacing their domain
Stars: ✭ 30 (-9.09%)
Mutual labels:  developer-tools
UsingPlayground
👶 Demo how to use Playground
Stars: ✭ 25 (-24.24%)
Mutual labels:  playground
IndianComedyapp
Indian Comedy shows.This app contains all Indian famous comedy videos.you can download and watch all your favorite comedy videos .the database used here is mysqli and for connection I used php.this app also contains a funny comedy timeline like fb. Used Json and Volley library for Loading datin in a very fast way also provides Cache during offil…
Stars: ✭ 13 (-60.61%)
Mutual labels:  app
smart-home-neomorphism-app
Smart Home app ui design in a neomorphism style.
Stars: ✭ 82 (+148.48%)
Mutual labels:  app

Taro Playground App

The Taro Playground App is a cross-platform application developed using Taro, to help developers develop and debug Taro applications. It is initialized using taro react native template.

App Download

Android iOS
https://github.com/wuba/taro-playground/releases https://apps.apple.com/cn/app/taro-playground/id1576830673

Supportted versions

  1. taro: @tarojs/cli@^3.2.0
  2. framework: 'react'
Taro version React Native version branch
>= 3.2.0, <= 3.3.9 0.64 releases/rn-0.64+taro-3.3.9
>= 3.3.10 0.66 main

Quick start

install react native library

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.

run this script after the project is initialized.

yarn upgradePeerdeps

pod install

run this script when you add new react native library or update react native library version.

see pod-install for more information.

yarn podInstall

start ios app

yarn ios

start android app

yarn android

start bundler

yarn start

reset cache and start bundler

yarn start --reset-cache

more information

  1. development process of taro react native
  2. github address of the taro project
  3. related articles of taro playground

Release

build ios bundle

yarn build:rn --platform ios

build Android bundle

yarn build:rn --platform android

release ios APP

see publishing-to-app-store for details.

release android apk

see signed-apk-android for details.

Github workflows

use github actions to build your apps. this template include basic github action config.

see .github/workflows for details.

events

we assemble debug and release product for both android and ios when you push or pull request on master branch by default. design your own pipeline by modify .github/workflows files.

see events-that-trigger-workflows

ios

configuration

Modify the following configuration items for package and publish your app.

.github/workflows/assemble_ios_debug.yml .github/workflows/assemble_ios_release.yml

env:
  APP_ID: com.taro.demo # Application Product Bundle Identifier
  APP_NAME: Taro Demo # The Display Name of your app
  IOS_VERSION_NUMBER: 1.0.0 # Application version number
  IOS_BUILD_NUMBER: 1.0.0.0 # Application build number, used by release only.
  IOS_TEAM_ID: XXXXXXXXXX # Team ID, is used when upgrading project
  IOS_PROVISIONING_PROFILE_SPECIFIER: Product_profile # Provisioning profile name to use for code signing
  IOS_CODE_SIGN_IDENTITY: iPhone Distribution # Code signing identity type (iPhone Developer, iPhone Distribution)
  IOS_SIGNING_CERTIFICATE_P12_DATA: ${{secrets.RELEASE_SIGNING_CERTIFICATE_P12_DATA}}
  IOS_SIGNING_CERTIFICATE_PASSWORD: ${{secrets.RELEASE_SIGNING_CERTIFICATE_PASSWORD}}
  IOS_PROVISIONING_PROFILE_DATA: ${{secrets.RELEASE_PROVISIONING_PROFILE_DATA}}
  IOS_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.
  IOS_APP_STORE_CONNECT_PASSWORD: ${{secrets.APP_STORE_CONNECT_PASSWORD}} # used by release only.

values like ${{secrets.xxxxx}} are manually generated and store in your github encrypted secrets.

SIGNING_CERTIFICATE_P12_DATA

cat Certificates.p12 | base64 | pbcopy

SIGNING_CERTIFICATE_PASSWORD

encryption password of your Personal Information Exchange (.p12)

PROVISIONING_PROFILE_DATA

cat profile.mobileprovision | base64 | pbcopy

APP_STORE_CONNECT_PASSWORD

This secret should be set to an application-specific password for your Apple ID account. Follow these instructions to create an application-specific password.

read more

  1. deploy an ios app to testflight or the app store using github actions
  2. encrypted-secrets
  3. fastlane

android

configuration

Modify the following configuration items for package and publish your app.

.github/workflows/assemble_android_debug.yml .github/workflows/assemble_android_release.yml

env:
  APP_ID: com.taro.demo  # Application Product Bundle Identifier
  APP_NAME: Taro Demo  # The Display Name of your app
  ANDROID_VERSION_NAME: 1.0.0 # version name
  ANDROID_VERSION_CODE: 10 # version code
  ANDROID_KEYSTORE_FILE: debug.keystore # key store file
  ANDROID_KEYSTORE_PASSWORD: android # key store password
  ANDROID_KEYSTORE_KEY_ALIAS: androiddebugkey # key store key alias
  ANDROID_KEYSTORE_KEY_PASSWORD: android # key store key password

For the security of your app, please regenerate the .keystore file and store the password in your github encrypted secrets.

read more

  1. app signing
  2. encrypted-secrets

Attention

The source code is customized for the Taro playground application and is for reference only. If you want to use it directly, please make the following changes.

  1. Use your own signature file.
  2. Customize your app id, app name, app launcher, etc.
  3. Remove the attention block in ios/Podfile.

Contributing

We sincerely hope that developers can provide valuable comments and suggestions, and developers can provide feedback on suggestions and problems by submitting PR or Issue.

If you have other questions, you can join the communication group for help.

License

Taro Playground source code is available under the Apache License V2.

Taro and its graphic trademarks are owned by Beijing Jingdong Century Trading Co., Ltd. and licensed to the Taro Playground project.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].