ak1394 / react-native-tts

React Native Text-To-Speech library for Android and iOS
601 stars 154 forks source link

Not compatible with RN0.59 #112

Closed vdlindenmark closed 5 years ago

vdlindenmark commented 5 years ago

I'm getting this issue when running ./gradlew assambleRelease:

* What went wrong:
Execution failed for task ':react-native-tts:verifyReleaseResources'.
> java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed
  ***/node_modules/react-native-tts/android/build/intermediates/res/merged/release/values-v28/values-v28.xml:7: error: resource android:attr/dialogCornerRadius not found.
  ***/node_modules/react-native-tts/android/build/intermediates/res/merged/release/values-v28/values-v28.xml:11: error: resource android:attr/dialogCornerRadius not found.
  ***/react-native-tts/android/build/intermediates/res/merged/release/values/values.xml:2714: error: resource android:attr/fontVariationSettings not found.
  ***/node_modules/react-native-tts/android/build/intermediates/res/merged/release/values/values.xml:2715: error: resource android:attr/ttcIndex not found.
  error: failed linking references.

I don't know how to fix :-(

vdlindenmark commented 5 years ago

I've just make the switch to https://docs.expo.io/versions/latest/sdk/speech/ because of this and several other problems with react-native-tts

t49tran commented 5 years ago

Is there any plan to merge the PR that fix this issue soon ?

ak1394 commented 5 years ago

Yes, will merge end of this week.