Skip to content

Commit

Permalink
merge "Release 1.0" into main (#223)
Browse files Browse the repository at this point in the history
* minor css update

* clean up rotation issues

* improve layer removal

* fix small problems

* some small fixes

* update to capacitor 5

* add podfile.lock

* Update README.md

* minor css update

* update notes
  • Loading branch information
michaelchin authored Aug 3, 2023
1 parent 8ad9e35 commit 8b64e4f
Show file tree
Hide file tree
Showing 53 changed files with 1,849 additions and 504 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ https://github.com/GPlates/gplates-app/assets/2688316/50f5a6a9-56e6-44fc-a667-e1

**🔵 Clear the App storage data and cache, and then restart!!**

<img width="300" alt="clear data" src="https://github.com/GPlates/gplates-app/assets/2688316/d4d795f7-2f09-433a-b150-f03881819d7e">

### Reloading App could be useful when a bug or mishap caused the App to enter and stuck in a messy state.

For example, if you see this blue ball
Expand Down
3 changes: 2 additions & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
apply plugin: 'com.android.application'

android {
namespace "earthbyte.gplates.edu"
compileSdkVersion rootProject.ext.compileSdkVersion
defaultConfig {
applicationId "earthbyte.gplates.edu"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 3
versionCode 5
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
aaptOptions {
Expand Down
2 changes: 1 addition & 1 deletion android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="earthbyte.gplates.edu">
>

<application
android:allowBackup="true"
Expand Down
4 changes: 2 additions & 2 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.2.2'
classpath 'com.google.gms:google-services:4.3.13'
classpath 'com.android.tools.build:gradle:8.0.0'
classpath 'com.google.gms:google-services:4.3.15'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down
4 changes: 2 additions & 2 deletions android/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ org.gradle.jvmargs=-Xmx1536m
# Android operating system, and which are packaged with your app's APK
# https://developer.android.com/topic/libraries/support-library/androidx-rn
android.useAndroidX=true
# Automatically convert third-party libraries to use AndroidX
android.enableJetifier=true


2 changes: 1 addition & 1 deletion android/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https://services.gradle.org/distributions/gradle-7.4.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0.2-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
16 changes: 8 additions & 8 deletions android/variables.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ ext {
minSdkVersion = 22
compileSdkVersion = 33
targetSdkVersion = 33
androidxActivityVersion = '1.6.0-beta01'
androidxAppCompatVersion = '1.6.0-beta01'
androidxActivityVersion = '1.7.0'
androidxAppCompatVersion = '1.6.1'
androidxCoordinatorLayoutVersion = '1.2.0'
androidxCoreVersion = '1.9.0-beta01'
androidxFragmentVersion = '1.5.2'
androidxCoreVersion = '1.10.0'
androidxFragmentVersion = '1.5.6'
junitVersion = '4.13.2'
androidxJunitVersion = '1.1.3'
androidxEspressoCoreVersion = '3.4.0'
cordovaAndroidVersion = '11.0.0'
androidxJunitVersion = '1.1.5'
androidxEspressoCoreVersion = '3.5.1'
cordovaAndroidVersion = '10.1.1'
coreSplashScreenVersion = '1.0.0'
androidxWebkitVersion = '1.5.0-rc01'
androidxWebkitVersion = '1.6.1'
}
2 changes: 1 addition & 1 deletion dev-doc/NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ You need Java 11 and Android studio 2021.2.1 or newer.
The following steps worked on my Macbook Pro.

- `nvm use 18`
- `npm install`
- `npm install --legacy-peer-deps`
- `source ./set-env.sh`
- `ionic capacitor run android -l --external`
- `ionic capacitor run ios -l --external`
Expand Down
3 changes: 2 additions & 1 deletion ios/.gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
App/build
App/Pods
App/Podfile.lock
App/App/public
DerivedData
xcuserdata

# Cordova plugins for Capacitor
capacitor-cordova-ios-plugins


Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
126 changes: 12 additions & 114 deletions ios/App/App/Assets.xcassets/AppIcon.appiconset/Contents.json
Original file line number Diff line number Diff line change
@@ -1,116 +1,14 @@
{
"images": [
{
"size": "20x20",
"idiom": "iphone",
"filename": "[email protected]",
"scale": "2x"
},
{
"size": "20x20",
"idiom": "iphone",
"filename": "[email protected]",
"scale": "3x"
},
{
"size": "29x29",
"idiom": "iphone",
"filename": "[email protected]",
"scale": "2x"
},
{
"size": "29x29",
"idiom": "iphone",
"filename": "[email protected]",
"scale": "3x"
},
{
"size": "40x40",
"idiom": "iphone",
"filename": "[email protected]",
"scale": "2x"
},
{
"size": "40x40",
"idiom": "iphone",
"filename": "[email protected]",
"scale": "3x"
},
{
"size": "60x60",
"idiom": "iphone",
"filename": "[email protected]",
"scale": "2x"
},
{
"size": "60x60",
"idiom": "iphone",
"filename": "[email protected]",
"scale": "3x"
},
{
"size": "20x20",
"idiom": "ipad",
"filename": "[email protected]",
"scale": "1x"
},
{
"size": "20x20",
"idiom": "ipad",
"filename": "[email protected]",
"scale": "2x"
},
{
"size": "29x29",
"idiom": "ipad",
"filename": "[email protected]",
"scale": "1x"
},
{
"size": "29x29",
"idiom": "ipad",
"filename": "[email protected]",
"scale": "2x"
},
{
"size": "40x40",
"idiom": "ipad",
"filename": "[email protected]",
"scale": "1x"
},
{
"size": "40x40",
"idiom": "ipad",
"filename": "[email protected]",
"scale": "2x"
},
{
"size": "76x76",
"idiom": "ipad",
"filename": "[email protected]",
"scale": "1x"
},
{
"size": "76x76",
"idiom": "ipad",
"filename": "[email protected]",
"scale": "2x"
},
{
"size": "83.5x83.5",
"idiom": "ipad",
"filename": "[email protected]",
"scale": "2x"
},
{
"size": "1024x1024",
"idiom": "ios-marketing",
"filename": "[email protected]",
"scale": "1x"
"images" : [
{
"filename" : "[email protected]",
"idiom" : "universal",
"platform" : "ios",
"size" : "1024x1024"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
],
"info": {
"version": 1,
"author": "xcode"
}
}
}
4 changes: 2 additions & 2 deletions ios/App/App/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<string>1.0.1</string>
<key>CFBundleVersion</key>
<string>4</string>
<string>1</string>
<key>ITSAppUsesNonExemptEncryption</key>
<false/>
<key>LSRequiresIPhoneOS</key>
Expand Down
127 changes: 127 additions & 0 deletions ios/App/Podfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
PODS:
- Capacitor (5.0.5):
- CapacitorCordova
- CapacitorApp (5.0.3):
- Capacitor
- CapacitorBrowser (5.0.3):
- Capacitor
- CapacitorCommunityMedia (5.0.1):
- Capacitor
- SDWebImage
- CapacitorCommunitySqlite (5.0.4):
- Capacitor
- SQLCipher
- ZIPFoundation
- CapacitorCordova (5.0.5)
- CapacitorFilesystem (5.0.4):
- Capacitor
- CapacitorGeolocation (5.0.4):
- Capacitor
- CapacitorHaptics (5.0.4):
- Capacitor
- CapacitorKeyboard (5.0.4):
- Capacitor
- CapacitorNetwork (5.0.4):
- Capacitor
- CapacitorPreferences (5.0.4):
- Capacitor
- CapacitorShare (5.0.4):
- Capacitor
- CapacitorSplashScreen (5.0.4):
- Capacitor
- CapacitorStatusBar (5.0.4):
- Capacitor
- CordovaPlugins (5.1.0):
- CapacitorCordova
- SDWebImage (5.15.5):
- SDWebImage/Core (= 5.15.5)
- SDWebImage/Core (5.15.5)
- SQLCipher (4.5.1):
- SQLCipher/standard (= 4.5.1)
- SQLCipher/common (4.5.1)
- SQLCipher/standard (4.5.1):
- SQLCipher/common
- ZIPFoundation (0.9.13)

DEPENDENCIES:
- "Capacitor (from `../../node_modules/@capacitor/ios`)"
- "CapacitorApp (from `../../node_modules/@capacitor/app`)"
- "CapacitorBrowser (from `../../node_modules/@capacitor/browser`)"
- "CapacitorCommunityMedia (from `../../node_modules/@capacitor-community/media`)"
- "CapacitorCommunitySqlite (from `../../node_modules/@capacitor-community/sqlite`)"
- "CapacitorCordova (from `../../node_modules/@capacitor/ios`)"
- "CapacitorFilesystem (from `../../node_modules/@capacitor/filesystem`)"
- "CapacitorGeolocation (from `../../node_modules/@capacitor/geolocation`)"
- "CapacitorHaptics (from `../../node_modules/@capacitor/haptics`)"
- "CapacitorKeyboard (from `../../node_modules/@capacitor/keyboard`)"
- "CapacitorNetwork (from `../../node_modules/@capacitor/network`)"
- "CapacitorPreferences (from `../../node_modules/@capacitor/preferences`)"
- "CapacitorShare (from `../../node_modules/@capacitor/share`)"
- "CapacitorSplashScreen (from `../../node_modules/@capacitor/splash-screen`)"
- "CapacitorStatusBar (from `../../node_modules/@capacitor/status-bar`)"
- CordovaPlugins (from `../capacitor-cordova-ios-plugins`)

SPEC REPOS:
trunk:
- SDWebImage
- SQLCipher
- ZIPFoundation

EXTERNAL SOURCES:
Capacitor:
:path: "../../node_modules/@capacitor/ios"
CapacitorApp:
:path: "../../node_modules/@capacitor/app"
CapacitorBrowser:
:path: "../../node_modules/@capacitor/browser"
CapacitorCommunityMedia:
:path: "../../node_modules/@capacitor-community/media"
CapacitorCommunitySqlite:
:path: "../../node_modules/@capacitor-community/sqlite"
CapacitorCordova:
:path: "../../node_modules/@capacitor/ios"
CapacitorFilesystem:
:path: "../../node_modules/@capacitor/filesystem"
CapacitorGeolocation:
:path: "../../node_modules/@capacitor/geolocation"
CapacitorHaptics:
:path: "../../node_modules/@capacitor/haptics"
CapacitorKeyboard:
:path: "../../node_modules/@capacitor/keyboard"
CapacitorNetwork:
:path: "../../node_modules/@capacitor/network"
CapacitorPreferences:
:path: "../../node_modules/@capacitor/preferences"
CapacitorShare:
:path: "../../node_modules/@capacitor/share"
CapacitorSplashScreen:
:path: "../../node_modules/@capacitor/splash-screen"
CapacitorStatusBar:
:path: "../../node_modules/@capacitor/status-bar"
CordovaPlugins:
:path: "../capacitor-cordova-ios-plugins"

SPEC CHECKSUMS:
Capacitor: b1248915663add1bd6567e2b67c1c1fa3abcf5e8
CapacitorApp: 7a5dec8b33573707164b293475d5c89ba684364a
CapacitorBrowser: 2688852d02f1e89560a31b70521c71a5e7348860
CapacitorCommunityMedia: 5724be7d15d5dbfeb704657c2a8ac5af718f5009
CapacitorCommunitySqlite: e233665bd5f282483dd7fda96868002d003bdf58
CapacitorCordova: f8c06b897c74ee8f7701fe10e6443b40822bc83a
CapacitorFilesystem: e1bdfab09b95b181c844c16abcfda45ec8e8ed6b
CapacitorGeolocation: 33015be1ef496585a60da9efa1c5642ff8624db3
CapacitorHaptics: e36653b37326d71bb35ae42b944124037dbc3d97
CapacitorKeyboard: d1b25fde6f19744ad09c890862aefc6e2a7ded3d
CapacitorNetwork: e2bd0bf1614aca34bb976f125a756a8a3df1c81a
CapacitorPreferences: 82a9ecf5355283a3b3cf7ac217d8c5534c4dee8a
CapacitorShare: 427bba238a1e3f116b2b349019aec6ea7f42cebd
CapacitorSplashScreen: 93a389d4f7673c08214ae25bb6f21d867d5305c5
CapacitorStatusBar: 190e0321b8734f4244d0c81baa183a00d5806ddf
CordovaPlugins: cd41fec5db5ae1994e9d3e5b1df806ddc91bb946
SDWebImage: fd7e1a22f00303e058058278639bf6196ee431fe
SQLCipher: 712e8416685e8e575b9b0706ffee71678b2fdcf8
ZIPFoundation: ae5b4b813d216d3bf0a148773267fff14bd51d37

PODFILE CHECKSUM: 2f2990d97565df825952f09b25b8b20d119fc833

COCOAPODS: 1.12.1
Loading

0 comments on commit 8b64e4f

Please sign in to comment.