From 9d73fce4e1583b9dc94bbac60146e8762971279c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=BE=E5=B2=A1=E3=80=80=E4=BE=91=E5=87=9B?= <129148471+LassicYM@users.noreply.github.com> Date: Mon, 11 May 2026 13:33:30 +0900 Subject: [PATCH 1/2] Fix setAccessPointConnectionPriority. --- demos/demo-react-native/ios/Podfile | 8 ++++++++ react-native/ios/ThetaClientReactNative.swift | 10 ++++++++-- react-native/verification-tool/ios/Podfile | 6 ++++++ 3 files changed, 22 insertions(+), 2 deletions(-) diff --git a/demos/demo-react-native/ios/Podfile b/demos/demo-react-native/ios/Podfile index 66b8909b3e..41c27c0397 100644 --- a/demos/demo-react-native/ios/Podfile +++ b/demos/demo-react-native/ios/Podfile @@ -31,5 +31,13 @@ target 'DemoReactNative' do :mac_catalyst_enabled => false, # :ccache_enabled => true ) + + installer.pods_project.targets.each do |target| + if target.name == 'fmt' + target.build_configurations.each do |config| + config.build_settings['CLANG_CXX_LANGUAGE_STANDARD'] = 'c++17' + end + end + end end end diff --git a/react-native/ios/ThetaClientReactNative.swift b/react-native/ios/ThetaClientReactNative.swift index 2e3b43b51c..3387a16cba 100644 --- a/react-native/ios/ThetaClientReactNative.swift +++ b/react-native/ios/ThetaClientReactNative.swift @@ -2205,7 +2205,7 @@ class ThetaClientReactNative: RCTEventEmitter { @objc(setAccessPointConnectionPriority:connectionPriority:ssidStealth:resolve:reject:) func setAccessPointConnectionPriority( ssid: String, - connectionPriority: Int, + connectionPriority: Double, ssidStealth: Bool, resolve: @escaping RCTPromiseResolveBlock, reject: @escaping RCTPromiseRejectBlock @@ -2214,9 +2214,15 @@ class ThetaClientReactNative: RCTEventEmitter { reject(ERROR_CODE_ERROR, MESSAGE_NOT_INIT, nil) return } + + guard let priority = Int32(exactly:connectionPriority) else { + reject(ERROR_CODE_ERROR, MESSAGE_NO_ARGUMENT, nil) + return + } + do { thetaRepository.setAccessPointConnectionPriority( - ssid: ssid, connectionPriority: Int32(clamping: connectionPriority), + ssid: ssid, connectionPriority: priority, ssidStealth: ssidStealth ) { error in if let error { diff --git a/react-native/verification-tool/ios/Podfile b/react-native/verification-tool/ios/Podfile index 6d2aae316d..b689c9283d 100644 --- a/react-native/verification-tool/ios/Podfile +++ b/react-native/verification-tool/ios/Podfile @@ -42,6 +42,12 @@ target 'ThetaClientVerificationTool' do config.build_settings['CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES'] = 'YES' end end + + if target.name == 'fmt' + target.build_configurations.each do |config| + config.build_settings['CLANG_CXX_LANGUAGE_STANDARD'] = 'c++17' + end + end end end end From 7047b64747eb20cc6e81b55fa759f1179914bcbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=BE=E5=B2=A1=E3=80=80=E4=BE=91=E5=87=9B?= <129148471+LassicYM@users.noreply.github.com> Date: Mon, 11 May 2026 14:38:43 +0900 Subject: [PATCH 2/2] Update version to 1.14.1 --- demos/demo-android/app/build.gradle | 2 +- demos/demo-ios/Podfile | 2 +- demos/demo-react-native/package.json | 2 +- docs/tutorial-android.ja.md | 2 +- docs/tutorial-android.md | 2 +- flutter/android/build.gradle | 2 +- flutter/ios/theta_client_flutter.podspec | 4 ++-- flutter/pubspec.yaml | 2 +- kotlin-multiplatform/build.gradle.kts | 2 +- react-native/android/build.gradle | 2 +- react-native/package.json | 2 +- react-native/theta-client-react-native.podspec | 2 +- 12 files changed, 13 insertions(+), 13 deletions(-) diff --git a/demos/demo-android/app/build.gradle b/demos/demo-android/app/build.gradle index b92b12e8bf..e1734d02e2 100755 --- a/demos/demo-android/app/build.gradle +++ b/demos/demo-android/app/build.gradle @@ -76,7 +76,7 @@ dependencies { implementation 'com.jakewharton.timber:timber:5.0.1' implementation 'io.coil-kt:coil-compose:2.2.2' implementation "io.ktor:ktor-client-cio:$ktor_version" - implementation "com.ricoh360.thetaclient:theta-client:1.14.0" + implementation "com.ricoh360.thetaclient:theta-client:1.14.1" testImplementation 'org.junit.jupiter:junit-jupiter:5.9.0' testImplementation "org.jetbrains.kotlinx:kotlinx-coroutines-test:$coroutines_version" diff --git a/demos/demo-ios/Podfile b/demos/demo-ios/Podfile index 4f3679c548..882275febd 100644 --- a/demos/demo-ios/Podfile +++ b/demos/demo-ios/Podfile @@ -7,5 +7,5 @@ target 'SdkSample' do use_frameworks! # Pods for SdkSample - pod 'THETAClient', '1.14.0' + pod 'THETAClient', '1.14.1' end diff --git a/demos/demo-react-native/package.json b/demos/demo-react-native/package.json index 42d9f4ee4c..d59757ddd8 100644 --- a/demos/demo-react-native/package.json +++ b/demos/demo-react-native/package.json @@ -11,7 +11,7 @@ "postinstall": "./scripts/copy-npm-module-to-web-bundles.sh" }, "dependencies": { - "theta-client-react-native": "1.14.0", + "theta-client-react-native": "1.14.1", "marzipano": "0.10.2", "react": "19.0.0", "react-native": "0.78.2", diff --git a/docs/tutorial-android.ja.md b/docs/tutorial-android.ja.md index 4e615e1020..4847366b8a 100644 --- a/docs/tutorial-android.ja.md +++ b/docs/tutorial-android.ja.md @@ -4,7 +4,7 @@ - モジュールの`build.gradle`の`dependencies`に次を追加します。 ``` - implementation "com.ricoh360.thetaclient:theta-client:1.14.0" + implementation "com.ricoh360.thetaclient:theta-client:1.14.1" ``` - 本 SDK を使用したアプリケーションが動作するスマートフォンと THETA を無線 LAN 接続しておきます。 diff --git a/docs/tutorial-android.md b/docs/tutorial-android.md index 9595004a10..04c9224183 100644 --- a/docs/tutorial-android.md +++ b/docs/tutorial-android.md @@ -5,7 +5,7 @@ - Add following descriptions to the `dependencies` of your module's `build.gradle`. ``` - implementation "com.ricoh360.thetaclient:theta-client:1.14.0" + implementation "com.ricoh360.thetaclient:theta-client:1.14.1" ``` - Connect the wireless LAN between THETA and the smartphone that runs on the application using this SDK. diff --git a/flutter/android/build.gradle b/flutter/android/build.gradle index cea2a96a7f..d5b649b268 100644 --- a/flutter/android/build.gradle +++ b/flutter/android/build.gradle @@ -52,7 +52,7 @@ android { testImplementation("org.mockito:mockito-core:5.0.0") implementation("com.soywiz.korlibs.krypto:krypto:4.0.10") - implementation("com.ricoh360.thetaclient:theta-client:1.14.0") + implementation("com.ricoh360.thetaclient:theta-client:1.14.1") } testOptions { diff --git a/flutter/ios/theta_client_flutter.podspec b/flutter/ios/theta_client_flutter.podspec index 937c90080a..33929a241f 100644 --- a/flutter/ios/theta_client_flutter.podspec +++ b/flutter/ios/theta_client_flutter.podspec @@ -4,7 +4,7 @@ # Pod::Spec.new do |s| s.name = 'theta_client_flutter' - s.version = '1.14.0' + s.version = '1.14.1' s.summary = 'theta-client plugin project.' s.description = <<-DESC theta-client Flutter plugin project. @@ -17,7 +17,7 @@ Pod::Spec.new do |s| s.dependency 'Flutter' s.platform = :ios, '15.0' - s.dependency 'THETAClient', '1.14.0' + s.dependency 'THETAClient', '1.14.1' # Flutter.framework does not contain a i386 slice. s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' } diff --git a/flutter/pubspec.yaml b/flutter/pubspec.yaml index 361c9bb884..744ff0a44d 100644 --- a/flutter/pubspec.yaml +++ b/flutter/pubspec.yaml @@ -1,6 +1,6 @@ name: theta_client_flutter description: THETA Client Flutter plugin project. -version: 1.14.0 +version: 1.14.1 homepage: environment: diff --git a/kotlin-multiplatform/build.gradle.kts b/kotlin-multiplatform/build.gradle.kts index 58e6bd52e2..b62d57acfa 100644 --- a/kotlin-multiplatform/build.gradle.kts +++ b/kotlin-multiplatform/build.gradle.kts @@ -18,7 +18,7 @@ dependencies { dokkaPlugin("org.jetbrains.dokka:versioning-plugin:1.9.20") } -val thetaClientVersion = "1.14.0" +val thetaClientVersion = "1.14.1" group = "com.ricoh360.thetaclient" version = thetaClientVersion diff --git a/react-native/android/build.gradle b/react-native/android/build.gradle index b1abac0ef8..1f91d4f990 100644 --- a/react-native/android/build.gradle +++ b/react-native/android/build.gradle @@ -68,7 +68,7 @@ dependencies { implementation "com.facebook.react:react-native:+" implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.3" - implementation "com.ricoh360.thetaclient:theta-client:1.14.0" + implementation "com.ricoh360.thetaclient:theta-client:1.14.1" } react { diff --git a/react-native/package.json b/react-native/package.json index 5add70f12a..918ef40d00 100644 --- a/react-native/package.json +++ b/react-native/package.json @@ -1,6 +1,6 @@ { "name": "theta-client-react-native", - "version": "1.14.0", + "version": "1.14.1", "description": "This library provides a way to control RICOH THETA using.", "main": "lib/commonjs/index", "module": "lib/module/index", diff --git a/react-native/theta-client-react-native.podspec b/react-native/theta-client-react-native.podspec index d759e2eeb9..3d7e9c820f 100644 --- a/react-native/theta-client-react-native.podspec +++ b/react-native/theta-client-react-native.podspec @@ -15,7 +15,7 @@ Pod::Spec.new do |s| s.source_files = "ios/**/*.{h,m,mm,swift,cpp}" - s.dependency "THETAClient", "1.14.0" + s.dependency "THETAClient", "1.14.1" install_modules_dependencies(s) end