Skip to content

myplaceonline/myplaceonline_phonegap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

myplaceonline_phonegap

For details, see parent project at https://github.com/myplaceonline/myplaceonline

Local build

  • sudo npm install -g cordova

Android

  • Make sure .main is not in config.xml
  • export ANDROID_HOME=~/Android/Sdk/
  • export PATH=${ANDROID_HOME}/tools/:$PATH
  • phonegap build android
  • phonegap build android --release -- --keystore="../../lib/keys/myplaceonline_android_phonegap.keystore" --alias=myplaceonline_alias

iOS

  1. Add .main to config.xml
  2. cordova platform rm ios
  3. cordova platform add ios
  4. cordova build ios
  5. open -a Xcode platforms/ios
    1. Wait for "Indexing" to complete
    2. First time: Preferences } Accounts } Add } root@myplaceonline.com
    3. Double click on FindHumane
      1. Signing & Capabilities } Debug } Team: ...
      2. Signing & Capabilities } Release } Team: ...
      3. Signing & Capabilities } Debug } Uncheck "Automatically manage signing"
      4. Signing & Capabilities } Debug } Check "Automatically manage signing"
      5. Enable Automatic
      6. Signing & Capabilities } Debug } Team: ...
      7. Build Settings } Code Signing Identity } Release } Apple Development
    4. If you want to test in emulators, select the emulator type and click Play
    5. Next to the play/stop buttons, to the right of myplaceonline, select Build } Any iOS Device
    6. Product } Archive
    7. Click Distribute App
    8. Wait for an email that "The following build has completed processing"
    9. Go to https://appstoreconnect.apple.com/apps/
      1. Click on Myplaceonline
      2. Click on the plus button in the top left to create a new version and put in X.Y.Z
      3. Summarize updates under "What's New in This Version"
      4. If needed, update screenshots and other metadata.
        1. iPhone 14 Pro Max for 6.7" Screenshots. 1290x2796
        2. iPhone 12 Pro Max for 6.5" Screenshots
        3. iPhone 8 Plus for 5.5" Screenshots 1242x2208
        4. iPad Pro (4th Gen) for iPad Pro (3rd Gen) 12.9" Screenshots 2048x2732
        5. iPad Pro (4th Gen) for iPad Pro (2nd Gen) 12.9" Screenshots
      5. Click the button, "Select a build before you submit your app"
        1. Select Yes for encryption and Yes for exemption.
      6. Click Save
      7. Wait for the notification that the app is ready to be tested in Test Flight
      8. Test the app using Test Flight

Remote Debugging

  • Enable developer options: Settings > About phone and tap Build number seven times. Return to the previous screen to find Developer options at the bottom.
  • Enable USB debugging and Allow USB debugging in charging mode
  • Connect Phone and ensure USB debugging is enabled from the notifications
  • sudo adb start-server
  • export ANDROID_HOME=~/Android/Sdk/
  • export PATH=${ANDROID_HOME}/tools/:$PATH
  • adb shell uptime
  • Accept the security warning on the device
  • adb uninstall com.myplaceonline
  • phonegap run android --device
  • Open Chrome and go to chrome://inspect/#devices

Releases

No releases published

Packages

No packages published

Languages