jueves, 17 de noviembre de 2022

React Native run-android notes

 

  • runAndroid:
    • ...logger.info('JS server already running.')...
    • buildAndRun
      • cmd = process.platform.startsWith('win') ? 'gradlew.bat' : './gradlew';
      • runOnAllDevices
        • ...logger.info('Installing the app...');...
        • tryLaunchAppOnDevice
          • ...const {appId, appIdSuffix} = args;...
          • ...shell am start -n...

viernes, 4 de noviembre de 2022

capacitor-community / text-to-speech: "Not yet initialized or not available on this device"

Sending plugin error: {"save":false,"callbackId":"...","pluginId":"TextToSpeech",
"methodName":"speak","success":false,"error":{"message":"Not yet initialized or
not available on this device.","code":"UNAVAILABLE"}}

It happened to me only on the emulator. On a real device, it worked.