diff --git a/.gitignore b/.gitignore index 3f6aea85..89cb61e0 100644 --- a/.gitignore +++ b/.gitignore @@ -42,4 +42,7 @@ build .env -/src-capacitor/android/app/google-services.json \ No newline at end of file +/src-capacitor/android/app/google-services.json + +/@capacitor/android/capacitor/.gradle +/@capacitor/android/capacitor/.settings diff --git a/@capacitor/android/capacitor/.gradle/8.8/checksums/checksums.lock b/@capacitor/android/capacitor/.gradle/8.8/checksums/checksums.lock deleted file mode 100644 index 41aee061..00000000 Binary files a/@capacitor/android/capacitor/.gradle/8.8/checksums/checksums.lock and /dev/null differ diff --git a/@capacitor/android/capacitor/.gradle/8.8/checksums/md5-checksums.bin b/@capacitor/android/capacitor/.gradle/8.8/checksums/md5-checksums.bin deleted file mode 100644 index 83158ff1..00000000 Binary files a/@capacitor/android/capacitor/.gradle/8.8/checksums/md5-checksums.bin and /dev/null differ diff --git a/@capacitor/android/capacitor/.gradle/8.8/checksums/sha1-checksums.bin b/@capacitor/android/capacitor/.gradle/8.8/checksums/sha1-checksums.bin deleted file mode 100644 index 3ded0464..00000000 Binary files a/@capacitor/android/capacitor/.gradle/8.8/checksums/sha1-checksums.bin and /dev/null differ diff --git a/@capacitor/android/capacitor/.gradle/8.8/dependencies-accessors/gc.properties b/@capacitor/android/capacitor/.gradle/8.8/dependencies-accessors/gc.properties deleted file mode 100644 index e69de29b..00000000 diff --git a/@capacitor/android/capacitor/.gradle/8.8/fileChanges/last-build.bin b/@capacitor/android/capacitor/.gradle/8.8/fileChanges/last-build.bin deleted file mode 100644 index f76dd238..00000000 Binary files a/@capacitor/android/capacitor/.gradle/8.8/fileChanges/last-build.bin and /dev/null differ diff --git a/@capacitor/android/capacitor/.gradle/8.8/fileHashes/fileHashes.lock b/@capacitor/android/capacitor/.gradle/8.8/fileHashes/fileHashes.lock deleted file mode 100644 index 8d459426..00000000 Binary files a/@capacitor/android/capacitor/.gradle/8.8/fileHashes/fileHashes.lock and /dev/null differ diff --git a/@capacitor/android/capacitor/.gradle/8.8/gc.properties b/@capacitor/android/capacitor/.gradle/8.8/gc.properties deleted file mode 100644 index e69de29b..00000000 diff --git a/@capacitor/android/capacitor/.gradle/8.9/checksums/checksums.lock b/@capacitor/android/capacitor/.gradle/8.9/checksums/checksums.lock deleted file mode 100644 index 339e71d7..00000000 Binary files a/@capacitor/android/capacitor/.gradle/8.9/checksums/checksums.lock and /dev/null differ diff --git a/@capacitor/android/capacitor/.gradle/8.9/checksums/md5-checksums.bin b/@capacitor/android/capacitor/.gradle/8.9/checksums/md5-checksums.bin deleted file mode 100644 index 63e085bf..00000000 Binary files a/@capacitor/android/capacitor/.gradle/8.9/checksums/md5-checksums.bin and /dev/null differ diff --git a/@capacitor/android/capacitor/.gradle/8.9/checksums/sha1-checksums.bin b/@capacitor/android/capacitor/.gradle/8.9/checksums/sha1-checksums.bin deleted file mode 100644 index 76c72ef2..00000000 Binary files a/@capacitor/android/capacitor/.gradle/8.9/checksums/sha1-checksums.bin and /dev/null differ diff --git a/@capacitor/android/capacitor/.gradle/8.9/fileHashes/fileHashes.lock b/@capacitor/android/capacitor/.gradle/8.9/fileHashes/fileHashes.lock deleted file mode 100644 index 26964b4a..00000000 Binary files a/@capacitor/android/capacitor/.gradle/8.9/fileHashes/fileHashes.lock and /dev/null differ diff --git a/@capacitor/android/capacitor/.gradle/buildOutputCleanup/buildOutputCleanup.lock b/@capacitor/android/capacitor/.gradle/buildOutputCleanup/buildOutputCleanup.lock deleted file mode 100644 index fdccfc99..00000000 Binary files a/@capacitor/android/capacitor/.gradle/buildOutputCleanup/buildOutputCleanup.lock and /dev/null differ diff --git a/@capacitor/android/capacitor/.gradle/buildOutputCleanup/cache.properties b/@capacitor/android/capacitor/.gradle/buildOutputCleanup/cache.properties deleted file mode 100644 index d167b35e..00000000 --- a/@capacitor/android/capacitor/.gradle/buildOutputCleanup/cache.properties +++ /dev/null @@ -1,2 +0,0 @@ -#Sun Aug 04 19:10:26 UTC 2024 -gradle.version=8.8 diff --git a/@capacitor/android/capacitor/.gradle/vcs-1/gc.properties b/@capacitor/android/capacitor/.gradle/vcs-1/gc.properties deleted file mode 100644 index e69de29b..00000000 diff --git a/@capacitor/android/capacitor/.settings/org.eclipse.buildship.core.prefs b/@capacitor/android/capacitor/.settings/org.eclipse.buildship.core.prefs deleted file mode 100644 index 278010ab..00000000 --- a/@capacitor/android/capacitor/.settings/org.eclipse.buildship.core.prefs +++ /dev/null @@ -1,13 +0,0 @@ -arguments=--init-script /home/gitpod/.vscode-server/data/User/globalStorage/redhat.java/1.33.0/config_linux/org.eclipse.osgi/55/0/.cp/gradle/init/init.gradle --init-script /home/gitpod/.vscode-server/data/User/globalStorage/redhat.java/1.33.0/config_linux/org.eclipse.osgi/55/0/.cp/gradle/protobuf/init.gradle -auto.sync=false -build.scans.enabled=false -connection.gradle.distribution=GRADLE_DISTRIBUTION(LOCAL_INSTALLATION(/home/gitpod/.sdkman/candidates/gradle/current)) -connection.project.dir= -eclipse.preferences.version=1 -gradle.user.home=/workspace/.gradle -java.home=/home/gitpod/.sdkman/candidates/java/11.0.23.fx-zulu -jvm.arguments= -offline.mode=false -override.workspace.settings=true -show.console.view=true -show.executions.view=true diff --git a/src/boot/patch-request.ts b/src/boot/patch-request.ts index 42f15d34..a7aefc97 100644 --- a/src/boot/patch-request.ts +++ b/src/boot/patch-request.ts @@ -1,4 +1,3 @@ import "src/logic/patch-request" -if (!("CapacitorWebFetch" in self)) - self.CapacitorWebFetch = fetch +if (!("CapacitorWebFetch" in self)) window.CapacitorWebFetch = fetch diff --git a/src/logic/patch-request.ts b/src/logic/patch-request.ts index e85e04da..2162d578 100644 --- a/src/logic/patch-request.ts +++ b/src/logic/patch-request.ts @@ -1,6 +1,6 @@ window.Request = class extends Request { readonly headers: Headers - constructor(url, initParams) { + constructor(url: RequestInfo | URL, initParams?: RequestInit) { super(url, initParams) this.headers = new Headers(initParams?.headers) }