VapiAI / react-native

This package lets you start Vapi calls directly in your React native.
17 stars 11 forks source link

Android cannot build when using Expo SDK v51 #9

Open lovegroa opened 1 month ago

lovegroa commented 1 month ago

The @config-plugins/react-native-webrtc package at version 8.0.0 is incompatible with Expo SDK v51. The issue arises because the Android Gradle used in Expo SDK v51 doesn't support the android.enableDexingArtifactTransform.desugaring setting used in the package at this version. This causes the build to fail. Commenting out this setting in the package allows the project to build, but it leads to downstream issues—specifically, the app crashes when trying to use the voice assistant on Android.

nikhilro commented 1 month ago

Got some advice from Daily. It should support Expo v51.

Plugin: https://github.com/daily-co/rn-daily-js-expo-config-plugin

In order to do that they need to use the latest versions of both: @config-plugins/react-native-webrtc: 9.0.0 @daily-co/config-plugin-rn-daily-js: 0.0.6

Our expo demo is already using Expo 51: https://github.com/daily-demos/daily-expo-demo