@penta-b/penta-sdk 1.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Dockerfile +27 -5
- package/Jenkinsfile +3 -3
- package/README.md +91 -15
- package/README.pdf +13742 -13179
- package/TODO.md +6 -0
- package/assets/sound-off.svg +6 -0
- package/assets/sound.svg +4 -0
- package/dist/0b77cc15b5b05335cea1.module.wasm +0 -0
- package/dist/849.sdk.bundle.js +2 -0
- package/dist/849.sdk.bundle.js.map +1 -0
- package/dist/framework/ConfigurationManager.d.ts +6 -0
- package/dist/framework/speech/SpeechHelper.d.ts +16 -0
- package/dist/framework/speech/SpeechManager.d.ts +487 -0
- package/dist/framework/speech/SpeechNumberFormatter.d.ts +2 -0
- package/dist/framework/speech/SpeechTextFormatter.d.ts +5 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.html +9 -2
- package/dist/js/Location.d.ts +1 -1
- package/dist/js/NewRouteNavigationRenderer.d.ts +2 -1
- package/dist/js/Route.d.ts +18 -4
- package/dist/js/RouteRenderer.d.ts +5 -0
- package/dist/sdk.bundle.js +1 -1
- package/dist/sdk.bundle.js.map +1 -1
- package/dist/ui/ApiErrorMessage/ApiErrorMessage.d.ts +7 -0
- package/dist/ui/DirectionsInput/DirectionsInput.d.ts +2 -1
- package/dist/ui/Message/BaseMessage.d.ts +20 -0
- package/dist/ui/Navigation/Steps/NavigationStep.d.ts +11 -1
- package/dist/ui/NotificationMessage/NotificationMessage.d.ts +15 -0
- package/dist/ui/RouteCalculations/RouteCalculations.d.ts +7 -0
- package/dist/ui/SpeechToggle/SpeechToggle.d.ts +26 -0
- package/dist/ui/StepsMessages/StepsMessages.d.ts +12 -0
- package/dist/utilities/routeModes.d.ts +33 -0
- package/dist/utilities/styles.d.ts +24 -7
- package/dist/utilities/types.d.ts +24 -1
- package/examples/app-ionic/README.md +24 -17
- package/examples/app-ionic/README.pdf +0 -0
- package/examples/app-ionic/package-lock.json +592 -272
- package/examples/app-ionic/package.json +2 -2
- package/examples/app-ionic/src/app/home/home.page.ts +9 -9
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/arm64-v8a/.cmake/api/v1/query/client-agp/cache-v2 +0 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/arm64-v8a/.cmake/api/v1/query/client-agp/cmakeFiles-v1 +0 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/arm64-v8a/.cmake/api/v1/query/client-agp/codemodel-v2 +0 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/arm64-v8a/.cmake/api/v1/reply/cache-v2-2f421f1e73015cad19e7.json +1367 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/arm64-v8a/.cmake/api/v1/reply/cmakeFiles-v1-bba4fdce86d5c478b049.json +799 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/arm64-v8a/.cmake/api/v1/reply/codemodel-v2-207b229e7602f8b1714f.json +43 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/arm64-v8a/.cmake/api/v1/reply/directory-.-Debug-d0094a50bb2071803777.json +14 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/arm64-v8a/.cmake/api/v1/reply/index-2026-06-21T15-32-49-0469.json +92 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/arm64-v8a/CMakeCache.txt +401 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/arm64-v8a/CMakeFiles/3.22.1-g37088a8-dirty/CMakeCCompiler.cmake +72 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/arm64-v8a/CMakeFiles/3.22.1-g37088a8-dirty/CMakeCXXCompiler.cmake +83 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/arm64-v8a/CMakeFiles/3.22.1-g37088a8-dirty/CMakeDetermineCompilerABI_C.bin +0 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/arm64-v8a/CMakeFiles/3.22.1-g37088a8-dirty/CMakeDetermineCompilerABI_CXX.bin +0 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/arm64-v8a/CMakeFiles/3.22.1-g37088a8-dirty/CMakeSystem.cmake +15 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/arm64-v8a/CMakeFiles/3.22.1-g37088a8-dirty/CompilerIdC/CMakeCCompilerId.c +803 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/arm64-v8a/CMakeFiles/3.22.1-g37088a8-dirty/CompilerIdC/CMakeCCompilerId.o +0 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/arm64-v8a/CMakeFiles/3.22.1-g37088a8-dirty/CompilerIdCXX/CMakeCXXCompilerId.cpp +791 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/arm64-v8a/CMakeFiles/3.22.1-g37088a8-dirty/CompilerIdCXX/CMakeCXXCompilerId.o +0 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/arm64-v8a/CMakeFiles/TargetDirectories.txt +2 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/arm64-v8a/CMakeFiles/cmake.check_cache +1 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/arm64-v8a/CMakeFiles/rules.ninja +45 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/arm64-v8a/additional_project_files.txt +0 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/arm64-v8a/android_gradle_build.json +28 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/arm64-v8a/android_gradle_build_mini.json +20 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/arm64-v8a/build.ninja +111 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/arm64-v8a/build_file_index.txt +1 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/arm64-v8a/cmake_install.cmake +54 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/arm64-v8a/configure_fingerprint.bin +28 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/arm64-v8a/metadata_generation_command.txt +20 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/arm64-v8a/prefab_config.json +4 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/arm64-v8a/symbol_folder_index.txt +1 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/armeabi-v7a/.cmake/api/v1/query/client-agp/cache-v2 +0 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/armeabi-v7a/.cmake/api/v1/query/client-agp/cmakeFiles-v1 +0 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/armeabi-v7a/.cmake/api/v1/query/client-agp/codemodel-v2 +0 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/armeabi-v7a/.cmake/api/v1/reply/cache-v2-105f4968824f678b849c.json +1367 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/armeabi-v7a/.cmake/api/v1/reply/cmakeFiles-v1-cbc43f2bdea31fdcad0f.json +799 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/armeabi-v7a/.cmake/api/v1/reply/codemodel-v2-ce8be799ff50a1643122.json +43 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/armeabi-v7a/.cmake/api/v1/reply/directory-.-Debug-d0094a50bb2071803777.json +14 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/armeabi-v7a/.cmake/api/v1/reply/index-2026-06-21T15-33-58-0218.json +92 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/armeabi-v7a/CMakeCache.txt +401 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/armeabi-v7a/CMakeFiles/3.22.1-g37088a8-dirty/CMakeCCompiler.cmake +72 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/armeabi-v7a/CMakeFiles/3.22.1-g37088a8-dirty/CMakeCXXCompiler.cmake +83 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/armeabi-v7a/CMakeFiles/3.22.1-g37088a8-dirty/CMakeDetermineCompilerABI_C.bin +0 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/armeabi-v7a/CMakeFiles/3.22.1-g37088a8-dirty/CMakeDetermineCompilerABI_CXX.bin +0 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/armeabi-v7a/CMakeFiles/3.22.1-g37088a8-dirty/CMakeSystem.cmake +15 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/armeabi-v7a/CMakeFiles/3.22.1-g37088a8-dirty/CompilerIdC/CMakeCCompilerId.c +803 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/armeabi-v7a/CMakeFiles/3.22.1-g37088a8-dirty/CompilerIdC/CMakeCCompilerId.o +0 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/armeabi-v7a/CMakeFiles/3.22.1-g37088a8-dirty/CompilerIdCXX/CMakeCXXCompilerId.cpp +791 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/armeabi-v7a/CMakeFiles/3.22.1-g37088a8-dirty/CompilerIdCXX/CMakeCXXCompilerId.o +0 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/armeabi-v7a/CMakeFiles/TargetDirectories.txt +2 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/armeabi-v7a/CMakeFiles/cmake.check_cache +1 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/armeabi-v7a/CMakeFiles/rules.ninja +45 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/armeabi-v7a/additional_project_files.txt +0 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/armeabi-v7a/android_gradle_build.json +28 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/armeabi-v7a/android_gradle_build_mini.json +20 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/armeabi-v7a/build.ninja +111 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/armeabi-v7a/build_file_index.txt +1 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/armeabi-v7a/cmake_install.cmake +54 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/armeabi-v7a/configure_fingerprint.bin +28 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/armeabi-v7a/metadata_generation_command.txt +20 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/armeabi-v7a/prefab_config.json +4 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/armeabi-v7a/symbol_folder_index.txt +1 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/hash_key.txt +27 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/x86/.cmake/api/v1/query/client-agp/cache-v2 +0 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/x86/.cmake/api/v1/query/client-agp/cmakeFiles-v1 +0 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/x86/.cmake/api/v1/query/client-agp/codemodel-v2 +0 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/x86/.cmake/api/v1/reply/cache-v2-9d6fa31292be3c61cfcf.json +1367 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/x86/.cmake/api/v1/reply/cmakeFiles-v1-80a3cbd3fb27f53889f3.json +799 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/x86/.cmake/api/v1/reply/codemodel-v2-4e6ce470795569884863.json +43 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/x86/.cmake/api/v1/reply/directory-.-Debug-d0094a50bb2071803777.json +14 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/x86/.cmake/api/v1/reply/index-2026-06-21T15-34-03-0900.json +92 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/x86/CMakeCache.txt +401 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/x86/CMakeFiles/3.22.1-g37088a8-dirty/CMakeCCompiler.cmake +72 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/x86/CMakeFiles/3.22.1-g37088a8-dirty/CMakeCXXCompiler.cmake +83 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/x86/CMakeFiles/3.22.1-g37088a8-dirty/CMakeDetermineCompilerABI_C.bin +0 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/x86/CMakeFiles/3.22.1-g37088a8-dirty/CMakeDetermineCompilerABI_CXX.bin +0 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/x86/CMakeFiles/3.22.1-g37088a8-dirty/CMakeSystem.cmake +15 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/x86/CMakeFiles/3.22.1-g37088a8-dirty/CompilerIdC/CMakeCCompilerId.c +803 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/x86/CMakeFiles/3.22.1-g37088a8-dirty/CompilerIdC/CMakeCCompilerId.o +0 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/x86/CMakeFiles/3.22.1-g37088a8-dirty/CompilerIdCXX/CMakeCXXCompilerId.cpp +791 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/x86/CMakeFiles/3.22.1-g37088a8-dirty/CompilerIdCXX/CMakeCXXCompilerId.o +0 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/x86/CMakeFiles/TargetDirectories.txt +2 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/x86/CMakeFiles/cmake.check_cache +1 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/x86/CMakeFiles/rules.ninja +45 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/x86/additional_project_files.txt +0 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/x86/android_gradle_build.json +28 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/x86/android_gradle_build_mini.json +20 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/x86/build.ninja +111 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/x86/build_file_index.txt +1 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/x86/cmake_install.cmake +54 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/x86/configure_fingerprint.bin +28 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/x86/metadata_generation_command.txt +20 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/x86/prefab_config.json +4 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/x86/symbol_folder_index.txt +1 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/x86_64/.cmake/api/v1/query/client-agp/cache-v2 +0 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/x86_64/.cmake/api/v1/query/client-agp/cmakeFiles-v1 +0 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/x86_64/.cmake/api/v1/query/client-agp/codemodel-v2 +0 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/x86_64/.cmake/api/v1/reply/cache-v2-27f2c447b1072e0e8cba.json +1367 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/x86_64/.cmake/api/v1/reply/cmakeFiles-v1-2bede298f73ea1e20996.json +799 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/x86_64/.cmake/api/v1/reply/codemodel-v2-9ca5cb6fa746f98c3b72.json +43 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/x86_64/.cmake/api/v1/reply/directory-.-Debug-d0094a50bb2071803777.json +14 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/x86_64/.cmake/api/v1/reply/index-2026-06-21T15-34-08-0557.json +92 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/x86_64/CMakeCache.txt +401 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/x86_64/CMakeFiles/3.22.1-g37088a8-dirty/CMakeCCompiler.cmake +72 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/x86_64/CMakeFiles/3.22.1-g37088a8-dirty/CMakeCXXCompiler.cmake +83 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/x86_64/CMakeFiles/3.22.1-g37088a8-dirty/CMakeDetermineCompilerABI_C.bin +0 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/x86_64/CMakeFiles/3.22.1-g37088a8-dirty/CMakeDetermineCompilerABI_CXX.bin +0 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/x86_64/CMakeFiles/3.22.1-g37088a8-dirty/CMakeSystem.cmake +15 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/x86_64/CMakeFiles/3.22.1-g37088a8-dirty/CompilerIdC/CMakeCCompilerId.c +803 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/x86_64/CMakeFiles/3.22.1-g37088a8-dirty/CompilerIdC/CMakeCCompilerId.o +0 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/x86_64/CMakeFiles/3.22.1-g37088a8-dirty/CompilerIdCXX/CMakeCXXCompilerId.cpp +791 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/x86_64/CMakeFiles/3.22.1-g37088a8-dirty/CompilerIdCXX/CMakeCXXCompilerId.o +0 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/x86_64/CMakeFiles/TargetDirectories.txt +2 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/x86_64/CMakeFiles/cmake.check_cache +1 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/x86_64/CMakeFiles/rules.ninja +45 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/x86_64/additional_project_files.txt +0 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/x86_64/android_gradle_build.json +28 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/x86_64/android_gradle_build_mini.json +20 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/x86_64/build.ninja +111 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/x86_64/build_file_index.txt +1 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/x86_64/cmake_install.cmake +54 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/x86_64/configure_fingerprint.bin +28 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/x86_64/metadata_generation_command.txt +20 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/x86_64/prefab_config.json +4 -0
- package/examples/app_flutter/android/app/.cxx/Debug/3ur3x4j3/x86_64/symbol_folder_index.txt +1 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/arm64-v8a/.cmake/api/v1/query/client-agp/cache-v2 +0 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/arm64-v8a/.cmake/api/v1/query/client-agp/cmakeFiles-v1 +0 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/arm64-v8a/.cmake/api/v1/query/client-agp/codemodel-v2 +0 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/arm64-v8a/.cmake/api/v1/reply/cache-v2-24d61f7e2aba57f4d431.json +1367 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/arm64-v8a/.cmake/api/v1/reply/cmakeFiles-v1-262fd9e80d5ddf68950e.json +803 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/arm64-v8a/.cmake/api/v1/reply/codemodel-v2-9fd68585900d6a91f217.json +43 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/arm64-v8a/.cmake/api/v1/reply/directory-.-Debug-d0094a50bb2071803777.json +14 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/arm64-v8a/.cmake/api/v1/reply/index-2026-06-27T23-25-13-0006.json +92 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/arm64-v8a/CMakeCache.txt +401 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/arm64-v8a/CMakeFiles/3.22.1-g37088a8-dirty/CMakeCCompiler.cmake +72 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/arm64-v8a/CMakeFiles/3.22.1-g37088a8-dirty/CMakeCXXCompiler.cmake +83 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/arm64-v8a/CMakeFiles/3.22.1-g37088a8-dirty/CMakeDetermineCompilerABI_C.bin +0 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/arm64-v8a/CMakeFiles/3.22.1-g37088a8-dirty/CMakeDetermineCompilerABI_CXX.bin +0 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/arm64-v8a/CMakeFiles/3.22.1-g37088a8-dirty/CMakeSystem.cmake +15 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/arm64-v8a/CMakeFiles/3.22.1-g37088a8-dirty/CompilerIdC/CMakeCCompilerId.c +803 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/arm64-v8a/CMakeFiles/3.22.1-g37088a8-dirty/CompilerIdC/CMakeCCompilerId.o +0 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/arm64-v8a/CMakeFiles/3.22.1-g37088a8-dirty/CompilerIdCXX/CMakeCXXCompilerId.cpp +791 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/arm64-v8a/CMakeFiles/3.22.1-g37088a8-dirty/CompilerIdCXX/CMakeCXXCompilerId.o +0 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/arm64-v8a/CMakeFiles/TargetDirectories.txt +2 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/arm64-v8a/CMakeFiles/cmake.check_cache +1 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/arm64-v8a/CMakeFiles/rules.ninja +45 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/arm64-v8a/additional_project_files.txt +0 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/arm64-v8a/android_gradle_build.json +28 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/arm64-v8a/android_gradle_build_mini.json +20 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/arm64-v8a/build.ninja +111 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/arm64-v8a/build_file_index.txt +1 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/arm64-v8a/cmake_install.cmake +54 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/arm64-v8a/configure_fingerprint.bin +28 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/arm64-v8a/metadata_generation_command.txt +20 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/arm64-v8a/prefab_config.json +4 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/arm64-v8a/symbol_folder_index.txt +1 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/armeabi-v7a/.cmake/api/v1/query/client-agp/cache-v2 +0 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/armeabi-v7a/.cmake/api/v1/query/client-agp/cmakeFiles-v1 +0 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/armeabi-v7a/.cmake/api/v1/query/client-agp/codemodel-v2 +0 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/armeabi-v7a/.cmake/api/v1/reply/cache-v2-0afcf04ad7fe6ed29c7e.json +1367 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/armeabi-v7a/.cmake/api/v1/reply/cmakeFiles-v1-36665a69376944ddb2a0.json +803 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/armeabi-v7a/.cmake/api/v1/reply/codemodel-v2-f1722bff167e87e41565.json +43 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/armeabi-v7a/.cmake/api/v1/reply/directory-.-Debug-d0094a50bb2071803777.json +14 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/armeabi-v7a/.cmake/api/v1/reply/index-2026-06-27T23-25-19-0682.json +92 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/armeabi-v7a/CMakeCache.txt +401 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/armeabi-v7a/CMakeFiles/3.22.1-g37088a8-dirty/CMakeCCompiler.cmake +72 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/armeabi-v7a/CMakeFiles/3.22.1-g37088a8-dirty/CMakeCXXCompiler.cmake +83 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/armeabi-v7a/CMakeFiles/3.22.1-g37088a8-dirty/CMakeDetermineCompilerABI_C.bin +0 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/armeabi-v7a/CMakeFiles/3.22.1-g37088a8-dirty/CMakeDetermineCompilerABI_CXX.bin +0 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/armeabi-v7a/CMakeFiles/3.22.1-g37088a8-dirty/CMakeSystem.cmake +15 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/armeabi-v7a/CMakeFiles/3.22.1-g37088a8-dirty/CompilerIdC/CMakeCCompilerId.c +803 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/armeabi-v7a/CMakeFiles/3.22.1-g37088a8-dirty/CompilerIdC/CMakeCCompilerId.o +0 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/armeabi-v7a/CMakeFiles/3.22.1-g37088a8-dirty/CompilerIdCXX/CMakeCXXCompilerId.cpp +791 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/armeabi-v7a/CMakeFiles/3.22.1-g37088a8-dirty/CompilerIdCXX/CMakeCXXCompilerId.o +0 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/armeabi-v7a/CMakeFiles/TargetDirectories.txt +2 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/armeabi-v7a/CMakeFiles/cmake.check_cache +1 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/armeabi-v7a/CMakeFiles/rules.ninja +45 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/armeabi-v7a/additional_project_files.txt +0 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/armeabi-v7a/android_gradle_build.json +28 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/armeabi-v7a/android_gradle_build_mini.json +20 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/armeabi-v7a/build.ninja +111 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/armeabi-v7a/build_file_index.txt +1 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/armeabi-v7a/cmake_install.cmake +54 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/armeabi-v7a/configure_fingerprint.bin +28 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/armeabi-v7a/metadata_generation_command.txt +20 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/armeabi-v7a/prefab_config.json +4 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/armeabi-v7a/symbol_folder_index.txt +1 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/hash_key.txt +27 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/x86/.cmake/api/v1/query/client-agp/cache-v2 +0 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/x86/.cmake/api/v1/query/client-agp/cmakeFiles-v1 +0 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/x86/.cmake/api/v1/query/client-agp/codemodel-v2 +0 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/x86/.cmake/api/v1/reply/cache-v2-add3b2a73ca10cc10726.json +1367 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/x86/.cmake/api/v1/reply/cmakeFiles-v1-4d6f40ce8287b75a5999.json +803 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/x86/.cmake/api/v1/reply/codemodel-v2-7f3f89feedef7238358c.json +43 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/x86/.cmake/api/v1/reply/directory-.-Debug-d0094a50bb2071803777.json +14 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/x86/.cmake/api/v1/reply/index-2026-06-27T23-25-24-0595.json +92 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/x86/CMakeCache.txt +401 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/x86/CMakeFiles/3.22.1-g37088a8-dirty/CMakeCCompiler.cmake +72 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/x86/CMakeFiles/3.22.1-g37088a8-dirty/CMakeCXXCompiler.cmake +83 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/x86/CMakeFiles/3.22.1-g37088a8-dirty/CMakeDetermineCompilerABI_C.bin +0 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/x86/CMakeFiles/3.22.1-g37088a8-dirty/CMakeDetermineCompilerABI_CXX.bin +0 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/x86/CMakeFiles/3.22.1-g37088a8-dirty/CMakeSystem.cmake +15 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/x86/CMakeFiles/3.22.1-g37088a8-dirty/CompilerIdC/CMakeCCompilerId.c +803 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/x86/CMakeFiles/3.22.1-g37088a8-dirty/CompilerIdC/CMakeCCompilerId.o +0 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/x86/CMakeFiles/3.22.1-g37088a8-dirty/CompilerIdCXX/CMakeCXXCompilerId.cpp +791 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/x86/CMakeFiles/3.22.1-g37088a8-dirty/CompilerIdCXX/CMakeCXXCompilerId.o +0 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/x86/CMakeFiles/TargetDirectories.txt +2 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/x86/CMakeFiles/cmake.check_cache +1 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/x86/CMakeFiles/rules.ninja +45 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/x86/additional_project_files.txt +0 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/x86/android_gradle_build.json +28 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/x86/android_gradle_build_mini.json +20 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/x86/build.ninja +111 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/x86/build_file_index.txt +1 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/x86/cmake_install.cmake +54 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/x86/configure_fingerprint.bin +28 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/x86/metadata_generation_command.txt +20 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/x86/prefab_config.json +4 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/x86/symbol_folder_index.txt +1 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/x86_64/.cmake/api/v1/query/client-agp/cache-v2 +0 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/x86_64/.cmake/api/v1/query/client-agp/cmakeFiles-v1 +0 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/x86_64/.cmake/api/v1/query/client-agp/codemodel-v2 +0 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/x86_64/.cmake/api/v1/reply/cache-v2-d8027b54f4aff95f4d13.json +1367 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/x86_64/.cmake/api/v1/reply/cmakeFiles-v1-6a96e4b732f457ba7295.json +803 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/x86_64/.cmake/api/v1/reply/codemodel-v2-25da33259363b5ef0a76.json +43 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/x86_64/.cmake/api/v1/reply/directory-.-Debug-d0094a50bb2071803777.json +14 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/x86_64/.cmake/api/v1/reply/index-2026-06-27T23-25-29-0828.json +92 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/x86_64/CMakeCache.txt +401 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/x86_64/CMakeFiles/3.22.1-g37088a8-dirty/CMakeCCompiler.cmake +72 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/x86_64/CMakeFiles/3.22.1-g37088a8-dirty/CMakeCXXCompiler.cmake +83 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/x86_64/CMakeFiles/3.22.1-g37088a8-dirty/CMakeDetermineCompilerABI_C.bin +0 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/x86_64/CMakeFiles/3.22.1-g37088a8-dirty/CMakeDetermineCompilerABI_CXX.bin +0 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/x86_64/CMakeFiles/3.22.1-g37088a8-dirty/CMakeSystem.cmake +15 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/x86_64/CMakeFiles/3.22.1-g37088a8-dirty/CompilerIdC/CMakeCCompilerId.c +803 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/x86_64/CMakeFiles/3.22.1-g37088a8-dirty/CompilerIdC/CMakeCCompilerId.o +0 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/x86_64/CMakeFiles/3.22.1-g37088a8-dirty/CompilerIdCXX/CMakeCXXCompilerId.cpp +791 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/x86_64/CMakeFiles/3.22.1-g37088a8-dirty/CompilerIdCXX/CMakeCXXCompilerId.o +0 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/x86_64/CMakeFiles/TargetDirectories.txt +2 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/x86_64/CMakeFiles/cmake.check_cache +1 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/x86_64/CMakeFiles/rules.ninja +45 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/x86_64/additional_project_files.txt +0 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/x86_64/android_gradle_build.json +28 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/x86_64/android_gradle_build_mini.json +20 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/x86_64/build.ninja +111 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/x86_64/build_file_index.txt +1 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/x86_64/cmake_install.cmake +54 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/x86_64/configure_fingerprint.bin +28 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/x86_64/metadata_generation_command.txt +20 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/x86_64/prefab_config.json +4 -0
- package/examples/app_flutter/android/app/.cxx/Debug/4t6d6m3x/x86_64/symbol_folder_index.txt +1 -0
- package/examples/app_flutter/android/app/.cxx/Debug/6d5m4g6b/arm64-v8a/.cmake/api/v1/query/client-agp/cache-v2 +0 -0
- package/examples/app_flutter/android/app/.cxx/Debug/6d5m4g6b/arm64-v8a/.cmake/api/v1/query/client-agp/cmakeFiles-v1 +0 -0
- package/examples/app_flutter/android/app/.cxx/Debug/6d5m4g6b/arm64-v8a/.cmake/api/v1/query/client-agp/codemodel-v2 +0 -0
- package/examples/app_flutter/android/app/.cxx/Debug/6d5m4g6b/arm64-v8a/.cmake/api/v1/reply/cache-v2-1b9f50457e809685ce2b.json +1367 -0
- package/examples/app_flutter/android/app/.cxx/Debug/6d5m4g6b/arm64-v8a/.cmake/api/v1/reply/cmakeFiles-v1-1c647a55a7f259fde69b.json +799 -0
- package/examples/app_flutter/android/app/.cxx/Debug/6d5m4g6b/arm64-v8a/.cmake/api/v1/reply/codemodel-v2-c43154011f282ef53cbb.json +43 -0
- package/examples/app_flutter/android/app/.cxx/Debug/6d5m4g6b/arm64-v8a/.cmake/api/v1/reply/directory-.-Debug-d0094a50bb2071803777.json +14 -0
- package/examples/app_flutter/android/app/.cxx/Debug/6d5m4g6b/arm64-v8a/.cmake/api/v1/reply/index-2026-06-23T10-14-51-0600.json +92 -0
- package/examples/app_flutter/android/app/.cxx/Debug/6d5m4g6b/arm64-v8a/CMakeCache.txt +401 -0
- package/examples/app_flutter/android/app/.cxx/Debug/6d5m4g6b/arm64-v8a/CMakeFiles/3.22.1-g37088a8-dirty/CMakeCCompiler.cmake +72 -0
- package/examples/app_flutter/android/app/.cxx/Debug/6d5m4g6b/arm64-v8a/CMakeFiles/3.22.1-g37088a8-dirty/CMakeCXXCompiler.cmake +83 -0
- package/examples/app_flutter/android/app/.cxx/Debug/6d5m4g6b/arm64-v8a/CMakeFiles/3.22.1-g37088a8-dirty/CMakeDetermineCompilerABI_C.bin +0 -0
- package/examples/app_flutter/android/app/.cxx/Debug/6d5m4g6b/arm64-v8a/CMakeFiles/3.22.1-g37088a8-dirty/CMakeDetermineCompilerABI_CXX.bin +0 -0
- package/examples/app_flutter/android/app/.cxx/Debug/6d5m4g6b/arm64-v8a/CMakeFiles/3.22.1-g37088a8-dirty/CMakeSystem.cmake +15 -0
- package/examples/app_flutter/android/app/.cxx/Debug/6d5m4g6b/arm64-v8a/CMakeFiles/3.22.1-g37088a8-dirty/CompilerIdC/CMakeCCompilerId.c +803 -0
- package/examples/app_flutter/android/app/.cxx/Debug/6d5m4g6b/arm64-v8a/CMakeFiles/3.22.1-g37088a8-dirty/CompilerIdC/CMakeCCompilerId.o +0 -0
- package/examples/app_flutter/android/app/.cxx/Debug/6d5m4g6b/arm64-v8a/CMakeFiles/3.22.1-g37088a8-dirty/CompilerIdCXX/CMakeCXXCompilerId.cpp +791 -0
- package/examples/app_flutter/android/app/.cxx/Debug/6d5m4g6b/arm64-v8a/CMakeFiles/3.22.1-g37088a8-dirty/CompilerIdCXX/CMakeCXXCompilerId.o +0 -0
- package/examples/app_flutter/android/app/.cxx/Debug/6d5m4g6b/arm64-v8a/CMakeFiles/TargetDirectories.txt +2 -0
- package/examples/app_flutter/android/app/.cxx/Debug/6d5m4g6b/arm64-v8a/CMakeFiles/cmake.check_cache +1 -0
- package/examples/app_flutter/android/app/.cxx/Debug/6d5m4g6b/arm64-v8a/CMakeFiles/rules.ninja +45 -0
- package/examples/app_flutter/android/app/.cxx/Debug/6d5m4g6b/arm64-v8a/additional_project_files.txt +0 -0
- package/examples/app_flutter/android/app/.cxx/Debug/6d5m4g6b/arm64-v8a/android_gradle_build.json +28 -0
- package/examples/app_flutter/android/app/.cxx/Debug/6d5m4g6b/arm64-v8a/android_gradle_build_mini.json +20 -0
- package/examples/app_flutter/android/app/.cxx/Debug/6d5m4g6b/arm64-v8a/build.ninja +111 -0
- package/examples/app_flutter/android/app/.cxx/Debug/6d5m4g6b/arm64-v8a/build_file_index.txt +1 -0
- package/examples/app_flutter/android/app/.cxx/Debug/6d5m4g6b/arm64-v8a/cmake_install.cmake +54 -0
- package/examples/app_flutter/android/app/.cxx/Debug/6d5m4g6b/arm64-v8a/configure_fingerprint.bin +28 -0
- package/examples/app_flutter/android/app/.cxx/Debug/6d5m4g6b/arm64-v8a/metadata_generation_command.txt +20 -0
- package/examples/app_flutter/android/app/.cxx/Debug/6d5m4g6b/arm64-v8a/prefab_config.json +4 -0
- package/examples/app_flutter/android/app/.cxx/Debug/6d5m4g6b/arm64-v8a/symbol_folder_index.txt +1 -0
- package/examples/app_flutter/android/app/.cxx/Debug/6d5m4g6b/hash_key.txt +27 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/arm64-v8a/.cmake/api/v1/query/client-agp/cache-v2 +0 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/arm64-v8a/.cmake/api/v1/query/client-agp/cmakeFiles-v1 +0 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/arm64-v8a/.cmake/api/v1/query/client-agp/codemodel-v2 +0 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/arm64-v8a/.cmake/api/v1/reply/cache-v2-7092b4074d7d5b530a89.json +1367 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/arm64-v8a/.cmake/api/v1/reply/cmakeFiles-v1-5b8e56d623e4567b20e6.json +799 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/arm64-v8a/.cmake/api/v1/reply/codemodel-v2-87460278a42f4ccb133f.json +43 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/arm64-v8a/.cmake/api/v1/reply/directory-.-RelWithDebInfo-d0094a50bb2071803777.json +14 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/arm64-v8a/.cmake/api/v1/reply/index-2026-06-21T15-25-19-0416.json +92 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/arm64-v8a/CMakeCache.txt +401 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/arm64-v8a/CMakeFiles/3.22.1-g37088a8-dirty/CMakeCCompiler.cmake +72 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/arm64-v8a/CMakeFiles/3.22.1-g37088a8-dirty/CMakeCXXCompiler.cmake +83 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/arm64-v8a/CMakeFiles/3.22.1-g37088a8-dirty/CMakeDetermineCompilerABI_C.bin +0 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/arm64-v8a/CMakeFiles/3.22.1-g37088a8-dirty/CMakeDetermineCompilerABI_CXX.bin +0 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/arm64-v8a/CMakeFiles/3.22.1-g37088a8-dirty/CMakeSystem.cmake +15 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/arm64-v8a/CMakeFiles/3.22.1-g37088a8-dirty/CompilerIdC/CMakeCCompilerId.c +803 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/arm64-v8a/CMakeFiles/3.22.1-g37088a8-dirty/CompilerIdC/CMakeCCompilerId.o +0 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/arm64-v8a/CMakeFiles/3.22.1-g37088a8-dirty/CompilerIdCXX/CMakeCXXCompilerId.cpp +791 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/arm64-v8a/CMakeFiles/3.22.1-g37088a8-dirty/CompilerIdCXX/CMakeCXXCompilerId.o +0 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/arm64-v8a/CMakeFiles/TargetDirectories.txt +2 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/arm64-v8a/CMakeFiles/cmake.check_cache +1 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/arm64-v8a/CMakeFiles/rules.ninja +45 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/arm64-v8a/additional_project_files.txt +0 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/arm64-v8a/android_gradle_build.json +28 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/arm64-v8a/android_gradle_build_mini.json +20 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/arm64-v8a/build.ninja +111 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/arm64-v8a/build_file_index.txt +1 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/arm64-v8a/cmake_install.cmake +54 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/arm64-v8a/configure_fingerprint.bin +28 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/arm64-v8a/metadata_generation_command.txt +20 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/arm64-v8a/prefab_config.json +4 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/arm64-v8a/symbol_folder_index.txt +1 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/armeabi-v7a/.cmake/api/v1/query/client-agp/cache-v2 +0 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/armeabi-v7a/.cmake/api/v1/query/client-agp/cmakeFiles-v1 +0 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/armeabi-v7a/.cmake/api/v1/query/client-agp/codemodel-v2 +0 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/armeabi-v7a/.cmake/api/v1/reply/cache-v2-11229810372aa9f2bb3f.json +1367 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/armeabi-v7a/.cmake/api/v1/reply/cmakeFiles-v1-edbe0b89ff03a0e16a3e.json +799 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/armeabi-v7a/.cmake/api/v1/reply/codemodel-v2-97eea03d302489582fd7.json +43 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/armeabi-v7a/.cmake/api/v1/reply/directory-.-RelWithDebInfo-d0094a50bb2071803777.json +14 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/armeabi-v7a/.cmake/api/v1/reply/index-2026-06-21T15-25-32-0610.json +92 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/armeabi-v7a/CMakeCache.txt +401 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/armeabi-v7a/CMakeFiles/3.22.1-g37088a8-dirty/CMakeCCompiler.cmake +72 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/armeabi-v7a/CMakeFiles/3.22.1-g37088a8-dirty/CMakeCXXCompiler.cmake +83 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/armeabi-v7a/CMakeFiles/3.22.1-g37088a8-dirty/CMakeDetermineCompilerABI_C.bin +0 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/armeabi-v7a/CMakeFiles/3.22.1-g37088a8-dirty/CMakeDetermineCompilerABI_CXX.bin +0 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/armeabi-v7a/CMakeFiles/3.22.1-g37088a8-dirty/CMakeSystem.cmake +15 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/armeabi-v7a/CMakeFiles/3.22.1-g37088a8-dirty/CompilerIdC/CMakeCCompilerId.c +803 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/armeabi-v7a/CMakeFiles/3.22.1-g37088a8-dirty/CompilerIdC/CMakeCCompilerId.o +0 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/armeabi-v7a/CMakeFiles/3.22.1-g37088a8-dirty/CompilerIdCXX/CMakeCXXCompilerId.cpp +791 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/armeabi-v7a/CMakeFiles/3.22.1-g37088a8-dirty/CompilerIdCXX/CMakeCXXCompilerId.o +0 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/armeabi-v7a/CMakeFiles/TargetDirectories.txt +2 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/armeabi-v7a/CMakeFiles/cmake.check_cache +1 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/armeabi-v7a/CMakeFiles/rules.ninja +45 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/armeabi-v7a/additional_project_files.txt +0 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/armeabi-v7a/android_gradle_build.json +28 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/armeabi-v7a/android_gradle_build_mini.json +20 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/armeabi-v7a/build.ninja +111 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/armeabi-v7a/build_file_index.txt +1 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/armeabi-v7a/cmake_install.cmake +54 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/armeabi-v7a/configure_fingerprint.bin +28 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/armeabi-v7a/metadata_generation_command.txt +20 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/armeabi-v7a/prefab_config.json +4 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/armeabi-v7a/symbol_folder_index.txt +1 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/hash_key.txt +27 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/x86/.cmake/api/v1/query/client-agp/cache-v2 +0 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/x86/.cmake/api/v1/query/client-agp/cmakeFiles-v1 +0 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/x86/.cmake/api/v1/query/client-agp/codemodel-v2 +0 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/x86/.cmake/api/v1/reply/cache-v2-9bded9c7df337a99d089.json +1367 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/x86/.cmake/api/v1/reply/cmakeFiles-v1-7377deee7b36be1fa2b1.json +799 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/x86/.cmake/api/v1/reply/codemodel-v2-d062a90f77ff0705adea.json +43 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/x86/.cmake/api/v1/reply/directory-.-RelWithDebInfo-d0094a50bb2071803777.json +14 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/x86/.cmake/api/v1/reply/index-2026-06-21T15-25-38-0859.json +92 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/x86/CMakeCache.txt +401 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/x86/CMakeFiles/3.22.1-g37088a8-dirty/CMakeCCompiler.cmake +72 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/x86/CMakeFiles/3.22.1-g37088a8-dirty/CMakeCXXCompiler.cmake +83 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/x86/CMakeFiles/3.22.1-g37088a8-dirty/CMakeDetermineCompilerABI_C.bin +0 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/x86/CMakeFiles/3.22.1-g37088a8-dirty/CMakeDetermineCompilerABI_CXX.bin +0 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/x86/CMakeFiles/3.22.1-g37088a8-dirty/CMakeSystem.cmake +15 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/x86/CMakeFiles/3.22.1-g37088a8-dirty/CompilerIdC/CMakeCCompilerId.c +803 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/x86/CMakeFiles/3.22.1-g37088a8-dirty/CompilerIdC/CMakeCCompilerId.o +0 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/x86/CMakeFiles/3.22.1-g37088a8-dirty/CompilerIdCXX/CMakeCXXCompilerId.cpp +791 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/x86/CMakeFiles/3.22.1-g37088a8-dirty/CompilerIdCXX/CMakeCXXCompilerId.o +0 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/x86/CMakeFiles/TargetDirectories.txt +2 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/x86/CMakeFiles/cmake.check_cache +1 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/x86/CMakeFiles/rules.ninja +45 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/x86/additional_project_files.txt +0 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/x86/android_gradle_build.json +28 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/x86/android_gradle_build_mini.json +20 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/x86/build.ninja +111 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/x86/build_file_index.txt +1 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/x86/cmake_install.cmake +54 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/x86/configure_fingerprint.bin +28 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/x86/metadata_generation_command.txt +20 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/x86/prefab_config.json +4 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/x86/symbol_folder_index.txt +1 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/x86_64/.cmake/api/v1/query/client-agp/cache-v2 +0 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/x86_64/.cmake/api/v1/query/client-agp/cmakeFiles-v1 +0 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/x86_64/.cmake/api/v1/query/client-agp/codemodel-v2 +0 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/x86_64/.cmake/api/v1/reply/cache-v2-18f250bba75fc36e6003.json +1367 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/x86_64/.cmake/api/v1/reply/cmakeFiles-v1-d7c2baa7c7727226b459.json +799 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/x86_64/.cmake/api/v1/reply/codemodel-v2-fcf7c27cf2904534a603.json +43 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/x86_64/.cmake/api/v1/reply/directory-.-RelWithDebInfo-d0094a50bb2071803777.json +14 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/x86_64/.cmake/api/v1/reply/index-2026-06-21T15-25-43-0609.json +92 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/x86_64/CMakeCache.txt +401 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/x86_64/CMakeFiles/3.22.1-g37088a8-dirty/CMakeCCompiler.cmake +72 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/x86_64/CMakeFiles/3.22.1-g37088a8-dirty/CMakeCXXCompiler.cmake +83 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/x86_64/CMakeFiles/3.22.1-g37088a8-dirty/CMakeDetermineCompilerABI_C.bin +0 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/x86_64/CMakeFiles/3.22.1-g37088a8-dirty/CMakeDetermineCompilerABI_CXX.bin +0 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/x86_64/CMakeFiles/3.22.1-g37088a8-dirty/CMakeSystem.cmake +15 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/x86_64/CMakeFiles/3.22.1-g37088a8-dirty/CompilerIdC/CMakeCCompilerId.c +803 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/x86_64/CMakeFiles/3.22.1-g37088a8-dirty/CompilerIdC/CMakeCCompilerId.o +0 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/x86_64/CMakeFiles/3.22.1-g37088a8-dirty/CompilerIdCXX/CMakeCXXCompilerId.cpp +791 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/x86_64/CMakeFiles/3.22.1-g37088a8-dirty/CompilerIdCXX/CMakeCXXCompilerId.o +0 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/x86_64/CMakeFiles/TargetDirectories.txt +2 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/x86_64/CMakeFiles/cmake.check_cache +1 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/x86_64/CMakeFiles/rules.ninja +45 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/x86_64/additional_project_files.txt +0 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/x86_64/android_gradle_build.json +28 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/x86_64/android_gradle_build_mini.json +20 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/x86_64/build.ninja +111 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/x86_64/build_file_index.txt +1 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/x86_64/cmake_install.cmake +54 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/x86_64/configure_fingerprint.bin +28 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/x86_64/metadata_generation_command.txt +20 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/x86_64/prefab_config.json +4 -0
- package/examples/app_flutter/android/app/.cxx/RelWithDebInfo/346pp285/x86_64/symbol_folder_index.txt +1 -0
- package/examples/app_flutter/android/app/build.gradle +3 -3
- package/examples/app_flutter/android/gradle/wrapper/gradle-wrapper.properties +1 -1
- package/examples/app_flutter/android/gradle.properties +1 -0
- package/examples/app_flutter/android/settings.gradle +2 -2
- package/examples/app_flutter/lib/main.dart +6 -1
- package/examples/app_flutter/lib/pentaSdkConfig.dart +3 -3
- package/examples/app_flutter/macos/Flutter/GeneratedPluginRegistrant.swift +2 -0
- package/examples/app_flutter/pentaSDKLibrary/.dart_tool/extension_discovery/devtools.json +1 -0
- package/examples/app_flutter/pubspec.yaml +2 -2
- package/examples/app_flutter/windows/flutter/generated_plugin_registrant.cc +3 -0
- package/examples/app_flutter/windows/flutter/generated_plugins.cmake +1 -0
- package/examples/route/Navigation.html +10 -3
- package/package.json +9 -3
- package/src/framework/ConfigurationManager.js +20 -1
- package/src/framework/MockLocation.js +5 -1
- package/src/framework/speech/SpeechHelper.js +116 -0
- package/src/framework/speech/SpeechManager.js +1038 -0
- package/src/framework/speech/SpeechNumberFormatter.js +101 -0
- package/src/framework/speech/SpeechTextFormatter.js +146 -0
- package/src/index.js +8 -1
- package/src/interceptor/pentaFetch.js +5 -5
- package/src/js/Location.js +7 -2
- package/src/js/NewRouteNavigationRenderer.js +54 -22
- package/src/js/Route.js +162 -10
- package/src/js/RouteRenderer.js +277 -18
- package/src/js/Steps.js +22 -8
- package/src/ui/ApiErrorMessage/ApiErrorMessage.js +55 -0
- package/src/ui/DirectionsInput/DirectionsInput.js +72 -43
- package/src/ui/MapTypes/MapTypes.js +4 -2
- package/src/ui/Message/BaseMessage.js +70 -0
- package/src/ui/{ErrorMessage/ErrorMessage.css → Message/Message.css} +14 -5
- package/src/ui/MyLocation/MyLocation.js +4 -2
- package/src/ui/Navigation/Navigation.js +16 -7
- package/src/ui/Navigation/Steps/NavigationStep.js +41 -3
- package/src/ui/Navigation/Steps/SearchStep.js +5 -2
- package/src/ui/NotificationMessage/NotificationMessage.js +48 -0
- package/src/ui/RouteCalculations/RouteCalculations.js +28 -6
- package/src/ui/SearchInput/SearchInput.js +8 -4
- package/src/ui/SpeechToggle/SpeechToggle.css +18 -0
- package/src/ui/SpeechToggle/SpeechToggle.js +111 -0
- package/src/ui/StepsMessages/StepsMessages.js +65 -1
- package/src/utilities/fetchData.js +44 -5
- package/src/utilities/functions.js +6 -5
- package/src/utilities/routeModes.js +58 -0
- package/src/utilities/styles.js +33 -31
- package/src/utilities/types.js +22 -2
- package/src/ui/ErrorMessage/ErrorMessage.js +0 -113
|
@@ -0,0 +1,1038 @@
|
|
|
1
|
+
import { NotificationMessage } from '../../ui/NotificationMessage/NotificationMessage';
|
|
2
|
+
import {
|
|
3
|
+
DEFAULT_SPEECH_OPTIONS,
|
|
4
|
+
FLUTTER_SPEECH_REQUEST_TIMEOUT,
|
|
5
|
+
FLUTTER_SPEECH_RESPONSE_EVENT,
|
|
6
|
+
USER_ACTIONABLE_ERROR_CODES,
|
|
7
|
+
applyArabicDiacritization,
|
|
8
|
+
normalizeLanguage,
|
|
9
|
+
normalizeSpeechOptions,
|
|
10
|
+
resolveSpeechLanguage
|
|
11
|
+
} from './SpeechHelper';
|
|
12
|
+
import { formatSpeechText } from './SpeechTextFormatter';
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Error returned for known speech availability and language failures.
|
|
16
|
+
*/
|
|
17
|
+
export class SpeechError extends Error {
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* @param {string} code - Machine-readable error code.
|
|
21
|
+
* @param {string} message - Human-readable error message.
|
|
22
|
+
* @param {Object} [details={}] - Additional provider and voice information.
|
|
23
|
+
*/
|
|
24
|
+
constructor(code, message, details = {}) {
|
|
25
|
+
super(message);
|
|
26
|
+
this.name = 'SpeechError';
|
|
27
|
+
this.code = code;
|
|
28
|
+
this.details = details;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Text-to-speech provider for standard web browsers.
|
|
34
|
+
*
|
|
35
|
+
* Uses the browser Web Speech API. Voice availability and offline support
|
|
36
|
+
* depend on the browser and the voices installed on the operating system.
|
|
37
|
+
* A browser may reject automatic speech with `not-allowed` until the user
|
|
38
|
+
* has interacted with the page.
|
|
39
|
+
*/
|
|
40
|
+
export class WebSpeechProvider {
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Checks whether the browser exposes the Web Speech synthesis APIs.
|
|
44
|
+
*
|
|
45
|
+
* @returns {boolean} `true` when browser TTS can be used.
|
|
46
|
+
*/
|
|
47
|
+
isAvailable() {
|
|
48
|
+
return typeof window !== 'undefined'
|
|
49
|
+
&& 'speechSynthesis' in window
|
|
50
|
+
&& 'SpeechSynthesisUtterance' in window;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Reports the permission state for browser speech synthesis.
|
|
55
|
+
*
|
|
56
|
+
* TTS does not use the microphone and has no permission prompt. Browser
|
|
57
|
+
* autoplay rules may still require an earlier user interaction.
|
|
58
|
+
*
|
|
59
|
+
* @returns {Promise<{required: boolean, granted: boolean}>} Permission status.
|
|
60
|
+
*/
|
|
61
|
+
async requestPermissions() {
|
|
62
|
+
return { required: false, granted: true };
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* Checks whether an installed browser voice supports a language.
|
|
67
|
+
*
|
|
68
|
+
* When the browser has not loaded its voice list yet, this method returns
|
|
69
|
+
* `true` and lets the speech attempt determine support.
|
|
70
|
+
*
|
|
71
|
+
* @param {string} language - A language code or locale, such as `en` or `ar-EG`.
|
|
72
|
+
* @returns {Promise<boolean>} Whether a compatible voice is available.
|
|
73
|
+
*/
|
|
74
|
+
async isLanguageSupported(language) {
|
|
75
|
+
if (!this.isAvailable()) return false;
|
|
76
|
+
|
|
77
|
+
const languageTag = normalizeLanguage(language).toLowerCase();
|
|
78
|
+
const languageCode = languageTag.split('-')[0];
|
|
79
|
+
const voices = await this.getSupportedVoices();
|
|
80
|
+
|
|
81
|
+
return voices.some(({ lang }) => {
|
|
82
|
+
const voiceLanguage = lang.toLowerCase();
|
|
83
|
+
return voiceLanguage === languageTag
|
|
84
|
+
|| voiceLanguage.split('-')[0] === languageCode;
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* Gets voices exposed by the browser and operating system.
|
|
90
|
+
*
|
|
91
|
+
* Some browsers load voices asynchronously, so this method waits briefly
|
|
92
|
+
* for the `voiceschanged` event before returning an empty list.
|
|
93
|
+
*
|
|
94
|
+
* @returns {Promise<SpeechSynthesisVoice[]>} Available browser voices.
|
|
95
|
+
*/
|
|
96
|
+
async getSupportedVoices() {
|
|
97
|
+
if (!this.isAvailable()) return [];
|
|
98
|
+
|
|
99
|
+
const voices = window.speechSynthesis.getVoices();
|
|
100
|
+
if (voices.length > 0) return voices;
|
|
101
|
+
|
|
102
|
+
// Browsers may return an empty list while system voices are still loading.
|
|
103
|
+
// Wait for `voiceschanged`, with a timeout in case the event is never fired.
|
|
104
|
+
return new Promise(resolve => {
|
|
105
|
+
const timeoutId = window.setTimeout(() => {
|
|
106
|
+
window.speechSynthesis.removeEventListener('voiceschanged', onVoicesChanged);
|
|
107
|
+
resolve(window.speechSynthesis.getVoices());
|
|
108
|
+
}, 1000);
|
|
109
|
+
|
|
110
|
+
const onVoicesChanged = () => {
|
|
111
|
+
window.clearTimeout(timeoutId);
|
|
112
|
+
window.speechSynthesis.removeEventListener('voiceschanged', onVoicesChanged);
|
|
113
|
+
resolve(window.speechSynthesis.getVoices());
|
|
114
|
+
};
|
|
115
|
+
|
|
116
|
+
window.speechSynthesis.addEventListener('voiceschanged', onVoicesChanged);
|
|
117
|
+
});
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* Selects a compatible browser voice for the requested connectivity mode.
|
|
122
|
+
*
|
|
123
|
+
* @param {string} language - Requested language locale.
|
|
124
|
+
* @param {boolean} isOnline - Whether online voices may be used.
|
|
125
|
+
* @returns {Promise<boolean>} Whether a compatible voice was selected.
|
|
126
|
+
*/
|
|
127
|
+
async resolveVoice(language, isOnline) {
|
|
128
|
+
const languageCode = normalizeLanguage(language)
|
|
129
|
+
.toLowerCase()
|
|
130
|
+
.split('-')[0];
|
|
131
|
+
const voices = await this.getSupportedVoices();
|
|
132
|
+
const matchingVoices = voices.filter(({ lang }) => {
|
|
133
|
+
return lang?.toLowerCase().split('-')[0] === languageCode;
|
|
134
|
+
});
|
|
135
|
+
|
|
136
|
+
this.selectedVoice = isOnline
|
|
137
|
+
? matchingVoices[0]
|
|
138
|
+
: matchingVoices.find(({ localService }) => localService === true);
|
|
139
|
+
|
|
140
|
+
return Boolean(this.selectedVoice);
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* Validates browser TTS and prepares a compatible voice for playback.
|
|
145
|
+
*
|
|
146
|
+
* @param {Object} options - Preparation options.
|
|
147
|
+
* @param {string} options.language - Requested language locale.
|
|
148
|
+
* @param {boolean} options.isOnline - Whether online voices may be used.
|
|
149
|
+
* @returns {Promise<Object>} Preparation result with actionable guidance.
|
|
150
|
+
*/
|
|
151
|
+
async prepare({ language, isOnline }) {
|
|
152
|
+
const normalizedLanguage = normalizeLanguage(language);
|
|
153
|
+
|
|
154
|
+
if (!this.isAvailable()) {
|
|
155
|
+
return {
|
|
156
|
+
ready: false,
|
|
157
|
+
code: 'PROVIDER_UNAVAILABLE',
|
|
158
|
+
message: 'Text-to-speech is not supported by this browser.',
|
|
159
|
+
details: {
|
|
160
|
+
action: 'Use a browser or device that supports text-to-speech.'
|
|
161
|
+
}
|
|
162
|
+
};
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
const voices = await this.getSupportedVoices();
|
|
166
|
+
if (voices.length === 0) {
|
|
167
|
+
return {
|
|
168
|
+
ready: false,
|
|
169
|
+
code: 'NO_VOICES',
|
|
170
|
+
message: 'No text-to-speech voices are available.',
|
|
171
|
+
details: {
|
|
172
|
+
action: 'Install or enable a system text-to-speech voice.'
|
|
173
|
+
}
|
|
174
|
+
};
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
const languageSupported = await this.isLanguageSupported(
|
|
178
|
+
normalizedLanguage
|
|
179
|
+
);
|
|
180
|
+
if (!languageSupported) {
|
|
181
|
+
return {
|
|
182
|
+
ready: false,
|
|
183
|
+
code: 'LANGUAGE_NOT_SUPPORTED',
|
|
184
|
+
message: `No text-to-speech voice is installed for ${normalizedLanguage}.`,
|
|
185
|
+
details: {
|
|
186
|
+
action: `Install a ${normalizedLanguage} voice in the device settings.`
|
|
187
|
+
}
|
|
188
|
+
};
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
const resolved = await this.resolveVoice(
|
|
192
|
+
normalizedLanguage,
|
|
193
|
+
isOnline
|
|
194
|
+
);
|
|
195
|
+
if (!resolved) {
|
|
196
|
+
return {
|
|
197
|
+
ready: false,
|
|
198
|
+
code: 'OFFLINE_VOICE_UNAVAILABLE',
|
|
199
|
+
message: `No offline text-to-speech voice is installed for ${normalizedLanguage}.`,
|
|
200
|
+
details: {
|
|
201
|
+
action: `Connect to the internet or install an offline ${normalizedLanguage} voice.`
|
|
202
|
+
}
|
|
203
|
+
};
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
return { ready: true };
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* Speaks text using the browser Web Speech API.
|
|
211
|
+
*
|
|
212
|
+
* Selects an exact locale match first, then falls back to a voice matching
|
|
213
|
+
* the base language. The promise resolves after speech finishes and rejects
|
|
214
|
+
* when the browser reports a synthesis error.
|
|
215
|
+
*
|
|
216
|
+
* @param {Object} options - Speech options.
|
|
217
|
+
* @param {string} options.text - Text to speak.
|
|
218
|
+
* @param {string} options.lang - Language code or locale.
|
|
219
|
+
* @param {number} options.rate - Speech rate.
|
|
220
|
+
* @param {number} options.pitch - Speech pitch.
|
|
221
|
+
* @param {number} options.volume - Volume from 0 to 1.
|
|
222
|
+
* @param {boolean} options.isOnline - Current network availability hint.
|
|
223
|
+
* @returns {Promise<void>} Resolves after the utterance finishes.
|
|
224
|
+
*/
|
|
225
|
+
async speak({ text, lang, rate, pitch, volume, isOnline }) {
|
|
226
|
+
const utterance = new SpeechSynthesisUtterance(text);
|
|
227
|
+
const language = normalizeLanguage(lang);
|
|
228
|
+
|
|
229
|
+
utterance.lang = language;
|
|
230
|
+
if (this.selectedVoice) utterance.voice = this.selectedVoice;
|
|
231
|
+
utterance.rate = rate;
|
|
232
|
+
utterance.pitch = pitch;
|
|
233
|
+
utterance.volume = volume;
|
|
234
|
+
|
|
235
|
+
return new Promise((resolve, reject) => {
|
|
236
|
+
utterance.onend = () => resolve();
|
|
237
|
+
utterance.onerror = ({ error }) => {
|
|
238
|
+
reject(new Error(`Browser text-to-speech failed: ${error || 'unknown error'}`));
|
|
239
|
+
};
|
|
240
|
+
|
|
241
|
+
window.speechSynthesis.cancel();
|
|
242
|
+
window.speechSynthesis.resume();
|
|
243
|
+
window.speechSynthesis.speak(utterance);
|
|
244
|
+
});
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
/**
|
|
248
|
+
* Cancels the current utterance and clears queued browser speech.
|
|
249
|
+
*
|
|
250
|
+
* @returns {Promise<void>}
|
|
251
|
+
*/
|
|
252
|
+
async stop() {
|
|
253
|
+
if (this.isAvailable()) {
|
|
254
|
+
window.speechSynthesis.cancel();
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
/**
|
|
261
|
+
* Text-to-speech provider for SDK instances hosted by a Flutter WebView.
|
|
262
|
+
*
|
|
263
|
+
* The Flutter plugin must expose speech methods on `window.FlutterBridge` and
|
|
264
|
+
* return asynchronous results through the `flutter_speech_response` event.
|
|
265
|
+
* Each request includes a unique `requestId` so concurrent calls are matched
|
|
266
|
+
* to the correct response.
|
|
267
|
+
*/
|
|
268
|
+
export class FlutterSpeechProvider {
|
|
269
|
+
|
|
270
|
+
/**
|
|
271
|
+
* @param {Object} [bridge] - Flutter JavaScript bridge implementation.
|
|
272
|
+
*/
|
|
273
|
+
constructor(bridge) {
|
|
274
|
+
this.bridge = bridge
|
|
275
|
+
|| (typeof window !== 'undefined' ? window.FlutterBridge : null);
|
|
276
|
+
this.requestSequence = 0;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
/**
|
|
280
|
+
* Checks whether the Flutter speech wrapper is exposed.
|
|
281
|
+
*
|
|
282
|
+
* @returns {Promise<boolean>} Whether native Flutter TTS is available.
|
|
283
|
+
*/
|
|
284
|
+
async isAvailable() {
|
|
285
|
+
if (!this.bridge || typeof this.bridge.isSpeechAvailable !== 'function') {
|
|
286
|
+
return false;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
try {
|
|
290
|
+
return Boolean(await this.#request('isSpeechAvailable'));
|
|
291
|
+
} catch {
|
|
292
|
+
return false;
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
/**
|
|
297
|
+
* Flutter TTS produces audio and does not require microphone permission.
|
|
298
|
+
*
|
|
299
|
+
* @returns {Promise<{required: boolean, granted: boolean}>} Permission status.
|
|
300
|
+
*/
|
|
301
|
+
async requestPermissions() {
|
|
302
|
+
return { required: false, granted: true };
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
/**
|
|
306
|
+
* Checks whether Flutter reports support for a language.
|
|
307
|
+
*
|
|
308
|
+
* @param {string} language - Language code or locale.
|
|
309
|
+
* @returns {Promise<boolean>} Whether the language is supported.
|
|
310
|
+
*/
|
|
311
|
+
async isLanguageSupported(language) {
|
|
312
|
+
return Boolean(await this.#request('isSpeechLanguageSupported', {
|
|
313
|
+
language: normalizeLanguage(language)
|
|
314
|
+
}));
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
/**
|
|
318
|
+
* Gets native voices for diagnostics.
|
|
319
|
+
*
|
|
320
|
+
* Voice selection remains entirely inside the Flutter plugin.
|
|
321
|
+
*
|
|
322
|
+
* @returns {Promise<Object[]>} Native voice descriptions.
|
|
323
|
+
*/
|
|
324
|
+
async getSupportedVoices() {
|
|
325
|
+
const voices = await this.#request('getSpeechVoices');
|
|
326
|
+
return Array.isArray(voices) ? voices : [];
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
/**
|
|
330
|
+
* Asks Flutter to select a native voice without exposing it to JavaScript.
|
|
331
|
+
*
|
|
332
|
+
* @param {string} language - Requested language locale.
|
|
333
|
+
* @param {boolean} isOnline - Whether online voices may be used.
|
|
334
|
+
* @returns {Promise<boolean>} Whether Flutter selected a voice.
|
|
335
|
+
*/
|
|
336
|
+
async resolveVoice(language, isOnline) {
|
|
337
|
+
return Boolean(await this.#request('resolveSpeechVoice', {
|
|
338
|
+
language: normalizeLanguage(language),
|
|
339
|
+
isOnline
|
|
340
|
+
}));
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
/**
|
|
344
|
+
* Asks Flutter to validate TTS and prepare a native voice in one request.
|
|
345
|
+
*
|
|
346
|
+
* Existing capability methods remain available for diagnostics.
|
|
347
|
+
*
|
|
348
|
+
* @param {Object} options - Preparation options.
|
|
349
|
+
* @returns {Promise<Object>} Preparation result from Flutter.
|
|
350
|
+
*/
|
|
351
|
+
async prepare(options) {
|
|
352
|
+
return this.#request('prepareSpeech', {
|
|
353
|
+
language: normalizeLanguage(options.language),
|
|
354
|
+
isOnline: options.isOnline
|
|
355
|
+
});
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
/**
|
|
359
|
+
* Speaks text through the Flutter plugin.
|
|
360
|
+
*
|
|
361
|
+
* @param {Object} options - Normalized speech options.
|
|
362
|
+
* @returns {Promise<void>} Resolves after Flutter accepts the speech request.
|
|
363
|
+
*/
|
|
364
|
+
async speak(options) {
|
|
365
|
+
await this.#request('speak', {
|
|
366
|
+
text: options.text,
|
|
367
|
+
language: normalizeLanguage(options.lang),
|
|
368
|
+
rate: options.rate,
|
|
369
|
+
pitch: options.pitch,
|
|
370
|
+
volume: options.volume,
|
|
371
|
+
isOnline: options.isOnline
|
|
372
|
+
});
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
/**
|
|
376
|
+
* Stops native Flutter speech.
|
|
377
|
+
*
|
|
378
|
+
* @returns {Promise<void>}
|
|
379
|
+
*/
|
|
380
|
+
async stop() {
|
|
381
|
+
await this.#request('stopSpeech');
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
/**
|
|
385
|
+
* Opens the native voice installation screen when Flutter supports it.
|
|
386
|
+
*
|
|
387
|
+
* @returns {Promise<boolean>} Whether the installation screen was opened.
|
|
388
|
+
*/
|
|
389
|
+
async openInstall() {
|
|
390
|
+
if (typeof this.bridge?.openSpeechVoiceInstallation !== 'function') {
|
|
391
|
+
return false;
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
return Boolean(await this.#request('openSpeechVoiceInstallation'));
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
/**
|
|
398
|
+
* Calls a Flutter bridge method and waits for its matching response event.
|
|
399
|
+
*
|
|
400
|
+
* Flutter must dispatch:
|
|
401
|
+
* `CustomEvent('flutter_speech_response', { detail: {
|
|
402
|
+
* requestId, success, result, error
|
|
403
|
+
* }})`.
|
|
404
|
+
*
|
|
405
|
+
* @param {string} method - FlutterBridge method name.
|
|
406
|
+
* @param {Object} [payload={}] - Method payload.
|
|
407
|
+
* @returns {Promise<*>} Flutter response result.
|
|
408
|
+
* @private
|
|
409
|
+
*/
|
|
410
|
+
#request(method, payload = {}) {
|
|
411
|
+
if (!this.bridge || typeof this.bridge[method] !== 'function') {
|
|
412
|
+
return Promise.reject(
|
|
413
|
+
new Error(`Flutter speech bridge method is unavailable: ${method}`)
|
|
414
|
+
);
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
const requestId = `speech-${Date.now()}-${++this.requestSequence}`;
|
|
418
|
+
|
|
419
|
+
return new Promise((resolve, reject) => {
|
|
420
|
+
const cleanup = () => {
|
|
421
|
+
window.clearTimeout(timeoutId);
|
|
422
|
+
window.removeEventListener(
|
|
423
|
+
FLUTTER_SPEECH_RESPONSE_EVENT,
|
|
424
|
+
onResponse
|
|
425
|
+
);
|
|
426
|
+
};
|
|
427
|
+
|
|
428
|
+
const onResponse = (event) => {
|
|
429
|
+
let detail;
|
|
430
|
+
|
|
431
|
+
try {
|
|
432
|
+
detail = typeof event.detail === 'string'
|
|
433
|
+
? JSON.parse(event.detail)
|
|
434
|
+
: event.detail;
|
|
435
|
+
} catch (error) {
|
|
436
|
+
cleanup();
|
|
437
|
+
reject(error);
|
|
438
|
+
return;
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
if (detail?.requestId !== requestId) return;
|
|
442
|
+
|
|
443
|
+
cleanup();
|
|
444
|
+
|
|
445
|
+
if (detail.success === false) {
|
|
446
|
+
reject(new SpeechError(
|
|
447
|
+
detail.code || 'PROVIDER_ERROR',
|
|
448
|
+
detail.error || `Flutter speech request failed: ${method}`,
|
|
449
|
+
detail.details || {}
|
|
450
|
+
));
|
|
451
|
+
return;
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
resolve(detail.result);
|
|
455
|
+
};
|
|
456
|
+
|
|
457
|
+
const timeoutId = window.setTimeout(() => {
|
|
458
|
+
cleanup();
|
|
459
|
+
reject(new Error(`Flutter speech request timed out: ${method}`));
|
|
460
|
+
}, FLUTTER_SPEECH_REQUEST_TIMEOUT);
|
|
461
|
+
|
|
462
|
+
window.addEventListener(
|
|
463
|
+
FLUTTER_SPEECH_RESPONSE_EVENT,
|
|
464
|
+
onResponse
|
|
465
|
+
);
|
|
466
|
+
|
|
467
|
+
try {
|
|
468
|
+
this.bridge[method]({ requestId, ...payload });
|
|
469
|
+
} catch (error) {
|
|
470
|
+
cleanup();
|
|
471
|
+
reject(error);
|
|
472
|
+
}
|
|
473
|
+
});
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
/**
|
|
478
|
+
* Text-to-speech provider for SDK instances hosted by the Android library WebView.
|
|
479
|
+
*
|
|
480
|
+
* The Android library exposes native TTS through `window.AndroidSpeechBridge`.
|
|
481
|
+
* This provider keeps Android bridge behavior separate from Flutter so each host
|
|
482
|
+
* can evolve its own native contract without provider-level conditionals.
|
|
483
|
+
*/
|
|
484
|
+
export class AndroidSpeechProvider {
|
|
485
|
+
|
|
486
|
+
/**
|
|
487
|
+
* @param {Object} [bridge] - Android JavaScript bridge implementation.
|
|
488
|
+
*/
|
|
489
|
+
constructor(bridge) {
|
|
490
|
+
this.bridge = bridge
|
|
491
|
+
|| (typeof window !== 'undefined' ? window.AndroidSpeechBridge : null);
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
/**
|
|
495
|
+
* Checks whether Android native TTS is available.
|
|
496
|
+
*
|
|
497
|
+
* @returns {Promise<boolean>} Whether native Android TTS is available.
|
|
498
|
+
*/
|
|
499
|
+
async isAvailable() {
|
|
500
|
+
if (!this.bridge || typeof this.bridge.isSpeechAvailable !== 'function') {
|
|
501
|
+
return false;
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
try {
|
|
505
|
+
return Boolean(await this.#request('isSpeechAvailable'));
|
|
506
|
+
} catch {
|
|
507
|
+
return false;
|
|
508
|
+
}
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
/**
|
|
512
|
+
* Android TTS produces audio and does not require microphone permission.
|
|
513
|
+
*
|
|
514
|
+
* @returns {Promise<{required: boolean, granted: boolean}>} Permission status.
|
|
515
|
+
*/
|
|
516
|
+
async requestPermissions() {
|
|
517
|
+
return { required: false, granted: true };
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
/**
|
|
521
|
+
* Checks whether Android reports support for a language.
|
|
522
|
+
*
|
|
523
|
+
* @param {string} language - Language code or locale.
|
|
524
|
+
* @returns {Promise<boolean>} Whether the language is supported.
|
|
525
|
+
*/
|
|
526
|
+
async isLanguageSupported(language) {
|
|
527
|
+
return Boolean(await this.#request('isSpeechLanguageSupported', {
|
|
528
|
+
language: normalizeLanguage(language)
|
|
529
|
+
}));
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
/**
|
|
533
|
+
* Gets native Android voices for diagnostics.
|
|
534
|
+
*
|
|
535
|
+
* @returns {Promise<Object[]>} Native voice descriptions.
|
|
536
|
+
*/
|
|
537
|
+
async getSupportedVoices() {
|
|
538
|
+
const voices = await this.#request('getSpeechVoices');
|
|
539
|
+
return Array.isArray(voices) ? voices : [];
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
/**
|
|
543
|
+
* Asks Android to select a native voice.
|
|
544
|
+
*
|
|
545
|
+
* @param {string} language - Requested language locale.
|
|
546
|
+
* @param {boolean} isOnline - Whether online voices may be used.
|
|
547
|
+
* @returns {Promise<boolean>} Whether Android selected a voice.
|
|
548
|
+
*/
|
|
549
|
+
async resolveVoice(language, isOnline) {
|
|
550
|
+
return Boolean(await this.#request('resolveSpeechVoice', {
|
|
551
|
+
language: normalizeLanguage(language),
|
|
552
|
+
isOnline
|
|
553
|
+
}));
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
/**
|
|
557
|
+
* Asks Android to validate TTS and prepare a native voice in one request.
|
|
558
|
+
*
|
|
559
|
+
* @param {Object} options - Preparation options.
|
|
560
|
+
* @returns {Promise<Object>} Preparation result from Android.
|
|
561
|
+
*/
|
|
562
|
+
async prepare(options) {
|
|
563
|
+
return this.#request('prepareSpeech', {
|
|
564
|
+
language: normalizeLanguage(options.language),
|
|
565
|
+
isOnline: options.isOnline
|
|
566
|
+
});
|
|
567
|
+
}
|
|
568
|
+
|
|
569
|
+
/**
|
|
570
|
+
* Speaks text through Android native TTS.
|
|
571
|
+
*
|
|
572
|
+
* @param {Object} options - Normalized speech options.
|
|
573
|
+
* @returns {Promise<void>} Resolves after Android accepts the speech request.
|
|
574
|
+
*/
|
|
575
|
+
async speak(options) {
|
|
576
|
+
await this.#request('speak', {
|
|
577
|
+
text: options.text,
|
|
578
|
+
language: normalizeLanguage(options.lang),
|
|
579
|
+
rate: options.rate,
|
|
580
|
+
pitch: options.pitch,
|
|
581
|
+
volume: options.volume,
|
|
582
|
+
isOnline: options.isOnline
|
|
583
|
+
});
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
/**
|
|
587
|
+
* Stops Android native speech.
|
|
588
|
+
*
|
|
589
|
+
* @returns {Promise<void>}
|
|
590
|
+
*/
|
|
591
|
+
async stop() {
|
|
592
|
+
await this.#request('stopSpeech');
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
/**
|
|
596
|
+
* Opens Android TTS voice installation/settings UI.
|
|
597
|
+
*
|
|
598
|
+
* @returns {Promise<boolean>} Whether Android opened a settings screen.
|
|
599
|
+
*/
|
|
600
|
+
async openInstall() {
|
|
601
|
+
if (typeof this.bridge?.openSpeechVoiceInstallation !== 'function') {
|
|
602
|
+
return false;
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
return Boolean(await this.#request('openSpeechVoiceInstallation'));
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
/**
|
|
609
|
+
* Calls an Android bridge method and parses its JSON response.
|
|
610
|
+
*
|
|
611
|
+
* Android bridge methods are synchronous JavaScript interface calls returning:
|
|
612
|
+
* `{ success, result, code, error, details }`.
|
|
613
|
+
*
|
|
614
|
+
* @param {string} method - AndroidSpeechBridge method name.
|
|
615
|
+
* @param {Object} [payload={}] - Method payload.
|
|
616
|
+
* @returns {Promise<*>} Android response result.
|
|
617
|
+
* @private
|
|
618
|
+
*/
|
|
619
|
+
async #request(method, payload = {}) {
|
|
620
|
+
if (!this.bridge || typeof this.bridge[method] !== 'function') {
|
|
621
|
+
throw new Error(`Android speech bridge method is unavailable: ${method}`);
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
const rawResponse = this.bridge[method](JSON.stringify(payload));
|
|
625
|
+
const response = typeof rawResponse === 'string'
|
|
626
|
+
? JSON.parse(rawResponse)
|
|
627
|
+
: rawResponse;
|
|
628
|
+
|
|
629
|
+
if (response?.success === false) {
|
|
630
|
+
throw new SpeechError(
|
|
631
|
+
response.code || 'PROVIDER_ERROR',
|
|
632
|
+
response.error || `Android speech request failed: ${method}`,
|
|
633
|
+
response.details || {}
|
|
634
|
+
);
|
|
635
|
+
}
|
|
636
|
+
|
|
637
|
+
return response?.result;
|
|
638
|
+
}
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
/**
|
|
642
|
+
* Provider-independent text-to-speech service used by the SDK.
|
|
643
|
+
*
|
|
644
|
+
* Uses Web Speech by default. Flutter and Android hosts can replace the
|
|
645
|
+
* provider with `useSpeechProvider`.
|
|
646
|
+
*/
|
|
647
|
+
class SpeechManager {
|
|
648
|
+
|
|
649
|
+
/**
|
|
650
|
+
* Tracks speech errors already shown to the user.
|
|
651
|
+
*
|
|
652
|
+
* Errors are keyed by code and language so each relevant problem is shown
|
|
653
|
+
* once while repeated navigation instructions only log to the console.
|
|
654
|
+
*
|
|
655
|
+
* @type {Set<string>}
|
|
656
|
+
* @private
|
|
657
|
+
*/
|
|
658
|
+
#notifiedErrors = new Set();
|
|
659
|
+
|
|
660
|
+
/**
|
|
661
|
+
* Creates the speech manager using Flutter when its bridge is present,
|
|
662
|
+
* otherwise Web Speech.
|
|
663
|
+
*/
|
|
664
|
+
constructor() {
|
|
665
|
+
this.provider = getDefaultSpeechProvider();
|
|
666
|
+
this.options = { ...DEFAULT_SPEECH_OPTIONS };
|
|
667
|
+
this.enabled = true;
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
/**
|
|
671
|
+
* Enables or disables all future speech requests.
|
|
672
|
+
*
|
|
673
|
+
* @param {boolean} enabled - Whether speech should be allowed.
|
|
674
|
+
* @returns {boolean} Active enabled state.
|
|
675
|
+
*/
|
|
676
|
+
setEnabled(enabled) {
|
|
677
|
+
this.enabled = Boolean(enabled);
|
|
678
|
+
if (!this.enabled) {
|
|
679
|
+
this.stop();
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
return this.isEnabled();
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
/**
|
|
686
|
+
* Returns whether speech is currently enabled.
|
|
687
|
+
*
|
|
688
|
+
* @returns {boolean} Whether speech requests are allowed.
|
|
689
|
+
*/
|
|
690
|
+
isEnabled() {
|
|
691
|
+
return this.enabled;
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
/**
|
|
695
|
+
* Configures the default speech options used by future `speak()` calls.
|
|
696
|
+
*
|
|
697
|
+
* Values outside the supported SDK range are clamped:
|
|
698
|
+
* - `rate`: 0.5 to 2
|
|
699
|
+
* - `pitch`: 0 to 2
|
|
700
|
+
* - `volume`: 0 to 1
|
|
701
|
+
*
|
|
702
|
+
* @param {Object} [options={}] - Partial speech options.
|
|
703
|
+
* @param {number} [options.rate] - Speech rate.
|
|
704
|
+
* @param {number} [options.pitch] - Speech pitch.
|
|
705
|
+
* @param {number} [options.volume] - Speech volume.
|
|
706
|
+
* @returns {{rate: number, pitch: number, volume: number}} Active options.
|
|
707
|
+
*/
|
|
708
|
+
configure(options = {}) {
|
|
709
|
+
this.options = normalizeSpeechOptions({
|
|
710
|
+
...this.options,
|
|
711
|
+
...options
|
|
712
|
+
});
|
|
713
|
+
|
|
714
|
+
return this.getOptions();
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
/**
|
|
718
|
+
* Returns the current default speech options.
|
|
719
|
+
*
|
|
720
|
+
* @returns {{rate: number, pitch: number, volume: number}} Active options.
|
|
721
|
+
*/
|
|
722
|
+
getOptions() {
|
|
723
|
+
return { ...this.options };
|
|
724
|
+
}
|
|
725
|
+
|
|
726
|
+
/**
|
|
727
|
+
* Restores the default speech options.
|
|
728
|
+
*
|
|
729
|
+
* @returns {{rate: number, pitch: number, volume: number}} Active options.
|
|
730
|
+
*/
|
|
731
|
+
resetOptions() {
|
|
732
|
+
this.options = { ...DEFAULT_SPEECH_OPTIONS };
|
|
733
|
+
return this.getOptions();
|
|
734
|
+
}
|
|
735
|
+
|
|
736
|
+
/**
|
|
737
|
+
* Replaces the current provider.
|
|
738
|
+
*
|
|
739
|
+
* Custom providers enable Flutter and Android hosts to bridge their native
|
|
740
|
+
* TTS implementation into the JavaScript SDK.
|
|
741
|
+
*
|
|
742
|
+
* @param {Object} provider - Provider implementing at least `speak(options)`.
|
|
743
|
+
* @returns {void}
|
|
744
|
+
* @throws {TypeError} When the provider does not implement `speak`.
|
|
745
|
+
*/
|
|
746
|
+
setProvider(provider) {
|
|
747
|
+
if (!provider || typeof provider.speak !== 'function') {
|
|
748
|
+
throw new TypeError('A speech provider must implement speak(options).');
|
|
749
|
+
}
|
|
750
|
+
|
|
751
|
+
this.provider = provider;
|
|
752
|
+
}
|
|
753
|
+
|
|
754
|
+
/**
|
|
755
|
+
* Gets the currently selected speech provider.
|
|
756
|
+
*
|
|
757
|
+
* @returns {Object} The active speech provider.
|
|
758
|
+
*/
|
|
759
|
+
getProvider() {
|
|
760
|
+
return this.provider;
|
|
761
|
+
}
|
|
762
|
+
|
|
763
|
+
/**
|
|
764
|
+
* Requests permissions when required by a custom provider.
|
|
765
|
+
*
|
|
766
|
+
* The built-in browser provider requires no TTS permission.
|
|
767
|
+
*
|
|
768
|
+
* @returns {Promise<{required: boolean, granted: boolean}>} Permission status.
|
|
769
|
+
*/
|
|
770
|
+
async requestPermissions() {
|
|
771
|
+
if (typeof this.provider.requestPermissions !== 'function') {
|
|
772
|
+
return { required: false, granted: true };
|
|
773
|
+
}
|
|
774
|
+
|
|
775
|
+
return this.provider.requestPermissions();
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
/**
|
|
779
|
+
* Checks whether the active provider is available.
|
|
780
|
+
*
|
|
781
|
+
* Providers without an `isAvailable` method are treated as available.
|
|
782
|
+
*
|
|
783
|
+
* @returns {Promise<boolean>} Whether speech can be attempted.
|
|
784
|
+
*/
|
|
785
|
+
async isAvailable() {
|
|
786
|
+
if (typeof this.provider.isAvailable !== 'function') return true;
|
|
787
|
+
return this.provider.isAvailable();
|
|
788
|
+
}
|
|
789
|
+
|
|
790
|
+
/**
|
|
791
|
+
* Checks whether the active provider supports a language.
|
|
792
|
+
*
|
|
793
|
+
* Providers without an `isLanguageSupported` method are assumed to support
|
|
794
|
+
* the requested language.
|
|
795
|
+
*
|
|
796
|
+
* @param {string} language - A language code or locale.
|
|
797
|
+
* @returns {Promise<boolean>} Whether the language is supported.
|
|
798
|
+
*/
|
|
799
|
+
async isLanguageSupported(language) {
|
|
800
|
+
if (typeof this.provider.isLanguageSupported !== 'function') return true;
|
|
801
|
+
return this.provider.isLanguageSupported(normalizeLanguage(language));
|
|
802
|
+
}
|
|
803
|
+
|
|
804
|
+
/**
|
|
805
|
+
* Gets voices available through the active provider.
|
|
806
|
+
*
|
|
807
|
+
* `offlineOnly` relies on the provider exposing a `localService` property.
|
|
808
|
+
* This property is commonly available in browsers but may not be provided
|
|
809
|
+
* consistently by every native platform.
|
|
810
|
+
*
|
|
811
|
+
* @param {Object} [options] - Voice filtering options.
|
|
812
|
+
* @param {boolean} [options.offlineOnly=false] - Return only local voices.
|
|
813
|
+
* @returns {Promise<Object[]>} Available voice descriptions.
|
|
814
|
+
*/
|
|
815
|
+
async getSupportedVoices({ offlineOnly = false } = {}) {
|
|
816
|
+
if (typeof this.provider.getSupportedVoices !== 'function') return [];
|
|
817
|
+
|
|
818
|
+
const voices = await this.provider.getSupportedVoices();
|
|
819
|
+
return offlineOnly ? voices.filter(({ localService }) => localService) : voices;
|
|
820
|
+
}
|
|
821
|
+
|
|
822
|
+
/**
|
|
823
|
+
* Returns whether the runtime currently reports a network connection.
|
|
824
|
+
*
|
|
825
|
+
* `navigator.onLine` is a connectivity hint, not a guarantee that a remote
|
|
826
|
+
* speech service is reachable.
|
|
827
|
+
*
|
|
828
|
+
* @returns {boolean} `false` only when the runtime explicitly reports offline.
|
|
829
|
+
*/
|
|
830
|
+
isOnline() {
|
|
831
|
+
return typeof navigator === 'undefined' || navigator.onLine !== false;
|
|
832
|
+
}
|
|
833
|
+
|
|
834
|
+
/**
|
|
835
|
+
* Checks whether the active provider can open a voice installation UI.
|
|
836
|
+
*
|
|
837
|
+
* A future Android bridge can expose this capability by implementing
|
|
838
|
+
* `openInstall()`.
|
|
839
|
+
*
|
|
840
|
+
* @returns {boolean} Whether voice installation can be opened.
|
|
841
|
+
*/
|
|
842
|
+
canOpenVoiceInstallation() {
|
|
843
|
+
return typeof this.provider.openInstall === 'function';
|
|
844
|
+
}
|
|
845
|
+
|
|
846
|
+
/**
|
|
847
|
+
* Displays a user-facing notification for a speech error.
|
|
848
|
+
*
|
|
849
|
+
* When the navigation UI has not been rendered yet, the error is logged
|
|
850
|
+
* because there is no notification target available.
|
|
851
|
+
*
|
|
852
|
+
* @param {SpeechError} error - Speech error to notify.
|
|
853
|
+
* @returns {void}
|
|
854
|
+
*/
|
|
855
|
+
notify(error) {
|
|
856
|
+
const errorKey = `${error.code}:${error.details?.language || 'unknown'}`;
|
|
857
|
+
|
|
858
|
+
if (this.#notifiedErrors.has(errorKey)) {
|
|
859
|
+
console.warn('TTS error:', error);
|
|
860
|
+
return;
|
|
861
|
+
}
|
|
862
|
+
|
|
863
|
+
if (!NotificationMessage.targetElement) {
|
|
864
|
+
console.warn('TTS error:', error);
|
|
865
|
+
return;
|
|
866
|
+
}
|
|
867
|
+
|
|
868
|
+
this.#notifiedErrors.add(errorKey);
|
|
869
|
+
|
|
870
|
+
const canInstallVoice = error.details?.canOpenInstallation;
|
|
871
|
+
const notification = new NotificationMessage({
|
|
872
|
+
title: 'Voice guidance unavailable',
|
|
873
|
+
message: error.message,
|
|
874
|
+
actionLabel: canInstallVoice ? 'Install voice' : undefined,
|
|
875
|
+
onAction: canInstallVoice
|
|
876
|
+
? () => this.openVoiceInstallation()
|
|
877
|
+
: undefined,
|
|
878
|
+
duration: 8000
|
|
879
|
+
});
|
|
880
|
+
|
|
881
|
+
notification.render();
|
|
882
|
+
}
|
|
883
|
+
|
|
884
|
+
/**
|
|
885
|
+
* Creates, displays, and throws a structured speech error.
|
|
886
|
+
*
|
|
887
|
+
* @param {string} code - Machine-readable error code.
|
|
888
|
+
* @param {string} message - User-facing message.
|
|
889
|
+
* @param {Object} details - Error details.
|
|
890
|
+
* @throws {SpeechError} Always throws the created error.
|
|
891
|
+
*/
|
|
892
|
+
throwSpeechError(code, message, details) {
|
|
893
|
+
const error = new SpeechError(code, message, details);
|
|
894
|
+
this.notify(error);
|
|
895
|
+
throw error;
|
|
896
|
+
}
|
|
897
|
+
|
|
898
|
+
/**
|
|
899
|
+
* Resolves common speech options, prepares the provider, and delegates
|
|
900
|
+
* playback.
|
|
901
|
+
*
|
|
902
|
+
* Short language values `en` and `ar` are normalized to `en-US` and
|
|
903
|
+
* `ar-EG`. Each provider owns its platform voice validation and selection.
|
|
904
|
+
*
|
|
905
|
+
* @param {string} text - Text to speak.
|
|
906
|
+
* @param {Object} [options] - Speak options.
|
|
907
|
+
* @param {string} [options.language] - Optional language override. When it
|
|
908
|
+
* is not provided, the language is inferred from the text script.
|
|
909
|
+
* @returns {Promise<void>} Resolves when the provider completes speech.
|
|
910
|
+
* @throws {SpeechError} When the provider cannot perform the speech request.
|
|
911
|
+
*/
|
|
912
|
+
async speak(text, { language } = {}) {
|
|
913
|
+
if (!text || !this.isEnabled()) return;
|
|
914
|
+
|
|
915
|
+
const lang = resolveSpeechLanguage(text, language);
|
|
916
|
+
const formattedText = formatSpeechText(text, lang);
|
|
917
|
+
const speechText = await applyArabicDiacritization(formattedText, lang);
|
|
918
|
+
const speechOptions = normalizeSpeechOptions(this.options);
|
|
919
|
+
const isOnline = this.isOnline();
|
|
920
|
+
const preparation = typeof this.provider.prepare === 'function'
|
|
921
|
+
? await this.provider.prepare({ language: lang, isOnline })
|
|
922
|
+
: { ready: true };
|
|
923
|
+
|
|
924
|
+
if (!preparation?.ready) {
|
|
925
|
+
this.throwSpeechError(
|
|
926
|
+
preparation?.code || 'PROVIDER_ERROR',
|
|
927
|
+
preparation?.message || 'Text-to-speech is not ready.',
|
|
928
|
+
{
|
|
929
|
+
language: lang,
|
|
930
|
+
canOpenInstallation: this.canOpenVoiceInstallation(),
|
|
931
|
+
...preparation?.details
|
|
932
|
+
}
|
|
933
|
+
);
|
|
934
|
+
}
|
|
935
|
+
|
|
936
|
+
try {
|
|
937
|
+
const speakData = {
|
|
938
|
+
text: speechText,
|
|
939
|
+
lang,
|
|
940
|
+
...speechOptions,
|
|
941
|
+
isOnline
|
|
942
|
+
}
|
|
943
|
+
return await this.provider.speak(speakData);
|
|
944
|
+
} catch (error) {
|
|
945
|
+
const speechError = error instanceof SpeechError
|
|
946
|
+
? error
|
|
947
|
+
: new SpeechError(
|
|
948
|
+
'PROVIDER_ERROR',
|
|
949
|
+
error?.message || 'Text-to-speech failed.',
|
|
950
|
+
{ language: lang }
|
|
951
|
+
);
|
|
952
|
+
|
|
953
|
+
speechError.details = {
|
|
954
|
+
language: lang,
|
|
955
|
+
action: isOnline
|
|
956
|
+
? `Install or enable a ${lang} voice in the device settings.`
|
|
957
|
+
: `Connect to the internet or install an offline ${lang} voice.`,
|
|
958
|
+
canOpenInstallation: this.canOpenVoiceInstallation(),
|
|
959
|
+
...speechError.details
|
|
960
|
+
};
|
|
961
|
+
|
|
962
|
+
if (USER_ACTIONABLE_ERROR_CODES.has(speechError.code)) {
|
|
963
|
+
this.notify(speechError);
|
|
964
|
+
} else {
|
|
965
|
+
console.warn('TTS technical error:', speechError);
|
|
966
|
+
}
|
|
967
|
+
|
|
968
|
+
throw speechError;
|
|
969
|
+
}
|
|
970
|
+
}
|
|
971
|
+
|
|
972
|
+
/**
|
|
973
|
+
* Stops speech through the active provider when supported.
|
|
974
|
+
*
|
|
975
|
+
* @returns {Promise<void|undefined>}
|
|
976
|
+
*/
|
|
977
|
+
async stop() {
|
|
978
|
+
if (typeof this.provider.stop === 'function') {
|
|
979
|
+
return this.provider.stop();
|
|
980
|
+
}
|
|
981
|
+
}
|
|
982
|
+
|
|
983
|
+
/**
|
|
984
|
+
* Opens the platform voice installation UI when supported.
|
|
985
|
+
*
|
|
986
|
+
* This is available only when the injected provider implements
|
|
987
|
+
* `openInstall()`.
|
|
988
|
+
*
|
|
989
|
+
* @returns {Promise<boolean>} Whether an installation UI was opened.
|
|
990
|
+
*/
|
|
991
|
+
async openVoiceInstallation() {
|
|
992
|
+
if (typeof this.provider.openInstall !== 'function') return false;
|
|
993
|
+
return this.provider.openInstall();
|
|
994
|
+
}
|
|
995
|
+
}
|
|
996
|
+
|
|
997
|
+
/**
|
|
998
|
+
* Shared SDK speech manager instance.
|
|
999
|
+
*
|
|
1000
|
+
* @type {SpeechManager}
|
|
1001
|
+
*/
|
|
1002
|
+
export const speechManager = new SpeechManager();
|
|
1003
|
+
|
|
1004
|
+
/**
|
|
1005
|
+
* Creates the default provider for the current host environment.
|
|
1006
|
+
*
|
|
1007
|
+
* @returns {AndroidSpeechProvider|FlutterSpeechProvider|WebSpeechProvider} Default speech provider.
|
|
1008
|
+
*/
|
|
1009
|
+
export function getDefaultSpeechProvider() {
|
|
1010
|
+
if (typeof window !== 'undefined' && window.AndroidSpeechBridge) {
|
|
1011
|
+
return new AndroidSpeechProvider(window.AndroidSpeechBridge);
|
|
1012
|
+
}
|
|
1013
|
+
|
|
1014
|
+
if (typeof window !== 'undefined' && window.FlutterBridge) {
|
|
1015
|
+
return new FlutterSpeechProvider(window.FlutterBridge);
|
|
1016
|
+
}
|
|
1017
|
+
|
|
1018
|
+
return new WebSpeechProvider();
|
|
1019
|
+
}
|
|
1020
|
+
|
|
1021
|
+
/**
|
|
1022
|
+
* Installs a custom TTS provider for the shared speech manager.
|
|
1023
|
+
*
|
|
1024
|
+
* @param {Object} provider - Provider implementing at least `speak(options)`.
|
|
1025
|
+
* @returns {void}
|
|
1026
|
+
*/
|
|
1027
|
+
export const useSpeechProvider = (provider) => {
|
|
1028
|
+
speechManager.setProvider(provider);
|
|
1029
|
+
};
|
|
1030
|
+
|
|
1031
|
+
/**
|
|
1032
|
+
* Restores the provider selected from the current host environment.
|
|
1033
|
+
*
|
|
1034
|
+
* @returns {void}
|
|
1035
|
+
*/
|
|
1036
|
+
export const useDefaultSpeechProvider = () => {
|
|
1037
|
+
speechManager.setProvider(getDefaultSpeechProvider());
|
|
1038
|
+
};
|