diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 49875b95..fa5b7866 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -15,7 +15,7 @@ jobs: runs-on: macos-26 name: Android env: - SDK_VERSION: 13.2.0.GA + SDK_VERSION: 13.3.1.GA steps: - uses: actions/checkout@v7 @@ -36,7 +36,7 @@ jobs: - name: Use Node.js uses: actions/setup-node@v6 with: - node-version: '22.x' + node-version: '24.x' - name: Cache Gradle packages uses: actions/cache@v5 diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b479572a..73f7460d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,7 +12,7 @@ jobs: runs-on: macos-26 name: full build env: - SDK_VERSION: 13.3.0.GA + SDK_VERSION: 13.3.1.GA DEVELOPER_DIR: /Applications/Xcode_26.2.app/Contents/Developer steps: - name: Checkout repository diff --git a/.github/workflows/ios.yml b/.github/workflows/ios.yml index 5e699744..f4c57e86 100644 --- a/.github/workflows/ios.yml +++ b/.github/workflows/ios.yml @@ -15,7 +15,7 @@ jobs: runs-on: macos-26 name: iOS env: - SDK_VERSION: 13.2.0.GA + SDK_VERSION: 13.3.1.GA # This one uses Swift 3.8.1. If you're running into the "Unsupported Swift architecture", verify which # Swift version is used for the specified Ti SDK version, e.g. by looking into: # ~/Library/Application Support/Titanium/mobilesdk/osx//iphone/Frameworks/TitaniumKit.xcframework/ios-arm64/TitaniumKit.framework/Headers/TitaniumKit-Swift.h @@ -40,7 +40,7 @@ jobs: - name: Use Node.js uses: actions/setup-node@v6 with: - node-version: '22.x' + node-version: '24.x' - name: Package metabase working-directory: ./packages/hyperloop-ios-metabase diff --git a/android/hooks/hyperloop.js b/android/hooks/hyperloop.js index 24338617..026be473 100644 --- a/android/hooks/hyperloop.js +++ b/android/hooks/hyperloop.js @@ -14,6 +14,7 @@ exports.cliVersion = '>=3.2'; (function () { const path = require('path'); + const { pathToFileURL } = require('url'); const ejs = require('ejs'); const fs = require('fs-extra'); const chalk = require('chalk'); @@ -169,7 +170,7 @@ exports.cliVersion = '>=3.2'; minSdkVersion: this.builder.minSDK, sdkDir: this.builder.androidInfo.sdk.path.replace(/\\/g, '\\\\'), targetSdkVersion: this.builder.targetSDK, - tiMavenUrl: encodeURI('file://' + path.join(this.builder.platformPath, 'm2repository').replace(/\\/g, '/')), + tiMavenUrl: pathToFileURL(path.join(this.builder.platformPath, 'm2repository')).href, tiProjectPlatformAndroidDir: path.join(this.builder.projectDir, 'platform', 'android'), tiSdkVersion: this.builder.titaniumSdkVersion }); diff --git a/package-lock.json b/package-lock.json index 3a58313c..c6b27e58 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "hyperloop", - "version": "8.0.1", + "version": "8.0.2", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "hyperloop", - "version": "8.0.1", + "version": "8.0.2", "license": "UNLICENSED", "devDependencies": { "async": "^2.6.1", diff --git a/package.json b/package.json index 5eac4990..e7142eb8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hyperloop", - "version": "8.0.1", + "version": "8.0.2", "description": "Access native APIs from within Titanium.", "keywords": [ "appcelerator", @@ -50,7 +50,7 @@ "request": "^2.87.0", "semver": "^5.1.0", "temp": "^0.9.0", - "titanium": "8.1.5" + "titanium": "9.1.0" }, "scripts": { "test": "echo 'Error: no test specified'"