diff --git a/android/app/build.gradle b/android/app/build.gradle index a808a34e..e4330b3d 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -119,7 +119,7 @@ android { applicationId "arcade.labs.arc" minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion - versionCode 1043 + versionCode 1044 versionName "0.3.1" } diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 1976c1de..e688d4fe 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -1,32 +1,33 @@ - + + - - - - - - + + + + + + - + - - - - - - - + android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize|uiMode" + android:launchMode="singleTask" + android:windowSoftInputMode="adjustResize" + android:exported="true"> + + + + + + diff --git a/app/hooks/useRecording.ts b/app/hooks/useRecording.ts index 06642ef8..d35967c5 100644 --- a/app/hooks/useRecording.ts +++ b/app/hooks/useRecording.ts @@ -34,10 +34,12 @@ export const useRecording = (sendFunction) => { }) const uri = recording.getURI() + const theRecording = recording + console.log("Recording stopped and stored at", uri) - await uploadAudio() - console.log("uploaded audio, now setting blank") setRecording(undefined) + await uploadAudio(theRecording) + console.log("uploaded audio, now setting blank") } const toggleRecording = () => { @@ -48,7 +50,7 @@ export const useRecording = (sendFunction) => { } } - const uploadAudio = async () => { + const uploadAudio = async (recording) => { const uri = recording.getURI() console.log("Uploading " + uri) try { diff --git a/ios/arcade/Info.plist b/ios/arcade/Info.plist index f3f0cf45..50cb24d1 100644 --- a/ios/arcade/Info.plist +++ b/ios/arcade/Info.plist @@ -21,7 +21,7 @@ CFBundleSignature ???? CFBundleVersion - 12 + 13 ITSAppUsesNonExemptEncryption LSRequiresIPhoneOS diff --git a/yarn.lock b/yarn.lock index 6fe1e623..9515ebc2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3726,15 +3726,6 @@ axios@^0.21.4: dependencies: follow-redirects "^1.14.0" -axios@^1.4.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/axios/-/axios-1.4.0.tgz#38a7bf1224cd308de271146038b551d725f0be1f" - integrity sha512-S4XCWMEmzvo64T9GfvQDOXgYRDJ/wsSZc7Jvdgx5u1sd0JwsuPLqb3SYmusag+edF6ziyMensPVqLTSc1PiSEA== - dependencies: - follow-redirects "^1.15.0" - form-data "^4.0.0" - proxy-from-env "^1.1.0" - b64-lite@^1.3.1, b64-lite@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/b64-lite/-/b64-lite-1.4.0.tgz#e62442de11f1f21c60e38b74f111ac0242283d3d" @@ -6591,7 +6582,7 @@ flow-parser@^0.185.0: resolved "https://registry.yarnpkg.com/flow-parser/-/flow-parser-0.185.2.tgz#cb7ee57f77377d6c5d69a469e980f6332a15e492" integrity sha512-2hJ5ACYeJCzNtiVULov6pljKOLygy0zddoqSI1fFetM+XRPpRshFdGEijtqlamA1XwyZ+7rhryI6FQFzvtLWUQ== -follow-redirects@^1.0.0, follow-redirects@^1.14.0, follow-redirects@^1.15.0: +follow-redirects@^1.0.0, follow-redirects@^1.14.0: version "1.15.2" resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.2.tgz#b460864144ba63f2681096f274c4e57026da2c13" integrity sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA== @@ -10980,11 +10971,6 @@ proxy-addr@~2.0.7: forwarded "0.2.0" ipaddr.js "1.9.1" -proxy-from-env@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/proxy-from-env/-/proxy-from-env-1.1.0.tgz#e102f16ca355424865755d2c9e8ea4f24d58c3e2" - integrity sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg== - pseudomap@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/pseudomap/-/pseudomap-1.0.2.tgz#f052a28da70e618917ef0a8ac34c1ae5a68286b3"