From a941a68ad0f5573fe9b3d41f75499e63f5876a46 Mon Sep 17 00:00:00 2001 From: sevenc-nanashi Date: Sun, 31 Mar 2024 11:11:55 +0900 Subject: [PATCH] =?UTF-8?q?Fix:=20versionVersionGet=E3=82=92=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- android/app/build.gradle | 3 ++- src/backend/mobile/engine/info.ts | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/android/app/build.gradle b/android/app/build.gradle index 3fc7e2ccaa..989ea50134 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -5,8 +5,9 @@ android { ndkVersion '25.2.9519653' namespace 'jp.hiroshiba.voicevox' - compileSdkVersion rootProject.ext.compileSdkVersion defaultConfig { + compileSdk rootProject.ext.compileSdkVersion + applicationId "jp.hiroshiba.voicevox" minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion diff --git a/src/backend/mobile/engine/info.ts b/src/backend/mobile/engine/info.ts index 5d8f66df54..e67d25c759 100644 --- a/src/backend/mobile/engine/info.ts +++ b/src/backend/mobile/engine/info.ts @@ -9,8 +9,7 @@ const infoProvider: ApiProvider = ({ corePlugin }) => { return { async versionVersionGet() { - // 何故か""で囲まれているのを再現。直ったら消す。 - return JSON.stringify(corePlugin.getVersion()); + return await corePlugin.getVersion().then((res) => res.value); }, async engineManifestEngineManifestGet() { if (!engineManifest) {