Expensify / react-native-share-menu

A module for React Native that adds your app to the share menu of the device
MIT License
632 stars 235 forks source link

Build failed #299

Closed HenrikZabel closed 6 months ago

HenrikZabel commented 6 months ago

I am using: react-native-share-menu 6.0.0 react-native 0.73.1 react 18.2.0

When trying to build the app following error occurs: `

I just upgraded react native today. Before the react native upgrade I was able to use this library just fine.

HenrikZabel commented 6 months ago

261 was able to solve this problem. I have just seen that there will be a major update soon. Therefore I am closing this issue.

Arshad-Ali-1a commented 5 months ago

I was still, facing this issue. But was able to fix it by changing the compileSdkVersion to compileSdkVersion 30 in node_modules/react-native-share-menu/android/build.gradle

jaaywags commented 2 weeks ago

I was still, facing this issue. But was able to fix it by changing the compileSdkVersion to compileSdkVersion 30 in node_modules/react-native-share-menu/android/build.gradle

Genius. I set mine to

compileSdkVersion 34
buildToolsVersion "34.0.0"