Expensify / react-native-live-markdown

Drop-in replacement for React Native's TextInput component with Markdown formatting.
https://www.npmjs.com/package/@expensify/react-native-live-markdown
MIT License
696 stars 47 forks source link

I encountered an error when building,Does it support expo? or how to fix #425

Open Duncan-kekkai opened 2 weeks ago

Duncan-kekkai commented 2 weeks ago

image

my versions:

"expo": "~49.0.21" "react-native": "0.72.6" "@expensify/react-native-live-markdown": "^0.1.102"

tomekzaw commented 2 weeks ago

Hi @Duncan-kekkai, thanks for opening this issue.

Currently, react-native-live-markdown supports only React Native 0.73.

Also, it does not work out-of-the-box in Expo Go. You will need to use Expo Prebuilds, as described here.

Duncan-kekkai commented 2 weeks ago

Hi @Duncan-kekkai, thanks for opening this issue.

Currently, react-native-live-markdown supports only React Native 0.73.

Also, it does not work out-of-the-box in Expo Go. You will need to use Expo Prebuilds, as described here.

thanks,Our project does not run on expo go, it is just hosted on expo. I will try to upgrade the rn version first.

AlirezaBs commented 1 week ago

hi @Duncan-kekkai I am using "react-native": "0.74.3" and "expo": "~51.0.17"

after npx expo prebuild and npx expo run:android I got an error

Execution failed for task ':expensify_react-native-live-markdown:compileDebugJavaWithJavac'

tomekzaw commented 1 week ago

@AlirezaBs Currently, react-native-live-markdown supports only React Native 0.73.

Support for React Native 0.74 will be added in https://github.com/Expensify/react-native-live-markdown/pull/358.