diff --git a/.changeset/great-toes-change.md b/.changeset/great-toes-change.md new file mode 100644 index 00000000..654075ca --- /dev/null +++ b/.changeset/great-toes-change.md @@ -0,0 +1,7 @@ +--- +"@capacitor/background-runner": major +"example-app-spm": patch +"example-app": patch +--- + +chore!: Align plugin baselines with core diff --git a/.github/actions/setup-tools/action.yml b/.github/actions/setup-tools/action.yml index 092d3763..5279a6ee 100644 --- a/.github/actions/setup-tools/action.yml +++ b/.github/actions/setup-tools/action.yml @@ -11,18 +11,18 @@ runs: using: "composite" steps: - name: Install Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v7 with: - node-version: 18 + node-version: 24 - - name: Install Java17 - uses: actions/setup-java@v3 + - name: Install Java21 + uses: actions/setup-java@v5 with: - distribution: "temurin" - java-version: "17" + distribution: "zulu" + java-version: "21" - name: Install PNPM - uses: pnpm/action-setup@v4 + uses: pnpm/action-setup@v6 id: pnpm-install with: version: 10 @@ -36,7 +36,7 @@ runs: - name: Setup PNPM cache id: cache-pnpm-store - uses: actions/cache@v3 + uses: actions/cache@v6 env: STORE_PATH: ${{ env.STORE_PATH }} with: diff --git a/.github/workflows/release-cocoapods.yml b/.github/workflows/release-cocoapods.yml index 027498d2..a89c6978 100644 --- a/.github/workflows/release-cocoapods.yml +++ b/.github/workflows/release-cocoapods.yml @@ -14,7 +14,7 @@ jobs: runs-on: macos-15 timeout-minutes: 30 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v7 - run: sudo xcode-select --switch /Applications/Xcode_14.1.app - name: Install build dependencies run: gem install cocoapods diff --git a/.github/workflows/release-pr.yml b/.github/workflows/release-pr.yml index e7eda5bf..7197eaab 100644 --- a/.github/workflows/release-pr.yml +++ b/.github/workflows/release-pr.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Repo - uses: actions/checkout@v3 + uses: actions/checkout@v7 - name: 'Setup Tools' uses: ./.github/actions/setup-tools diff --git a/.github/workflows/reusable_build-packages.yml b/.github/workflows/reusable_build-packages.yml index cac6ca37..8bf3c8ce 100644 --- a/.github/workflows/reusable_build-packages.yml +++ b/.github/workflows/reusable_build-packages.yml @@ -8,10 +8,10 @@ on: jobs: build: - runs-on: "ubuntu-22.04" + runs-on: ubuntu-latest timeout-minutes: 30 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v7 with: fetch-depth: 0 token: ${{ secrets.CAP_GH_RELEASE_TOKEN || github.token }} @@ -19,15 +19,10 @@ jobs: - name: "Setup Tools" uses: ./.github/actions/setup-tools - - uses: nrwl/nx-set-shas@v3 + - uses: nrwl/nx-set-shas@v5 with: main-branch-name: "main" - - uses: actions/setup-java@v3 - with: - distribution: "temurin" - java-version: "17" - - name: "Build Packages" shell: bash run: | diff --git a/.github/workflows/reusable_lint-packages.yml b/.github/workflows/reusable_lint-packages.yml index 2d5c7fb9..c6c80b4a 100644 --- a/.github/workflows/reusable_lint-packages.yml +++ b/.github/workflows/reusable_lint-packages.yml @@ -8,10 +8,10 @@ on: jobs: lint: - runs-on: "macos-15" + runs-on: ubuntu-latest timeout-minutes: 30 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v7 with: fetch-depth: 0 token: ${{ secrets.CAP_GH_RELEASE_TOKEN || github.token }} @@ -19,7 +19,7 @@ jobs: - name: "Setup Tools" uses: ./.github/actions/setup-tools - - uses: nrwl/nx-set-shas@v3 + - uses: nrwl/nx-set-shas@v5 with: main-branch-name: "main" diff --git a/.github/workflows/reusable_release-npm.yml b/.github/workflows/reusable_release-npm.yml index f87b658e..cefe2451 100644 --- a/.github/workflows/reusable_release-npm.yml +++ b/.github/workflows/reusable_release-npm.yml @@ -19,10 +19,10 @@ on: jobs: release: - runs-on: 'ubuntu-22.04' + runs-on: ubuntu-latest timeout-minutes: 30 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v7 with: fetch-depth: 0 token: ${{ secrets.CAP_GH_RELEASE_TOKEN }} diff --git a/.github/workflows/reusable_setup.yml b/.github/workflows/reusable_setup.yml index 44f36d79..7ed8ac5a 100644 --- a/.github/workflows/reusable_setup.yml +++ b/.github/workflows/reusable_setup.yml @@ -10,20 +10,15 @@ jobs: setup: strategy: matrix: - os: ["ubuntu-22.04", "macos-15"] + os: ["ubuntu-latest", "macos-15"] runs-on: ${{ matrix.os }} timeout-minutes: 30 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v7 with: fetch-depth: 0 token: ${{ secrets.CAP_GH_RELEASE_TOKEN || github.token }} - - uses: actions/setup-java@v3 - with: - distribution: "temurin" - java-version: "17" - - name: "Setup Tools" uses: ./.github/actions/setup-tools with: diff --git a/.github/workflows/reusable_unit-tests.yml b/.github/workflows/reusable_unit-tests.yml index 0cefc1f1..ffd00628 100644 --- a/.github/workflows/reusable_unit-tests.yml +++ b/.github/workflows/reusable_unit-tests.yml @@ -14,12 +14,12 @@ jobs: - run: sudo xcode-select --switch /Applications/Xcode_26.0.app - run: xcrun simctl list > /dev/null - run: xcodebuild -downloadPlatform iOS - - uses: actions/checkout@v3 + - uses: actions/checkout@v7 with: fetch-depth: 0 token: ${{ secrets.CAP_GH_RELEASE_TOKEN || github.token }} - name: Install PNPM - uses: pnpm/action-setup@v4 + uses: pnpm/action-setup@v6 id: pnpm-install with: version: 10 @@ -35,7 +35,7 @@ jobs: runs-on: macos-15-intel timeout-minutes: 30 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v7 with: fetch-depth: 0 token: ${{ secrets.CAP_GH_RELEASE_TOKEN || github.token }} diff --git a/apps/example-app-spm/ios/App/App.xcodeproj/project.pbxproj b/apps/example-app-spm/ios/App/App.xcodeproj/project.pbxproj index 1475d702..6fba8428 100644 --- a/apps/example-app-spm/ios/App/App.xcodeproj/project.pbxproj +++ b/apps/example-app-spm/ios/App/App.xcodeproj/project.pbxproj @@ -230,7 +230,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 15.6; + IPHONEOS_DEPLOYMENT_TARGET = 16.0; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; @@ -281,7 +281,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 15.6; + IPHONEOS_DEPLOYMENT_TARGET = 16.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; SWIFT_COMPILATION_MODE = wholemodule; @@ -298,7 +298,7 @@ CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 1; INFOPLIST_FILE = App/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 15.6; + IPHONEOS_DEPLOYMENT_TARGET = 16.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", @@ -320,7 +320,7 @@ CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 1; INFOPLIST_FILE = App/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 15.6; + IPHONEOS_DEPLOYMENT_TARGET = 16.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", diff --git a/apps/example-app-spm/ios/App/App.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/apps/example-app-spm/ios/App/App.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved index 4c20ad1e..bf1c40fd 100644 --- a/apps/example-app-spm/ios/App/App.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/apps/example-app-spm/ios/App/App.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -1,13 +1,13 @@ { - "originHash" : "cced83d6d979b4feabdde112bf90a587946dc5819231f7aa487539ce13becc3d", + "originHash" : "799a505df10b216fc01825855aec8cd3c2d04e3d7b4928e7dab033054e423f52", "pins" : [ { "identity" : "capacitor-swift-pm", "kind" : "remoteSourceControl", "location" : "https://github.com/ionic-team/capacitor-swift-pm.git", "state" : { - "revision" : "596259033e94829dffc552a40e7129262122995e", - "version" : "8.0.0" + "revision" : "d72bb9e9e4b80e5c7f41ee3bf0d95008ab7dcfd8", + "version" : "9.0.0-alpha.6" } } ], diff --git a/apps/example-app-spm/ios/App/App/AppDelegate.swift b/apps/example-app-spm/ios/App/App/AppDelegate.swift index c3cd83b5..0b31ad68 100644 --- a/apps/example-app-spm/ios/App/App/AppDelegate.swift +++ b/apps/example-app-spm/ios/App/App/AppDelegate.swift @@ -1,7 +1,7 @@ import UIKit import Capacitor -@UIApplicationMain +@main class AppDelegate: UIResponder, UIApplicationDelegate { var window: UIWindow? diff --git a/apps/example-app-spm/ios/App/CapApp-SPM/Package.swift b/apps/example-app-spm/ios/App/CapApp-SPM/Package.swift index fe6a1a9e..65572a92 100644 --- a/apps/example-app-spm/ios/App/CapApp-SPM/Package.swift +++ b/apps/example-app-spm/ios/App/CapApp-SPM/Package.swift @@ -4,26 +4,25 @@ import PackageDescription // DO NOT MODIFY THIS FILE - managed by Capacitor CLI commands let package = Package( name: "CapApp-SPM", - platforms: [.iOS(.v15)], + platforms: [.iOS(.v16)], products: [ .library( name: "CapApp-SPM", targets: ["CapApp-SPM"]) ], dependencies: [ - .package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", exact: "8.0.0"), - .package(name: "CapacitorApp", path: "../../../../../node_modules/.pnpm/@capacitor+app@8.0.0_@capacitor+core@8.0.0/node_modules/@capacitor/app"), + .package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", exact: "9.0.0-alpha.6"), + .package(name: "CapacitorApp", path: "../../../../../node_modules/.pnpm/@capacitor+app@9.0.0-alpha.2_@capacitor+core@9.0.0-alpha.6/node_modules/@capacitor/app"), .package(name: "CapacitorBackgroundRunner", path: "../../../../../packages/capacitor-plugin"), - .package(name: "CapacitorHaptics", path: "../../../../../node_modules/.pnpm/@capacitor+haptics@8.0.0_@capacitor+core@8.0.0/node_modules/@capacitor/haptics"), - .package(name: "CapacitorKeyboard", path: "../../../../../node_modules/.pnpm/@capacitor+keyboard@8.0.0_@capacitor+core@8.0.0/node_modules/@capacitor/keyboard"), - .package(name: "CapacitorStatusBar", path: "../../../../../node_modules/.pnpm/@capacitor+status-bar@8.0.0_@capacitor+core@8.0.0/node_modules/@capacitor/status-bar") + .package(name: "CapacitorHaptics", path: "../../../../../node_modules/.pnpm/@capacitor+haptics@9.0.0-next.1_@capacitor+core@9.0.0-alpha.6/node_modules/@capacitor/haptics"), + .package(name: "CapacitorKeyboard", path: "../../../../../node_modules/.pnpm/@capacitor+keyboard@9.0.0-next.1_@capacitor+core@9.0.0-alpha.6/node_modules/@capacitor/keyboard"), + .package(name: "CapacitorStatusBar", path: "../../../../../node_modules/.pnpm/@capacitor+status-bar@9.0.0-alpha.2_@capacitor+core@9.0.0-alpha.6/node_modules/@capacitor/status-bar") ], targets: [ .target( name: "CapApp-SPM", dependencies: [ .product(name: "Capacitor", package: "capacitor-swift-pm"), - .product(name: "Cordova", package: "capacitor-swift-pm"), .product(name: "CapacitorApp", package: "CapacitorApp"), .product(name: "CapacitorBackgroundRunner", package: "CapacitorBackgroundRunner"), .product(name: "CapacitorHaptics", package: "CapacitorHaptics"), diff --git a/apps/example-app-spm/package.json b/apps/example-app-spm/package.json index d18abaec..da67b58c 100644 --- a/apps/example-app-spm/package.json +++ b/apps/example-app-spm/package.json @@ -5,13 +5,13 @@ "dependencies": { "@babel/plugin-syntax-flow": "^7.27.1", "@babel/plugin-transform-react-jsx": "^7.27.1", - "@capacitor/app": "^8.0.0", + "@capacitor/app": "next", "@capacitor/background-runner": "workspace:^", - "@capacitor/core": "^8.0.0", - "@capacitor/haptics": "^8.0.0", - "@capacitor/ios": "^8.0.0", - "@capacitor/keyboard": "^8.0.0", - "@capacitor/status-bar": "^8.0.0", + "@capacitor/core": "next", + "@capacitor/haptics": "next", + "@capacitor/ios": "next", + "@capacitor/keyboard": "next", + "@capacitor/status-bar": "next", "@ionic/react": "^8.7.10", "@ionic/react-router": "^8.7.10", "@testing-library/dom": "^10.4.1", @@ -70,7 +70,7 @@ ] }, "devDependencies": { - "@capacitor/cli": "^8.0.0" + "@capacitor/cli": "next" }, "description": "An Ionic project" } diff --git a/apps/example-app/android/app/build.gradle b/apps/example-app/android/app/build.gradle index daafcf9a..aa857997 100644 --- a/apps/example-app/android/app/build.gradle +++ b/apps/example-app/android/app/build.gradle @@ -6,7 +6,6 @@ android { defaultConfig { applicationId "io.ionic.starter" minSdkVersion rootProject.ext.minSdkVersion - targetSdkVersion rootProject.ext.targetSdkVersion versionCode 1 versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" @@ -19,7 +18,7 @@ android { buildTypes { release { minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } } @@ -40,7 +39,6 @@ dependencies { testImplementation "junit:junit:$junitVersion" androidTestImplementation "androidx.test.ext:junit:$androidxJunitVersion" androidTestImplementation "androidx.test.espresso:espresso-core:$androidxEspressoCoreVersion" - implementation project(':capacitor-cordova-android-plugins') } apply from: 'capacitor.build.gradle' diff --git a/apps/example-app/android/app/capacitor.build.gradle b/apps/example-app/android/app/capacitor.build.gradle index d880debd..013aa122 100644 --- a/apps/example-app/android/app/capacitor.build.gradle +++ b/apps/example-app/android/app/capacitor.build.gradle @@ -7,7 +7,6 @@ android { } } -apply from: "../capacitor-cordova-android-plugins/cordova.variables.gradle" dependencies { implementation project(':capacitor-app') implementation project(':capacitor-background-runner') diff --git a/apps/example-app/android/app/src/main/AndroidManifest.xml b/apps/example-app/android/app/src/main/AndroidManifest.xml index de6b7c01..05d3b181 100644 --- a/apps/example-app/android/app/src/main/AndroidManifest.xml +++ b/apps/example-app/android/app/src/main/AndroidManifest.xml @@ -11,7 +11,7 @@ android:theme="@style/AppTheme"> /dev/null && printf '%s -' "$PWD" ) || exit +APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit # Use the maximum available, or set MAX_FD != -1 to use that value. MAX_FD=maximum @@ -115,7 +114,6 @@ case "$( uname )" in #( NONSTOP* ) nonstop=true ;; esac -CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar # Determine the Java command to use to start the JVM. @@ -173,7 +171,6 @@ fi # For Cygwin or MSYS, switch paths to Windows format before running java if "$cygwin" || "$msys" ; then APP_HOME=$( cygpath --path --mixed "$APP_HOME" ) - CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" ) JAVACMD=$( cygpath --unix "$JAVACMD" ) @@ -206,15 +203,14 @@ fi DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' # Collect all arguments for the java command: -# * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments, +# * DEFAULT_JVM_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments, # and any embedded shellness will be escaped. # * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be # treated as '${Hostname}' itself on the command line. set -- \ "-Dorg.gradle.appname=$APP_BASE_NAME" \ - -classpath "$CLASSPATH" \ - org.gradle.wrapper.GradleWrapperMain \ + -jar "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" \ "$@" # Stop when "xargs" is not available. diff --git a/apps/example-app/android/gradlew.bat b/apps/example-app/android/gradlew.bat index 9b42019c..aa5f10b0 100644 --- a/apps/example-app/android/gradlew.bat +++ b/apps/example-app/android/gradlew.bat @@ -23,8 +23,8 @@ @rem @rem ########################################################################## -@rem Set local scope for the variables with windows NT shell -if "%OS%"=="Windows_NT" setlocal +@rem Set local scope for the variables, and ensure extensions are enabled +setlocal EnableExtensions set DIRNAME=%~dp0 if "%DIRNAME%"=="" set DIRNAME=. @@ -51,7 +51,7 @@ echo. 1>&2 echo Please set the JAVA_HOME variable in your environment to match the 1>&2 echo location of your Java installation. 1>&2 -goto fail +"%COMSPEC%" /c exit 1 :findJavaFromJavaHome set JAVA_HOME=%JAVA_HOME:"=% @@ -65,30 +65,18 @@ echo. 1>&2 echo Please set the JAVA_HOME variable in your environment to match the 1>&2 echo location of your Java installation. 1>&2 -goto fail +"%COMSPEC%" /c exit 1 :execute @rem Setup the command line -set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar @rem Execute Gradle -"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %* +@rem endlocal doesn't take effect until after the line is parsed and variables are expanded +@rem which allows us to clear the local environment before executing the java command +endlocal & "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %* & call :exitWithErrorLevel -:end -@rem End local scope for the variables with windows NT shell -if %ERRORLEVEL% equ 0 goto mainEnd - -:fail -rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of -rem the _cmd.exe /c_ return code! -set EXIT_CODE=%ERRORLEVEL% -if %EXIT_CODE% equ 0 set EXIT_CODE=1 -if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE% -exit /b %EXIT_CODE% - -:mainEnd -if "%OS%"=="Windows_NT" endlocal - -:omega +:exitWithErrorLevel +@rem Use "%COMSPEC%" /c exit to allow operators to work properly in scripts +"%COMSPEC%" /c exit %ERRORLEVEL% diff --git a/apps/example-app/android/settings.gradle b/apps/example-app/android/settings.gradle index 9b141f1d..0f71183d 100644 --- a/apps/example-app/android/settings.gradle +++ b/apps/example-app/android/settings.gradle @@ -1,6 +1,4 @@ include ':app' -include ':capacitor-cordova-android-plugins' -project(':capacitor-cordova-android-plugins').projectDir = new File('./capacitor-cordova-android-plugins/') apply from: 'capacitor.settings.gradle' diff --git a/apps/example-app/android/variables.gradle b/apps/example-app/android/variables.gradle index ee4ba41c..4f68607c 100644 --- a/apps/example-app/android/variables.gradle +++ b/apps/example-app/android/variables.gradle @@ -1,16 +1,16 @@ ext { - minSdkVersion = 24 - compileSdkVersion = 36 - targetSdkVersion = 36 - androidxActivityVersion = '1.11.0' + minSdkVersion = 26 + compileSdkVersion = 37 + targetSdkVersion = 37 + androidxActivityVersion = '1.13.0' androidxAppCompatVersion = '1.7.1' androidxCoordinatorLayoutVersion = '1.3.0' - androidxCoreVersion = '1.17.0' + androidxCoreVersion = '1.19.0' androidxFragmentVersion = '1.8.9' coreSplashScreenVersion = '1.2.0' - androidxWebkitVersion = '1.14.0' + androidxWebkitVersion = '1.16.0' junitVersion = '4.13.2' androidxJunitVersion = '1.3.0' androidxEspressoCoreVersion = '3.7.0' - cordovaAndroidVersion = '14.0.1' + cordovaAndroidVersion = '15.0.0' } \ No newline at end of file diff --git a/apps/example-app/ios/App/App.xcodeproj/project.pbxproj b/apps/example-app/ios/App/App.xcodeproj/project.pbxproj index 47f7d87d..facb5dd0 100644 --- a/apps/example-app/ios/App/App.xcodeproj/project.pbxproj +++ b/apps/example-app/ios/App/App.xcodeproj/project.pbxproj @@ -466,7 +466,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 15.6; + IPHONEOS_DEPLOYMENT_TARGET = 16.0; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; @@ -517,7 +517,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 15.6; + IPHONEOS_DEPLOYMENT_TARGET = 16.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; @@ -536,7 +536,7 @@ CURRENT_PROJECT_VERSION = 1; DEVELOPMENT_TEAM = 9YN2HU59K8; INFOPLIST_FILE = App/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 15.6; + IPHONEOS_DEPLOYMENT_TARGET = 16.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; MARKETING_VERSION = 1.0; OTHER_SWIFT_FLAGS = "$(inherited) \"-D\" \"COCOAPODS\" \"-DDEBUG\""; @@ -559,7 +559,7 @@ CURRENT_PROJECT_VERSION = 1; DEVELOPMENT_TEAM = 9YN2HU59K8; INFOPLIST_FILE = App/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 15.6; + IPHONEOS_DEPLOYMENT_TARGET = 16.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; MARKETING_VERSION = 1.0; PRODUCT_BUNDLE_IDENTIFIER = io.ionic.backgroundrunner.example; diff --git a/apps/example-app/ios/App/App/AppDelegate.swift b/apps/example-app/ios/App/App/AppDelegate.swift index b5e4ad95..0b52100c 100644 --- a/apps/example-app/ios/App/App/AppDelegate.swift +++ b/apps/example-app/ios/App/App/AppDelegate.swift @@ -3,7 +3,7 @@ import BackgroundTasks import Capacitor import CapacitorBackgroundRunner -@UIApplicationMain +@main class AppDelegate: UIResponder, UIApplicationDelegate { var window: UIWindow? diff --git a/apps/example-app/ios/App/Podfile b/apps/example-app/ios/App/Podfile index 7da4b89e..8bc98df9 100644 --- a/apps/example-app/ios/App/Podfile +++ b/apps/example-app/ios/App/Podfile @@ -1,6 +1,6 @@ -require_relative '../../../../node_modules/.pnpm/@capacitor+ios@8.0.0_@capacitor+core@8.0.0/node_modules/@capacitor/ios/scripts/pods_helpers' +require_relative '../../../../node_modules/.pnpm/@capacitor+ios@9.0.0-alpha.6_@capacitor+core@9.0.0-alpha.6/node_modules/@capacitor/ios/scripts/pods_helpers' -platform :ios, '15.0' +platform :ios, '16.0' use_frameworks! # workaround to avoid Xcode caching of Pods that requires @@ -9,13 +9,12 @@ use_frameworks! install! 'cocoapods', :disable_input_output_paths => true def capacitor_pods - pod 'Capacitor', :path => '../../../../node_modules/.pnpm/@capacitor+ios@8.0.0_@capacitor+core@8.0.0/node_modules/@capacitor/ios' - pod 'CapacitorCordova', :path => '../../../../node_modules/.pnpm/@capacitor+ios@8.0.0_@capacitor+core@8.0.0/node_modules/@capacitor/ios' - pod 'CapacitorApp', :path => '../../../../node_modules/.pnpm/@capacitor+app@8.0.0_@capacitor+core@8.0.0/node_modules/@capacitor/app' + pod 'Capacitor', :path => '../../../../node_modules/.pnpm/@capacitor+ios@9.0.0-alpha.6_@capacitor+core@9.0.0-alpha.6/node_modules/@capacitor/ios' + pod 'CapacitorApp', :path => '../../../../node_modules/.pnpm/@capacitor+app@9.0.0-alpha.2_@capacitor+core@9.0.0-alpha.6/node_modules/@capacitor/app' pod 'CapacitorBackgroundRunner', :path => '../../../../packages/capacitor-plugin' - pod 'CapacitorHaptics', :path => '../../../../node_modules/.pnpm/@capacitor+haptics@8.0.0_@capacitor+core@8.0.0/node_modules/@capacitor/haptics' - pod 'CapacitorKeyboard', :path => '../../../../node_modules/.pnpm/@capacitor+keyboard@8.0.0_@capacitor+core@8.0.0/node_modules/@capacitor/keyboard' - pod 'CapacitorStatusBar', :path => '../../../../node_modules/.pnpm/@capacitor+status-bar@8.0.0_@capacitor+core@8.0.0/node_modules/@capacitor/status-bar' + pod 'CapacitorHaptics', :path => '../../../../node_modules/.pnpm/@capacitor+haptics@9.0.0-next.1_@capacitor+core@9.0.0-alpha.6/node_modules/@capacitor/haptics' + pod 'CapacitorKeyboard', :path => '../../../../node_modules/.pnpm/@capacitor+keyboard@9.0.0-next.1_@capacitor+core@9.0.0-alpha.6/node_modules/@capacitor/keyboard' + pod 'CapacitorStatusBar', :path => '../../../../node_modules/.pnpm/@capacitor+status-bar@9.0.0-alpha.2_@capacitor+core@9.0.0-alpha.6/node_modules/@capacitor/status-bar' end target 'App' do diff --git a/apps/example-app/ios/App/Podfile.lock b/apps/example-app/ios/App/Podfile.lock index d04cb1bf..81d069e4 100644 --- a/apps/example-app/ios/App/Podfile.lock +++ b/apps/example-app/ios/App/Podfile.lock @@ -1,52 +1,46 @@ PODS: - - Capacitor (8.0.0): - - CapacitorCordova - - CapacitorApp (8.0.0): + - Capacitor (9.0.0-alpha.6) + - CapacitorApp (9.0.0-alpha.2): - Capacitor - - CapacitorBackgroundRunner (2.3.0): + - CapacitorBackgroundRunner (3.0.0): - Capacitor - - CapacitorCordova (8.0.0) - - CapacitorHaptics (8.0.0): + - CapacitorHaptics (9.0.0-next.1): - Capacitor - - CapacitorKeyboard (8.0.0): + - CapacitorKeyboard (9.0.0-next.1): - Capacitor - - CapacitorStatusBar (8.0.0): + - CapacitorStatusBar (9.0.0-alpha.2): - Capacitor DEPENDENCIES: - - "Capacitor (from `../../../../node_modules/.pnpm/@capacitor+ios@8.0.0_@capacitor+core@8.0.0/node_modules/@capacitor/ios`)" - - "CapacitorApp (from `../../../../node_modules/.pnpm/@capacitor+app@8.0.0_@capacitor+core@8.0.0/node_modules/@capacitor/app`)" + - "Capacitor (from `../../../../node_modules/.pnpm/@capacitor+ios@9.0.0-alpha.6_@capacitor+core@9.0.0-alpha.6/node_modules/@capacitor/ios`)" + - "CapacitorApp (from `../../../../node_modules/.pnpm/@capacitor+app@9.0.0-alpha.2_@capacitor+core@9.0.0-alpha.6/node_modules/@capacitor/app`)" - CapacitorBackgroundRunner (from `../../../../packages/capacitor-plugin`) - - "CapacitorCordova (from `../../../../node_modules/.pnpm/@capacitor+ios@8.0.0_@capacitor+core@8.0.0/node_modules/@capacitor/ios`)" - - "CapacitorHaptics (from `../../../../node_modules/.pnpm/@capacitor+haptics@8.0.0_@capacitor+core@8.0.0/node_modules/@capacitor/haptics`)" - - "CapacitorKeyboard (from `../../../../node_modules/.pnpm/@capacitor+keyboard@8.0.0_@capacitor+core@8.0.0/node_modules/@capacitor/keyboard`)" - - "CapacitorStatusBar (from `../../../../node_modules/.pnpm/@capacitor+status-bar@8.0.0_@capacitor+core@8.0.0/node_modules/@capacitor/status-bar`)" + - "CapacitorHaptics (from `../../../../node_modules/.pnpm/@capacitor+haptics@9.0.0-next.1_@capacitor+core@9.0.0-alpha.6/node_modules/@capacitor/haptics`)" + - "CapacitorKeyboard (from `../../../../node_modules/.pnpm/@capacitor+keyboard@9.0.0-next.1_@capacitor+core@9.0.0-alpha.6/node_modules/@capacitor/keyboard`)" + - "CapacitorStatusBar (from `../../../../node_modules/.pnpm/@capacitor+status-bar@9.0.0-alpha.2_@capacitor+core@9.0.0-alpha.6/node_modules/@capacitor/status-bar`)" EXTERNAL SOURCES: Capacitor: - :path: "../../../../node_modules/.pnpm/@capacitor+ios@8.0.0_@capacitor+core@8.0.0/node_modules/@capacitor/ios" + :path: "../../../../node_modules/.pnpm/@capacitor+ios@9.0.0-alpha.6_@capacitor+core@9.0.0-alpha.6/node_modules/@capacitor/ios" CapacitorApp: - :path: "../../../../node_modules/.pnpm/@capacitor+app@8.0.0_@capacitor+core@8.0.0/node_modules/@capacitor/app" + :path: "../../../../node_modules/.pnpm/@capacitor+app@9.0.0-alpha.2_@capacitor+core@9.0.0-alpha.6/node_modules/@capacitor/app" CapacitorBackgroundRunner: :path: "../../../../packages/capacitor-plugin" - CapacitorCordova: - :path: "../../../../node_modules/.pnpm/@capacitor+ios@8.0.0_@capacitor+core@8.0.0/node_modules/@capacitor/ios" CapacitorHaptics: - :path: "../../../../node_modules/.pnpm/@capacitor+haptics@8.0.0_@capacitor+core@8.0.0/node_modules/@capacitor/haptics" + :path: "../../../../node_modules/.pnpm/@capacitor+haptics@9.0.0-next.1_@capacitor+core@9.0.0-alpha.6/node_modules/@capacitor/haptics" CapacitorKeyboard: - :path: "../../../../node_modules/.pnpm/@capacitor+keyboard@8.0.0_@capacitor+core@8.0.0/node_modules/@capacitor/keyboard" + :path: "../../../../node_modules/.pnpm/@capacitor+keyboard@9.0.0-next.1_@capacitor+core@9.0.0-alpha.6/node_modules/@capacitor/keyboard" CapacitorStatusBar: - :path: "../../../../node_modules/.pnpm/@capacitor+status-bar@8.0.0_@capacitor+core@8.0.0/node_modules/@capacitor/status-bar" + :path: "../../../../node_modules/.pnpm/@capacitor+status-bar@9.0.0-alpha.2_@capacitor+core@9.0.0-alpha.6/node_modules/@capacitor/status-bar" SPEC CHECKSUMS: - Capacitor: 341ff7cf652ec695d1a8ebf604db448ac7b6d635 - CapacitorApp: 3963a84197280757b84f126afd1520a85ae3b092 - CapacitorBackgroundRunner: 8e1771a2b12b853d223d43c95b967953205ecc5b - CapacitorCordova: 5dc3912d25ef770a3fe0f431bb65c9fbfa2e92f9 - CapacitorHaptics: 2079d9fa04c5a71e18663b4722323c304c58245c - CapacitorKeyboard: d7868c079a4d5277a3deca27a10a488fcbbb8b69 - CapacitorStatusBar: 312e2e67928dfe9514c4a8916a1fd610552f5f35 + Capacitor: b5cc4a2eadcd1184d4a581b4c631dd8ef7bb34b1 + CapacitorApp: 1d870da64e84d2e7bba00c28a12ccf0208a17ee3 + CapacitorBackgroundRunner: 7f0f9b9a1bfe43fd69874ddf7c533092243dd61b + CapacitorHaptics: cf461bf71051a548bb99107554563ab05c4f3a06 + CapacitorKeyboard: 222ced64b88632400503c87e0b188952f3ce8265 + CapacitorStatusBar: 838088db4185b93e8168e69e3b1dcf1f093a305f -PODFILE CHECKSUM: 246ffb621db05dcf99fdd53d13bed5d5d8737703 +PODFILE CHECKSUM: 509adb25e9bb1a53161877c143416d8459c97bf8 COCOAPODS: 1.16.2 diff --git a/apps/example-app/package.json b/apps/example-app/package.json index a07688a6..52fe8231 100644 --- a/apps/example-app/package.json +++ b/apps/example-app/package.json @@ -5,14 +5,14 @@ "dependencies": { "@babel/plugin-syntax-flow": "^7.27.1", "@babel/plugin-transform-react-jsx": "^7.27.1", - "@capacitor/android": "^8.0.0", - "@capacitor/app": "^8.0.0", + "@capacitor/android": "next", + "@capacitor/app": "next", "@capacitor/background-runner": "workspace:^", - "@capacitor/core": "^8.0.0", - "@capacitor/haptics": "^8.0.0", - "@capacitor/ios": "^8.0.0", - "@capacitor/keyboard": "^8.0.0", - "@capacitor/status-bar": "^8.0.0", + "@capacitor/core": "next", + "@capacitor/haptics": "next", + "@capacitor/ios": "next", + "@capacitor/keyboard": "next", + "@capacitor/status-bar": "next", "@ionic/react": "^8.7.10", "@ionic/react-router": "^8.7.10", "@testing-library/dom": "^10.4.1", @@ -71,7 +71,7 @@ ] }, "devDependencies": { - "@capacitor/cli": "^8.0.0" + "@capacitor/cli": "next" }, "description": "An Ionic project" } diff --git a/package.json b/package.json index 12ce81fa..cb1a7fd0 100644 --- a/package.json +++ b/package.json @@ -12,8 +12,8 @@ "lerna": "^9.0.1" }, "engines": { - "node": ">=18", - "pnpm": ">=8" + "node": ">=24", + "pnpm": ">=10" }, "scripts": { "build": "nx run-many --target=build && nx run-many --target=build-docs", diff --git a/packages/android-js-engine/AndroidJSEngine/build.gradle b/packages/android-js-engine/AndroidJSEngine/build.gradle index 2246ddb4..8c52e065 100644 --- a/packages/android-js-engine/AndroidJSEngine/build.gradle +++ b/packages/android-js-engine/AndroidJSEngine/build.gradle @@ -5,34 +5,28 @@ ext { androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.7.1' androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.3.0' androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.7.0' - androidxCoreKTXVersion = project.hasProperty('androidxCoreKTXVersion') ? rootProject.ext.androidxCoreKTXVersion : '1.17.0' - androidxMaterialVersion = project.hasProperty('androidxMaterialVersion') ? rootProject.ext.androidxMaterialVersion : '1.13.0' + androidxCoreVersion = project.hasProperty('androidxCoreVersion') ? rootProject.ext.androidxCoreVersion : '1.19.0' } buildscript { - ext.kotlin_version = project.hasProperty("kotlin_version") ? rootProject.ext.kotlin_version : '2.2.20' - repositories { google() mavenCentral() } dependencies { - classpath 'com.android.tools.build:gradle:8.13.0' - classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" + classpath 'com.android.tools.build:gradle:9.2.1' } } apply plugin: 'com.android.library' -apply plugin: 'kotlin-android' android { namespace = 'com.capacitorjs.android_js_engine' - compileSdk = 36 + compileSdk = 37 ndkVersion = "28.2.13676358" defaultConfig { - minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 24 - targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 36 + minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 26 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" consumerProguardFiles "consumer-rules.pro" @@ -72,9 +66,8 @@ kotlin { } dependencies { - implementation "androidx.core:core-ktx:$androidxCoreKTXVersion" + implementation "androidx.core:core:$androidxCoreVersion" implementation "androidx.appcompat:appcompat:$androidxAppCompatVersion" - implementation "com.google.android.material:material:$androidxMaterialVersion" testImplementation "junit:junit:$junitVersion" androidTestImplementation "androidx.test.ext:junit:$androidxJunitVersion" androidTestImplementation "androidx.test.espresso:espresso-core:$androidxEspressoCoreVersion" diff --git a/packages/android-js-engine/app/build.gradle b/packages/android-js-engine/app/build.gradle index c81cdbbe..fa6531e7 100644 --- a/packages/android-js-engine/app/build.gradle +++ b/packages/android-js-engine/app/build.gradle @@ -2,17 +2,15 @@ import org.jetbrains.kotlin.gradle.dsl.JvmTarget plugins { id 'com.android.application' - id 'org.jetbrains.kotlin.android' } android { namespace = 'io.ionic.android_js_engine_testproject' - compileSdk = 36 + compileSdk = 37 defaultConfig { applicationId "io.ionic.android_js_engine_testproject" - minSdk 24 - targetSdk 36 + minSdk 26 versionCode 1 versionName "1.0" @@ -39,9 +37,9 @@ kotlin { dependencies { implementation project(path: ':AndroidJSEngine') - implementation 'androidx.core:core-ktx:1.17.0' + implementation 'androidx.core:core:1.19.0' implementation 'androidx.appcompat:appcompat:1.7.1' - implementation 'com.google.android.material:material:1.13.0' + implementation 'com.google.android.material:material:1.14.0' testImplementation 'junit:junit:4.13.2' androidTestImplementation 'androidx.test.ext:junit:1.3.0' androidTestImplementation 'androidx.test.espresso:espresso-core:3.7.0' diff --git a/packages/android-js-engine/build.gradle b/packages/android-js-engine/build.gradle index b5d83626..9a2c2eac 100644 --- a/packages/android-js-engine/build.gradle +++ b/packages/android-js-engine/build.gradle @@ -1,6 +1,5 @@ // Top-level build file where you can add configuration options common to all sub-projects/modules. plugins { - id 'com.android.application' version '8.13.0' apply false - id 'com.android.library' version '8.13.0' apply false - id 'org.jetbrains.kotlin.android' version '2.2.20' apply false + id 'com.android.application' version '9.2.1' apply false + id 'com.android.library' version '9.2.1' apply false } \ No newline at end of file diff --git a/packages/android-js-engine/gradle/wrapper/gradle-wrapper.properties b/packages/android-js-engine/gradle/wrapper/gradle-wrapper.properties index 2906fadc..a70d73cb 100644 --- a/packages/android-js-engine/gradle/wrapper/gradle-wrapper.properties +++ b/packages/android-js-engine/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,8 @@ -#Fri Jan 05 16:19:19 CST 2024 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-9.5.1-all.zip +networkTimeout=60000 +retryBackOffMs=200 +validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/packages/capacitor-plugin/CapacitorBackgroundRunner.podspec b/packages/capacitor-plugin/CapacitorBackgroundRunner.podspec index 525ecaf5..e24d402d 100644 --- a/packages/capacitor-plugin/CapacitorBackgroundRunner.podspec +++ b/packages/capacitor-plugin/CapacitorBackgroundRunner.podspec @@ -11,7 +11,7 @@ Pod::Spec.new do |s| s.author = package['author'] s.source = { :git => package['repository']['url'], :tag => s.version.to_s } s.source_files = 'ios/Sources/**/*.{swift,h,m,c,cc,mm,cpp}' - s.ios.deployment_target = '15.0' + s.ios.deployment_target = '16.0' s.dependency 'Capacitor' s.swift_version = '5.1' end diff --git a/packages/capacitor-plugin/Package.swift b/packages/capacitor-plugin/Package.swift index b1dd1dd3..84ef685d 100644 --- a/packages/capacitor-plugin/Package.swift +++ b/packages/capacitor-plugin/Package.swift @@ -5,7 +5,7 @@ import PackageDescription let package = Package( name: "CapacitorBackgroundRunner", - platforms: [.iOS(.v15), .macOS(.v13)], + platforms: [.iOS(.v16), .macOS(.v13)], products: [ // Products define the executables and libraries a package produces, making them visible to other packages. .library( @@ -14,7 +14,7 @@ let package = Package( ) ], dependencies: [ - .package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", from: "8.0.0") + .package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", from: "9.0.0-alpha.5") ], targets: [ // Targets are the basic building blocks of a package, defining a module or a test suite. @@ -23,7 +23,6 @@ let package = Package( name: "CapacitorBackgroundRunner", dependencies: [ .product(name: "Capacitor", package: "capacitor-swift-pm"), - .product(name: "Cordova", package: "capacitor-swift-pm"), "RunnerEngine" ], path: "ios/Sources/CapacitorBackgroundRunner" diff --git a/packages/capacitor-plugin/android/build.gradle b/packages/capacitor-plugin/android/build.gradle index 0a7fffd6..56e576be 100644 --- a/packages/capacitor-plugin/android/build.gradle +++ b/packages/capacitor-plugin/android/build.gradle @@ -1,7 +1,7 @@ ext { junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.13.2' androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.7.1' - androidxCoreKTXVersion = project.hasProperty('androidxCoreKTXVersion') ? rootProject.ext.androidxCoreKTXVersion : '1.17.0' + androidxCoreVersion = project.hasProperty('androidxCoreVersion') ? rootProject.ext.androidxCoreVersion : '1.19.0' androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.3.0' androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.7.0' workManagerVersion = project.hasProperty('workManagerVersion') ? rootProject.ext.workManagerVersion : '2.11.0' @@ -9,27 +9,23 @@ ext { } buildscript { - ext.kotlin_version = project.hasProperty("kotlin_version") ? rootProject.ext.kotlin_version : '2.2.20' repositories { google() mavenCentral() } dependencies { - classpath 'com.android.tools.build:gradle:8.13.0' - classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" + classpath 'com.android.tools.build:gradle:9.2.1' } } apply plugin: 'com.android.library' -apply plugin: 'org.jetbrains.kotlin.android' android { namespace = "com.capacitorjs.plugins.backgroundrunner" - compileSdk = project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 36 + compileSdk = project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 37 defaultConfig { - minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 24 - targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 36 + minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 26 versionCode 1 versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" @@ -61,10 +57,10 @@ repositories { dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation project(':capacitor-android') - implementation (name: "android-js-engine-release", ext: "aar") + implementation ":android-js-engine-release@aar" implementation "androidx.work:work-runtime-ktx:$workManagerVersion" implementation "androidx.appcompat:appcompat:$androidxAppCompatVersion" - implementation "androidx.core:core-ktx:$androidxCoreKTXVersion" + implementation "androidx.core:core:$androidxCoreVersion" testImplementation "junit:junit:$junitVersion" androidTestImplementation "androidx.test.ext:junit:$androidxJunitVersion" androidTestImplementation "androidx.test.espresso:espresso-core:$androidxEspressoCoreVersion" diff --git a/packages/capacitor-plugin/android/gradle/wrapper/gradle-wrapper.jar b/packages/capacitor-plugin/android/gradle/wrapper/gradle-wrapper.jar index 033e24c4..b1b8ef56 100644 Binary files a/packages/capacitor-plugin/android/gradle/wrapper/gradle-wrapper.jar and b/packages/capacitor-plugin/android/gradle/wrapper/gradle-wrapper.jar differ diff --git a/packages/capacitor-plugin/android/gradle/wrapper/gradle-wrapper.properties b/packages/capacitor-plugin/android/gradle/wrapper/gradle-wrapper.properties index 7705927e..e74c8700 100644 --- a/packages/capacitor-plugin/android/gradle/wrapper/gradle-wrapper.properties +++ b/packages/capacitor-plugin/android/gradle/wrapper/gradle-wrapper.properties @@ -1,7 +1,9 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-9.5.1-all.zip networkTimeout=10000 +retries=0 +retryBackOffMs=500 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/packages/capacitor-plugin/android/gradlew b/packages/capacitor-plugin/android/gradlew index fcb6fca1..b9bb139f 100755 --- a/packages/capacitor-plugin/android/gradlew +++ b/packages/capacitor-plugin/android/gradlew @@ -1,7 +1,7 @@ #!/bin/sh # -# Copyright © 2015-2021 the original authors. +# Copyright © 2015 the original authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -15,6 +15,8 @@ # See the License for the specific language governing permissions and # limitations under the License. # +# SPDX-License-Identifier: Apache-2.0 +# ############################################################################## # @@ -55,7 +57,7 @@ # Darwin, MinGW, and NonStop. # # (3) This script is generated from the Groovy template -# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt +# https://github.com/gradle/gradle/blob/3d91ce3b8caaf77ad09f381f43615b715b53f72c/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt # within the Gradle project. # # You can find Gradle at https://github.com/gradle/gradle/. @@ -83,7 +85,8 @@ done # This is normally unused # shellcheck disable=SC2034 APP_BASE_NAME=${0##*/} -APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit +# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036) +APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit # Use the maximum available, or set MAX_FD != -1 to use that value. MAX_FD=maximum @@ -111,7 +114,6 @@ case "$( uname )" in #( NONSTOP* ) nonstop=true ;; esac -CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar # Determine the Java command to use to start the JVM. @@ -144,7 +146,7 @@ if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then case $MAX_FD in #( max*) # In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked. - # shellcheck disable=SC3045 + # shellcheck disable=SC2039,SC3045 MAX_FD=$( ulimit -H -n ) || warn "Could not query maximum file descriptor limit" esac @@ -152,7 +154,7 @@ if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then '' | soft) :;; #( *) # In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked. - # shellcheck disable=SC3045 + # shellcheck disable=SC2039,SC3045 ulimit -n "$MAX_FD" || warn "Could not set maximum file descriptor limit to $MAX_FD" esac @@ -169,7 +171,6 @@ fi # For Cygwin or MSYS, switch paths to Windows format before running java if "$cygwin" || "$msys" ; then APP_HOME=$( cygpath --path --mixed "$APP_HOME" ) - CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" ) JAVACMD=$( cygpath --unix "$JAVACMD" ) @@ -201,16 +202,15 @@ fi # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' -# Collect all arguments for the java command; -# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of -# shell script including quotes and variable substitutions, so put them in -# double quotes to make sure that they get re-expanded; and -# * put everything else in single quotes, so that it's not re-expanded. +# Collect all arguments for the java command: +# * DEFAULT_JVM_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments, +# and any embedded shellness will be escaped. +# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be +# treated as '${Hostname}' itself on the command line. set -- \ "-Dorg.gradle.appname=$APP_BASE_NAME" \ - -classpath "$CLASSPATH" \ - org.gradle.wrapper.GradleWrapperMain \ + -jar "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" \ "$@" # Stop when "xargs" is not available. diff --git a/packages/capacitor-plugin/android/gradlew.bat b/packages/capacitor-plugin/android/gradlew.bat index 6689b85b..aa5f10b0 100644 --- a/packages/capacitor-plugin/android/gradlew.bat +++ b/packages/capacitor-plugin/android/gradlew.bat @@ -13,6 +13,8 @@ @rem See the License for the specific language governing permissions and @rem limitations under the License. @rem +@rem SPDX-License-Identifier: Apache-2.0 +@rem @if "%DEBUG%"=="" @echo off @rem ########################################################################## @@ -21,8 +23,8 @@ @rem @rem ########################################################################## -@rem Set local scope for the variables with windows NT shell -if "%OS%"=="Windows_NT" setlocal +@rem Set local scope for the variables, and ensure extensions are enabled +setlocal EnableExtensions set DIRNAME=%~dp0 if "%DIRNAME%"=="" set DIRNAME=. @@ -43,13 +45,13 @@ set JAVA_EXE=java.exe %JAVA_EXE% -version >NUL 2>&1 if %ERRORLEVEL% equ 0 goto execute -echo. -echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. -echo. -echo Please set the JAVA_HOME variable in your environment to match the -echo location of your Java installation. +echo. 1>&2 +echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2 +echo. 1>&2 +echo Please set the JAVA_HOME variable in your environment to match the 1>&2 +echo location of your Java installation. 1>&2 -goto fail +"%COMSPEC%" /c exit 1 :findJavaFromJavaHome set JAVA_HOME=%JAVA_HOME:"=% @@ -57,36 +59,24 @@ set JAVA_EXE=%JAVA_HOME%/bin/java.exe if exist "%JAVA_EXE%" goto execute -echo. -echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% -echo. -echo Please set the JAVA_HOME variable in your environment to match the -echo location of your Java installation. +echo. 1>&2 +echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2 +echo. 1>&2 +echo Please set the JAVA_HOME variable in your environment to match the 1>&2 +echo location of your Java installation. 1>&2 -goto fail +"%COMSPEC%" /c exit 1 :execute @rem Setup the command line -set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar @rem Execute Gradle -"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %* - -:end -@rem End local scope for the variables with windows NT shell -if %ERRORLEVEL% equ 0 goto mainEnd - -:fail -rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of -rem the _cmd.exe /c_ return code! -set EXIT_CODE=%ERRORLEVEL% -if %EXIT_CODE% equ 0 set EXIT_CODE=1 -if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE% -exit /b %EXIT_CODE% - -:mainEnd -if "%OS%"=="Windows_NT" endlocal +@rem endlocal doesn't take effect until after the line is parsed and variables are expanded +@rem which allows us to clear the local environment before executing the java command +endlocal & "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %* & call :exitWithErrorLevel -:omega +:exitWithErrorLevel +@rem Use "%COMSPEC%" /c exit to allow operators to work properly in scripts +"%COMSPEC%" /c exit %ERRORLEVEL% diff --git a/packages/capacitor-plugin/android/src/main/libs/android-js-engine-release.aar b/packages/capacitor-plugin/android/src/main/libs/android-js-engine-release.aar index 0b3ab589..2ff2bfdf 100644 Binary files a/packages/capacitor-plugin/android/src/main/libs/android-js-engine-release.aar and b/packages/capacitor-plugin/android/src/main/libs/android-js-engine-release.aar differ diff --git a/packages/capacitor-plugin/package.json b/packages/capacitor-plugin/package.json index 70b3c412..ded3d2d7 100644 --- a/packages/capacitor-plugin/package.json +++ b/packages/capacitor-plugin/package.json @@ -43,7 +43,7 @@ "docgen": "docgen --api BackgroundRunnerPlugin --output-readme README.md --output-json dist/docs.json", "docgen-api": "docgen --api CapacitorAPI --output-readme API.md --output-json dist/docs-api.json && node ./scripts/combine_docs.js", "build-sdk": "./scripts/build-native-sdks.sh", - "build": "npm run clean && npm run docgen && npm run docgen-api && tsc && rollup -c rollup.config.js --bundleConfigAsCjs && npm run build-sdk && ./scripts/copy-native-sdks.sh && npm pack && mv ./capacitor-background-runner-*.tgz ../../ && ./scripts/copy-readme.sh", + "build": "npm run clean && npm run docgen && npm run docgen-api && tsc && rollup -c rollup.config.mjs --bundleConfigAsCjs && npm run build-sdk && ./scripts/copy-native-sdks.sh && npm pack && mv ./capacitor-background-runner-*.tgz ../../ && ./scripts/copy-readme.sh", "pack": "npm run build && ./scripts/copy-native-sdks.sh && npm pack && mv ./capacitor-background-runner-*.tgz ../../", "clean": "rimraf ./dist", "watch": "tsc --watch", @@ -51,24 +51,24 @@ "postinstall": "node ./scripts/install_libs.js" }, "devDependencies": { - "@capacitor/android": "^8.0.0", - "@capacitor/cli": "^8.0.0", - "@capacitor/core": "^8.0.0", - "@capacitor/docgen": "^0.3.0", - "@capacitor/ios": "^8.0.0", + "@capacitor/android": "next", + "@capacitor/cli": "next", + "@capacitor/core": "next", + "@capacitor/docgen": "^0.3.1", + "@capacitor/ios": "next", "@ionic/eslint-config": "^0.4.0", "@ionic/prettier-config": "^4.0.0", "@ionic/swiftlint-config": "^2.0.0", "eslint": "^8.57.1", "prettier": "^3.6.2", "prettier-plugin-java": "^2.7.7", - "rimraf": "^6.1.2", - "rollup": "^4.53.3", + "rimraf": "^6.1.0", + "rollup": "^4.53.2", "swiftlint": "^2.0.0", "typescript": "^5.9.3" }, "peerDependencies": { - "@capacitor/core": ">=8.0.0" + "@capacitor/core": ">=9.0.0-alpha.5" }, "prettier": "@ionic/prettier-config", "swiftlint": "@ionic/swiftlint-config", diff --git a/packages/capacitor-plugin/rollup.config.js b/packages/capacitor-plugin/rollup.config.mjs similarity index 99% rename from packages/capacitor-plugin/rollup.config.js rename to packages/capacitor-plugin/rollup.config.mjs index 5029f7aa..34a3880e 100644 --- a/packages/capacitor-plugin/rollup.config.js +++ b/packages/capacitor-plugin/rollup.config.mjs @@ -19,4 +19,4 @@ export default { }, ], external: ['@capacitor/core'], -}; +}; \ No newline at end of file diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e6ccd2dc..564ef75e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -28,29 +28,29 @@ importers: specifier: ^7.27.1 version: 7.28.6(@babel/core@7.28.6) '@capacitor/android': - specifier: ^8.0.0 - version: 8.0.1(@capacitor/core@8.0.1) + specifier: next + version: 9.0.0-alpha.6(@capacitor/core@9.0.0-alpha.6) '@capacitor/app': - specifier: ^8.0.0 - version: 8.0.0(@capacitor/core@8.0.1) + specifier: next + version: 9.0.0-alpha.2(@capacitor/core@9.0.0-alpha.6) '@capacitor/background-runner': specifier: workspace:^ version: link:../../packages/capacitor-plugin '@capacitor/core': - specifier: ^8.0.0 - version: 8.0.1 + specifier: next + version: 9.0.0-alpha.6 '@capacitor/haptics': - specifier: ^8.0.0 - version: 8.0.0(@capacitor/core@8.0.1) + specifier: next + version: 9.0.0-next.1(@capacitor/core@9.0.0-alpha.6) '@capacitor/ios': - specifier: ^8.0.0 - version: 8.0.1(@capacitor/core@8.0.1) + specifier: next + version: 9.0.0-alpha.6(@capacitor/core@9.0.0-alpha.6) '@capacitor/keyboard': - specifier: ^8.0.0 - version: 8.0.0(@capacitor/core@8.0.1) + specifier: next + version: 9.0.0-next.1(@capacitor/core@9.0.0-alpha.6) '@capacitor/status-bar': - specifier: ^8.0.0 - version: 8.0.0(@capacitor/core@8.0.1) + specifier: next + version: 9.0.0-alpha.2(@capacitor/core@9.0.0-alpha.6) '@ionic/react': specifier: ^8.7.10 version: 8.7.16(react-dom@19.2.3(react@19.2.3))(react@19.2.3) @@ -149,8 +149,8 @@ importers: version: 7.4.0 devDependencies: '@capacitor/cli': - specifier: ^8.0.0 - version: 8.0.1 + specifier: next + version: 9.0.0-alpha.6 apps/example-app-spm: dependencies: @@ -161,26 +161,26 @@ importers: specifier: ^7.27.1 version: 7.28.6(@babel/core@7.28.6) '@capacitor/app': - specifier: ^8.0.0 - version: 8.0.0(@capacitor/core@8.0.1) + specifier: next + version: 9.0.0-alpha.2(@capacitor/core@9.0.0-alpha.6) '@capacitor/background-runner': specifier: workspace:^ version: link:../../packages/capacitor-plugin '@capacitor/core': - specifier: ^8.0.0 - version: 8.0.1 + specifier: next + version: 9.0.0-alpha.6 '@capacitor/haptics': - specifier: ^8.0.0 - version: 8.0.0(@capacitor/core@8.0.1) + specifier: next + version: 9.0.0-next.1(@capacitor/core@9.0.0-alpha.6) '@capacitor/ios': - specifier: ^8.0.0 - version: 8.0.1(@capacitor/core@8.0.1) + specifier: next + version: 9.0.0-alpha.6(@capacitor/core@9.0.0-alpha.6) '@capacitor/keyboard': - specifier: ^8.0.0 - version: 8.0.0(@capacitor/core@8.0.1) + specifier: next + version: 9.0.0-next.1(@capacitor/core@9.0.0-alpha.6) '@capacitor/status-bar': - specifier: ^8.0.0 - version: 8.0.0(@capacitor/core@8.0.1) + specifier: next + version: 9.0.0-alpha.2(@capacitor/core@9.0.0-alpha.6) '@ionic/react': specifier: ^8.7.10 version: 8.7.16(react-dom@19.2.3(react@19.2.3))(react@19.2.3) @@ -279,8 +279,8 @@ importers: version: 7.4.0 devDependencies: '@capacitor/cli': - specifier: ^8.0.0 - version: 8.0.1 + specifier: next + version: 9.0.0-alpha.6 packages/android-js-engine: dependencies: @@ -304,20 +304,20 @@ importers: packages/capacitor-plugin: devDependencies: '@capacitor/android': - specifier: ^8.0.0 - version: 8.0.1(@capacitor/core@8.0.1) + specifier: next + version: 9.0.0-alpha.6(@capacitor/core@9.0.0-alpha.6) '@capacitor/cli': - specifier: ^8.0.0 - version: 8.0.1 + specifier: next + version: 9.0.0-alpha.6 '@capacitor/core': - specifier: ^8.0.0 - version: 8.0.1 + specifier: next + version: 9.0.0-alpha.6 '@capacitor/docgen': - specifier: ^0.3.0 + specifier: ^0.3.1 version: 0.3.1 '@capacitor/ios': - specifier: ^8.0.0 - version: 8.0.1(@capacitor/core@8.0.1) + specifier: next + version: 9.0.0-alpha.6(@capacitor/core@9.0.0-alpha.6) '@ionic/eslint-config': specifier: ^0.4.0 version: 0.4.0(eslint@8.57.1)(typescript@5.9.3) @@ -337,10 +337,10 @@ importers: specifier: ^2.7.7 version: 2.8.1(prettier@3.7.4) rimraf: - specifier: ^6.1.2 + specifier: ^6.1.0 version: 6.1.2 rollup: - specifier: ^4.53.3 + specifier: ^4.53.2 version: 4.55.1 swiftlint: specifier: ^2.0.0 @@ -1074,48 +1074,48 @@ packages: '@bcoe/v8-coverage@0.2.3': resolution: {integrity: sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==} - '@capacitor/android@8.0.1': - resolution: {integrity: sha512-Mrk2MFKSg9YA4BPLKm03wwFnGKcvzNBERUTcxjW1NkLrF6YhJwygAT69f/YGopFvOhhqdnDPsuZuASUfmpkSpw==} + '@capacitor/android@9.0.0-alpha.6': + resolution: {integrity: sha512-/hVYtjrvaoLinn8fkcnm2prCo7OSgbwP6x+tzQa+IQChTMsyBTAp/eWEvKCxh0EVQeUUWmRtLXd2CzhPamjdFA==} peerDependencies: - '@capacitor/core': ^8.0.0 + '@capacitor/core': ^9.0.0-alpha.6 - '@capacitor/app@8.0.0': - resolution: {integrity: sha512-OwzIkUs4w433Bu9WWAEbEYngXEfJXZ9Wmdb8eoaqzYBgB0W9/3Ed/mh6sAYPNBAZlpyarmewgP7Nb+d3Vrh+xA==} + '@capacitor/app@9.0.0-alpha.2': + resolution: {integrity: sha512-UwbSAG67cGRzStTvHMG+CDxKw2F3vNkwMLvTkPE+eXRdjBNCtvBBRVy09BFbmLNqGAI3STf8iXg3i64ZqEr/gg==} peerDependencies: - '@capacitor/core': '>=8.0.0' + '@capacitor/core': '>=9.0.0-alpha.0' - '@capacitor/cli@8.0.1': - resolution: {integrity: sha512-okCNTsL8FNYrtPNeHWFjWb1S+PwBMhx5wFLhDC0MZOIrOLm+2ynMBtKu3BnR0Nv1hozoHcOCi6SuTF1TrRpb3w==} + '@capacitor/cli@9.0.0-alpha.6': + resolution: {integrity: sha512-PsPkbmK1SffBuv7kb6Htebyht2Y2tDJRPWvnxW/s8Y3BHv4LbCEhlIE3PeB+AnDgGNTAGp2e9BnTgWUHcmN7OQ==} engines: {node: '>=22.0.0'} hasBin: true - '@capacitor/core@8.0.1': - resolution: {integrity: sha512-5UqSWxGMp/B8KhYu7rAijqNtYslhcLh+TrbfU48PfdMDsPfaU/VY48sMNzC22xL8BmoFoql/3SKyP+pavTOvOA==} + '@capacitor/core@9.0.0-alpha.6': + resolution: {integrity: sha512-AqCxIP+84lNNh1E+Yv04FRF9Pg8MTm+ed8QEC8OGOI4epbMwCEDdS0W84+C9ZAs+6cFtQcIS5N2owhOy2KeOOQ==} '@capacitor/docgen@0.3.1': resolution: {integrity: sha512-WBdAUquQC4hiZOVk1YbY5Rs3vlDrNdCGt3KGnMa2dc2UBa91Q7PQ/jLW/oZyfVIfiXWu7t1KUhhM3MyiZepUrQ==} engines: {node: '>=18.0.0'} hasBin: true - '@capacitor/haptics@8.0.0': - resolution: {integrity: sha512-DY1IUOjke1T4ITl7mFHQIKCaJJyHYAYRYHG9bVApU7PDOZiMVGMp48Yjzdqjya+wv/AHS5mDabSTUmhJ5uDvBA==} + '@capacitor/haptics@9.0.0-next.1': + resolution: {integrity: sha512-lBY9wPXmb9SFoocKzb31WOmqe8BXrfWwj15xUbdxZo8KBRfngBpDKUNxB6abzdrHQfBrMNPpZ+uWa/og87oV7A==} peerDependencies: - '@capacitor/core': '>=8.0.0' + '@capacitor/core': '>=9.0.0-alpha.0' - '@capacitor/ios@8.0.1': - resolution: {integrity: sha512-pDxwQtx3n07DBhRKFGvYh4g00ruIsT7HxPm6IIT+tJD8VuTNgwgWYmEOZzfHkG6mZuCe03KqCsuD+aVmg5Rctg==} + '@capacitor/ios@9.0.0-alpha.6': + resolution: {integrity: sha512-eFKuHmVdCnKMZ/+cMl24Up0yzLMFxS0vYXJLf62/556cHqTO9n7BBeXPCNIPpL5EV+wrVCw7Hq/xwXf7p2mGoQ==} peerDependencies: - '@capacitor/core': ^8.0.0 + '@capacitor/core': ^9.0.0-alpha.6 - '@capacitor/keyboard@8.0.0': - resolution: {integrity: sha512-ycPW6iQyFwzDK95jihesj5EGiyyGSfbBqNek11iNp9tBOB7zDeYkUA2S/vPpOETt3dhP6pWr7a9gNVGuEfj11g==} + '@capacitor/keyboard@9.0.0-next.1': + resolution: {integrity: sha512-6yLbKtYRbB2gzOPYAiN4ZsSZto6eFAMZprWkwWqD9ID7M1Hb+YpXWY/DnFAUaaK/AWNIJFU7PqvmS2glm66rgQ==} peerDependencies: - '@capacitor/core': '>=8.0.0' + '@capacitor/core': '>=9.0.0-alpha.0' - '@capacitor/status-bar@8.0.0': - resolution: {integrity: sha512-aIj3bc7z8lfPgOen8HlrBrkfnxpFnh21OCx6jCUx4Mvv+B6eEkUQ49b32DOddgVfr+igRHLX2SYi7duqIsNDXg==} + '@capacitor/status-bar@9.0.0-alpha.2': + resolution: {integrity: sha512-UeOi+W/fRjXP2MDqX4RjvhcMcsSYJYdXqK/05/ZbCD2CLI8SBmcsryZm3YF69gK9chKj18+1xREPfkxyWJ0iBg==} peerDependencies: - '@capacitor/core': '>=8.0.0' + '@capacitor/core': '>=9.0.0-alpha.0' '@changesets/apply-release-plan@7.0.14': resolution: {integrity: sha512-ddBvf9PHdy2YY0OUiEl3TV78mH9sckndJR14QAt87KLEbIov81XO0q0QAmvooBxXlqRRP8I9B7XOzZwQG7JkWA==} @@ -2573,6 +2573,7 @@ packages: '@xmldom/xmldom@0.8.11': resolution: {integrity: sha512-cQzWCtO6C8TQiYl1ruKNn2U6Ao4o4WBBcbL61yJl84x+j5sOWWFU9X7DpND8XZG3daDppSsigMdfAIl2upQBRw==} engines: {node: '>=10.0.0'} + deprecated: this version has critical issues, please update to the latest version '@xtuc/ieee754@1.2.0': resolution: {integrity: sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==} @@ -4362,6 +4363,7 @@ packages: glob@10.5.0: resolution: {integrity: sha512-DfXN8DfhJ7NH3Oe7cFmu3NCu1wKbkReJ8TorzSAFbSKrlNaQSKfIzqYqVY8zlbs2NLBbWpRiU52GX2PbaBVNkg==} + deprecated: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me hasBin: true glob@11.1.0: @@ -7421,6 +7423,11 @@ packages: tar@7.5.2: resolution: {integrity: sha512-7NyxrTE4Anh8km8iEy7o0QYPs+0JKBTj5ZaqHg6B39erLg0qYXN3BijtShwbsNSvQ+LN75+KV+C4QR/f6Gwnpg==} engines: {node: '>=18'} + deprecated: Old versions of tar are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me + + tar@7.5.20: + resolution: {integrity: sha512-9FcyK4PA6+WbzlTM9WhQm6vB5W7cP7dUiPsv1g7YDwEQnQ1CGpK3MGlKk/ITVWMk05kHZuBhmVhiv8LZoy/PFQ==} + engines: {node: '>=18'} temp-dir@1.0.0: resolution: {integrity: sha512-xZFXEGbG7SNC3itwBzI3RYjq/cEhBkx2hJuKGIUOcEULmkQExXiHat2z/qkISYsuR+IKumhEfKKbV5qXmhICFQ==} @@ -9079,15 +9086,15 @@ snapshots: '@bcoe/v8-coverage@0.2.3': {} - '@capacitor/android@8.0.1(@capacitor/core@8.0.1)': + '@capacitor/android@9.0.0-alpha.6(@capacitor/core@9.0.0-alpha.6)': dependencies: - '@capacitor/core': 8.0.1 + '@capacitor/core': 9.0.0-alpha.6 - '@capacitor/app@8.0.0(@capacitor/core@8.0.1)': + '@capacitor/app@9.0.0-alpha.2(@capacitor/core@9.0.0-alpha.6)': dependencies: - '@capacitor/core': 8.0.1 + '@capacitor/core': 9.0.0-alpha.6 - '@capacitor/cli@8.0.1': + '@capacitor/cli@9.0.0-alpha.6': dependencies: '@ionic/cli-framework-output': 2.2.8 '@ionic/utils-subprocess': 3.0.1 @@ -9103,13 +9110,13 @@ snapshots: prompts: 2.4.2 rimraf: 6.1.2 semver: 7.7.3 - tar: 6.2.1 + tar: 7.5.20 tslib: 2.8.1 xml2js: 0.6.2 transitivePeerDependencies: - supports-color - '@capacitor/core@8.0.1': + '@capacitor/core@9.0.0-alpha.6': dependencies: tslib: 2.8.1 @@ -9120,21 +9127,21 @@ snapshots: minimist: 1.2.8 typescript: 4.2.4 - '@capacitor/haptics@8.0.0(@capacitor/core@8.0.1)': + '@capacitor/haptics@9.0.0-next.1(@capacitor/core@9.0.0-alpha.6)': dependencies: - '@capacitor/core': 8.0.1 + '@capacitor/core': 9.0.0-alpha.6 - '@capacitor/ios@8.0.1(@capacitor/core@8.0.1)': + '@capacitor/ios@9.0.0-alpha.6(@capacitor/core@9.0.0-alpha.6)': dependencies: - '@capacitor/core': 8.0.1 + '@capacitor/core': 9.0.0-alpha.6 - '@capacitor/keyboard@8.0.0(@capacitor/core@8.0.1)': + '@capacitor/keyboard@9.0.0-next.1(@capacitor/core@9.0.0-alpha.6)': dependencies: - '@capacitor/core': 8.0.1 + '@capacitor/core': 9.0.0-alpha.6 - '@capacitor/status-bar@8.0.0(@capacitor/core@8.0.1)': + '@capacitor/status-bar@9.0.0-alpha.2(@capacitor/core@9.0.0-alpha.6)': dependencies: - '@capacitor/core': 8.0.1 + '@capacitor/core': 9.0.0-alpha.6 '@changesets/apply-release-plan@7.0.14': dependencies: @@ -10109,11 +10116,11 @@ snapshots: '@npmcli/fs@4.0.0': dependencies: - semver: 7.7.2 + semver: 7.7.3 '@npmcli/fs@5.0.0': dependencies: - semver: 7.7.2 + semver: 7.7.3 '@npmcli/git@6.0.3': dependencies: @@ -10123,7 +10130,7 @@ snapshots: npm-pick-manifest: 10.0.0 proc-log: 5.0.0 promise-retry: 2.0.1 - semver: 7.7.2 + semver: 7.7.3 which: 5.0.0 '@npmcli/git@7.0.1': @@ -10134,7 +10141,7 @@ snapshots: npm-pick-manifest: 11.0.3 proc-log: 6.1.0 promise-retry: 2.0.1 - semver: 7.7.2 + semver: 7.7.3 which: 6.0.0 '@npmcli/installed-package-contents@3.0.0': @@ -10160,7 +10167,7 @@ snapshots: json-parse-even-better-errors: 5.0.0 pacote: 21.0.4 proc-log: 6.1.0 - semver: 7.7.2 + semver: 7.7.3 transitivePeerDependencies: - supports-color @@ -11855,7 +11862,7 @@ snapshots: handlebars: 4.7.8 json-stringify-safe: 5.0.1 meow: 8.1.2 - semver: 7.7.2 + semver: 7.7.3 split: 1.0.1 conventional-commits-filter@3.0.0: @@ -13081,7 +13088,7 @@ snapshots: git-semver-tags@5.0.1: dependencies: meow: 8.1.2 - semver: 7.7.2 + semver: 7.7.3 git-up@7.0.0: dependencies: @@ -14831,7 +14838,7 @@ snapshots: make-fetch-happen: 14.0.3 nopt: 8.1.0 proc-log: 5.0.0 - semver: 7.7.2 + semver: 7.7.3 tar: 7.5.2 tinyglobby: 0.2.12 which: 5.0.0 @@ -14859,7 +14866,7 @@ snapshots: dependencies: hosted-git-info: 4.1.0 is-core-module: 2.16.1 - semver: 7.7.2 + semver: 7.7.3 validate-npm-package-license: 3.0.4 normalize-path@3.0.0: {} @@ -14876,11 +14883,11 @@ snapshots: npm-install-checks@7.1.2: dependencies: - semver: 7.7.2 + semver: 7.7.3 npm-install-checks@8.0.0: dependencies: - semver: 7.7.2 + semver: 7.7.3 npm-normalize-package-bin@4.0.0: {} @@ -14890,7 +14897,7 @@ snapshots: dependencies: hosted-git-info: 8.1.0 proc-log: 5.0.0 - semver: 7.7.2 + semver: 7.7.3 validate-npm-package-name: 6.0.2 npm-package-arg@13.0.1: @@ -14910,14 +14917,14 @@ snapshots: npm-install-checks: 7.1.2 npm-normalize-package-bin: 4.0.0 npm-package-arg: 12.0.2 - semver: 7.7.2 + semver: 7.7.3 npm-pick-manifest@11.0.3: dependencies: npm-install-checks: 8.0.0 npm-normalize-package-bin: 5.0.0 npm-package-arg: 13.0.1 - semver: 7.7.2 + semver: 7.7.3 npm-registry-fetch@19.1.0: dependencies: @@ -16912,6 +16919,14 @@ snapshots: minizlib: 3.1.0 yallist: 5.0.0 + tar@7.5.20: + dependencies: + '@isaacs/fs-minipass': 4.0.1 + chownr: 3.0.0 + minipass: 7.1.2 + minizlib: 3.1.0 + yallist: 5.0.0 + temp-dir@1.0.0: {} temp-dir@2.0.0: {}