React Native: 0.62.4 with expo SDK
AccountTemplate is separated from a third-party project for aelf.
npm run postinstall
Expo: https://docs.expo.io/
npm install --global expo-cli
Follow this doc: https://reactnative.cn/docs/getting-started.
https://reactnative.dev/docs/running-on-device
iOS: please config Signing & Capabilities in xCode.
If you copy the package.json from this project.
# iOS
FYI AppDelegate.h AppDelegate.h.m Podfile Info.plist Image.scassets
# Android
FYI MainApplication.java android/settings.gradle android/app/build.gradle android/build.gradle AndroidManifest.xml:
# You can get more information of config from the different components docs of this project.
Each Expo SDK version depends on a React Native version
https://docs.expo.io/versions/latest/
https://github.com/unimodules/react-native-unimodules
FYI: https://reactnative.dev/docs/signed-apk-android#generating-the-release-apk
We set a default keystore for you in android/app/src
#file: aelf-template-key.keystore #password: loveaelf #alias: my-key-alias
https://wiki.genexus.com/commwiki/servlet/wiki?34616,HowTo%3A+Create+an+.ipa+file+from+XCode
Make sure you install the dependencies for react-native.
You can follow this doc: https://reactnative.cn/docs/getting-started.
You can find more operations in build&publish.md.
# Install the latest Xcode command line tools:
xcode-select --install
# Install fastlane using
## Using RubyGems
sudo gem install fastlane -NV
## Alternatively using Homebrew
brew install fastlane
# Navigate to your iOS or Android app and find fastlane
# Android
set your own json_key_file & package_name in Appfile
set your api_token & dingtalk_access_token in Fastfile
# iOS
set your own app_identifier & apple_id & itc_team_id & team_id
set your api_token & dingtalk_access_token in Fastfile
## Check Matchfile, use your own storage to manage certificates & provisioning profiles.
## git_url("https://github.com/hzz780/fastlane-certificates")
# build & publish
npm run firmim
# npm run firim:android
# npm run firim:ios
1.On the Firebase console, add a new Android application and enter your projects details.
2.Download the google-services.json file
3.Replace : /android/app/google-services.json.
1.On the Firebase console, add a new iOS application and enter your projects details.
2.Download the GoogleService-Info.plist file.
3.Replace : ios/GoogleService-Info.plist.
https://rnfirebase.io/crashlytics/usage
#please delete any existing fastlane cookies. The authentication endpoint has changed recently
rm $HOME/.fastlane/spaceship/*/cookie