From 9c034bcdb9ae4117dcd96d9c7ee04a6109524910 Mon Sep 17 00:00:00 2001 From: Shankari Date: Mon, 7 Oct 2024 15:09:22 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Escape=20quotes=20in=20the=20and?= =?UTF-8?q?roid=20strings?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Without this change, build failed with ``` /Users/runner/work/e-mission-phone/e-mission-phone/platforms/android/app/src/main/res/values/dc_strings.xml:20:4: Failed to flatten XML for resource 'location_permission_off' with error: Invalid unicode escape sequence in string > Task :app:mergeDebugResources FAILED "{str}" /Users/runner/work/e-mission-phone/e-mission-phone/platforms/android/app/src/main/res/values/dc_strings.xml:20:4: string/location_permission_off does not contain a valid string resource. /Users/runner/work/e-mission-phone/e-mission-phone/platforms/android/app/src/main/res/values/dc_strings.xml:27:4: Failed to flatten XML for resource 'location_permission_off_app_open' with error: Invalid unicode escape sequence in string "{str}" /Users/runner/work/e-mission-phone/e-mission-phone/platforms/android/app/src/main/res/values/dc_strings.xml:27:4: string/location_permission_off_app_open does not contain a valid string resource. ``` With the change, build succeeds --- res/android/values/dc_strings.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/res/android/values/dc_strings.xml b/res/android/values/dc_strings.xml index 185332b..13e3175 100644 --- a/res/android/values/dc_strings.xml +++ b/res/android/values/dc_strings.xml @@ -17,8 +17,8 @@ Success moving to %1$s Failed moving to %1$s - Insufficient permissions, please allow 'Always' and 'Precise' location access - Insufficient permissions, please select 'Always' and 'Precise' location access in app settings + Insufficient permissions, please allow \'Always\' and \'Precise\' location access + Insufficient permissions, please select \'Always\' and \'Precise\' location access in app settings Permissions Needed! Further location permission needed. In order to use this app you need to click \"Allow all the time\" on the next page. Please make sure \"Allow all the time\" and \"Precise Location\" are turned on in the settings.