- Update
PACKAGE
inapp.config.js
:- Android:
com.myplaceonline
- iOS:
com.myplaceonline.main
- Android:
- In
app.config.js
, incrementMAJOR_VERSION_NUMBER
(Android always requires that the major version is incremented), and setPATCH_VERSION_NUMBER
to the current date. git commit -am "Version X.Y.Z: Major changes"
git tag X.Y.Z
git push && git push --tags
git pull
- Update packages
- iOS
sudo rm -rf /usr/local/lib/node_modules/expo-cli/node_modules/webpack-dev-server/node_modules/fsevents/.node-gyp sudo mkdir /usr/local/lib/node_modules/expo-cli/node_modules/webpack-dev-server/node_modules/fsevents/.node-gyp sudo npm i -g --force expo expo-cli eas-cli npm install
- iOS
npx expo prebuild
- Android:
- Apply https://github.com/react-native-webview/react-native-webview/pull/3176/files
- Update
android/app/src/main/res/values/styles.xml
- Set
<item name="android:windowTranslucentStatus">true</item>
within the top section.
- Set
sudo rm -rf /tmp/metro-cache/
- Start Android Studio
- Open existing project }
$DIRECTORY/android
- Disregard the prompt to upgrade Gradle
- Wait until the build and indexing finish, and observe a CMake error
- Close Android Studio
- Start Android Studio
- Expand myplaceonline_expo } app } res } mipmap, and delete any "anydpi" files under ic_*. Uncheck "Safe delete"
- Update the app icon:
- Right click on
app
} New } Image Asset - Icon Type: Launcher Icons (Adaptive and Legacy)
- Foreground Layer } Path: /work/myplaceonline/src/myplaceonline/src/myplaceonline_expo/assets/icon.png
- Resize: 57%
- Background Layer } Color: ffffff
- Next
- Finish
- Right click on
- Add files to git: Check Don't Ask Again; Cancel
- If you want to test in emulators, run the following (or use the later instructions to install the apk):
- On Linux:
- In one terminal window:
export ANDROID_HOME=$HOME/Android/Sdk/
export PATH=${ANDROID_HOME}/platform-tools/:${PATH}
npx react-native start
- In Android studio, select the emulator type and click Play, or from another terminal window:
export ANDROID_HOME=$HOME/Android/Sdk/
export PATH=${ANDROID_HOME}/platform-tools/:${PATH}
npm run android
- In one terminal window:
- On other operating systems:
- In Android studio, select the emulator type and click Play
- Or from another terminal window:
npm run android
- On Linux:
- Stop rails dev server,
sudo systemctl stop elasticsearch postgresql
, VS Code, and any other memory intensive programs - Build } Generate Signed Bundle/APK
- Android App Bundle
- Key store path: /work/myplaceonline/src/myplaceonline/lib/keys/myplaceonline_android_phonegap.keystore
- Key store password: https://myplaceonline.com/passwords/653
- Key alias: myplaceonline_alias
- Key password: Same as above
- Next
- Destination folder: /work/myplaceonline/src/myplaceonline/lib/android/builds
- Build Variants: release
- Finish
- Do you want to add the following file to Git? } Remember, don't ask again; Cancel
cd /work/myplaceonline/src/myplaceonline/lib/android/builds/release/
export ANDROID_HOME=$HOME/Android/Sdk/
export PATH=${ANDROID_HOME}/platform-tools/:${PATH}
- Connect Android phone
adb devices
adb uninstall com.myplaceonline
- If no devices, try
adb kill-server
; otherwise, try rebooting the phone
- If no devices, try
rm *apks toc.pb universal.apk 2>/dev/null
- Download bundletool: https://developer.android.com/studio/command-line/bundletool
- Generate apks:
java -jar ~/Downloads/bundletool-all-*.jar build-apks --bundle=app-release.aab --output=app-release.apks --ks=/work/myplaceonline/src/myplaceonline/lib/keys/myplaceonline_android_phonegap.keystore --ks-key-alias myplaceonline_alias --mode=universal
- Install on Android phone:
- Simple:
java -jar ~/Downloads/bundletool-all-*.jar install-apks --apks=app-release.apks
- If installing on a more locked Android phone:
unzip app-release.apks sudo /usr/local/share/.config/yarn/global/node_modules/xdl/binaries/linux/adb/adb kill-server sudo /usr/local/share/.config/yarn/global/node_modules/xdl/binaries/linux/adb/adb start-server sudo /usr/local/share/.config/yarn/global/node_modules/xdl/binaries/linux/adb/adb devices sudo /usr/local/share/.config/yarn/global/node_modules/xdl/binaries/linux/adb/adb install universal.apk
- Simple:
- Launch app from phone launcher
- Close Android Studio
- iOS:
- Open XCode and then open
myplaceonline_expo.xcworkspace
- Wait for "Indexing" to complete
- First time: Preferences } Accounts } Add } [email protected]
- Double click on myplaceonline_expo
- Signing & Capabilities } Team: Kevin Grigorenko
- Build Phases } Bundle React Native code and images } On the first line, insert:
export EXTRA_PACKAGER_ARGS="--minify=false"
- Update the status bar style:
- myplaceonline_expo } myplaceonline_expo } Info.plist
- Set Status bar style: Dark Content
- Privacy - Location *: Zoom into your current location. We don't store your location.
- Save the file
- If you want to test in emulators, select the emulator type and click Play
- Next to the play/stop buttons, to the right of myplaceonline_expo, select Build } Any iOS Device
- Product } Archive
- Click Distribute App
- Wait for an email that "The following build has completed processing"
- Quit XCode
- There may be a Metro terminal window open. If so,
Ctrl+C
and thenEnter
to end it. - Go to https://appstoreconnect.apple.com/apps/
- Click on Myplaceonline
- Click on the plus button in the top left to create a new version and put in X.Y.Z
- Summarize updates under "What's New in This Version"
- If needed, update screenshots and other metadata.
- iPhone 14 Pro Max for 6.7" Screenshots. 1290x2796
- iPhone 12 Pro Max for 6.5" Screenshots
- iPhone 8 Plus for 5.5" Screenshots 1242x2208
- iPad Pro (4th Gen) for iPad Pro (3rd Gen) 12.9" Screenshots 2048x2732
- iPad Pro (4th Gen) for iPad Pro (2nd Gen) 12.9" Screenshots
- Click the button, "Select a build before you submit your app"
- Select Yes for encryption and Yes for exemption.
- Click Save
- Wait for the notification that the app is ready to be tested in Test Flight
- Test the app using Test Flight
- Open XCode and then open
- If the app testing is good:
- iOS:
- Go to https://appstoreconnect.apple.com/apps/
- Click on Myplaceonline
- Click Submit for Review
- Go to https://appstoreconnect.apple.com/apps/
- Android:
- Update the Android app in the Play store:
- Go to https://play.google.com/console/
- User = [email protected]
- Click on Myplaceonline
- Click on Production
- Click Create new release
- Upload aab file
- Under Release notes, summarize the updates (required)
<en-US> Various bug fixes </en-US>
- Click Save
- Click Review Release
- Click Start rollout to Production
- First time: Configure notifications to email when review is complete: All apps } Settings } Preferences
- The store listing (such as screenshots) is updated independently under Store Presence } Main store listing
- Pixel 2, Nexus 7, and Nexus 10 used for screenshots
- Update the Android app in the Play store:
- iOS:
- iOS:
git checkout -b X.Y.Z_ios
git add -A .
git commit -am "iOS build"
git push --set-upstream origin X.Y.Z_ios
- Android:
git checkout -b X.Y.Z_android
git add -A .
git commit -am "Android build"
git push --set-upstream origin X.Y.Z_android
git checkout master
git clean --force && git reset --hard && rm -rf android/ ios/
-
Notifications
You must be signed in to change notification settings - Fork 0
License
myplaceonline/myplaceonline_expo
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published