Open Yooooomi opened 1 year ago
Same issue after react-native upgrade from 0.71 to 0.73. Any workaround?
Following. Also blocked by this issue.
I made a fork and the fix, it works ok using eas
on ios
and android
package.json
"dependencies": {
"expo": "~49.0.15",
"react-native": "0.72.6",
"react-native-vlc-media-player": "git+https://github.com/aguileraps/react-native-vlc-media-player.git"
}
ignore android
configuration so it does not run withAppBuildGradle
app.json
"plugins": [
[
"react-native-vlc-media-player",
{
"ios": {
"includeVLCKit": false
}
}
]
]
It is not tested with react-native-vlc-media-player-test
If someone can do the test and confirm that it works, I'll send the PR
I am having the same issue. Everything was working fine and then out of nowhere Android would no longer build (getting the same error as you). So I tried creating a new blank repo and only adding this package and getting the same error. No clue on how it worked initially if even a new repo is broken on start...
Is there any update to this issue?
I am using Expo and this is the packages for my fresh repo
{
"name": "my-app",
"version": "1.0.0",
"main": "node_modules/expo/AppEntry.js",
"scripts": {
"start": "expo start",
"android": "expo run:android",
"ios": "expo run:ios",
"web": "expo start --web"
},
"dependencies": {
"expo": "~50.0.8",
"expo-status-bar": "~1.11.1",
"react": "18.2.0",
"react-native": "0.73.4",
"react-native-vlc-media-player": "^1.0.67"
},
"devDependencies": {
"@babel/core": "^7.20.0"
},
"private": true
}
I believe the issue started when I moved my "plugins" key in the app.json
inside of the expo:
(after looking at the expo documentation to realize that I had it wrong ). Before it looked this
{
"expo": {
"name": "my-app",
"slug": "my-app",
"version": "1.0.0",
"orientation": "portrait",
"icon": "./assets/icon.png",
"userInterfaceStyle": "light",
"splash": {
"image": "./assets/splash.png",
"resizeMode": "contain",
"backgroundColor": "#ffffff"
},
"assetBundlePatterns": [
"**/*"
],
"web": {
"favicon": "./assets/favicon.png"
},
"android": {
"package": "com.anonymous.myapp"
}
},
"plugins": [
[
"react-native-vlc-media-player",
{
"ios": {
"includeVLCKit": false
},
"android": {
"legacyJetifier": false
}
}
]
]
}
then moved it to the inside
{
"expo": {
"name": "my-app",
"slug": "my-app",
"version": "1.0.0",
"orientation": "portrait",
"icon": "./assets/icon.png",
"userInterfaceStyle": "light",
"splash": {
"image": "./assets/splash.png",
"resizeMode": "contain",
"backgroundColor": "#ffffff"
},
"assetBundlePatterns": [
"**/*"
],
"web": {
"favicon": "./assets/favicon.png"
},
"android": {
"package": "com.anonymous.myapp"
},
"plugins": [
[
"react-native-vlc-media-player",
{
"ios": {
"includeVLCKit": false
},
"android": {
"legacyJetifier": false
}
}
]
]
}
}
This issue is stale because it has been open for 60 days with no activity.
Hello! First, thanks a lot for the project.
I'm using react-native-tvos (react-native 0.71) and I don't know if that's making any difference. After installing react-native-vlc-media-player, I can't start the application (it compiles well).
These are the logs:
It feels like the older version of
libc++_shared.so
does not implement some required symbols. Any idea how I could fix that? Maybe libvlc works well with the react-native requiredlibc++_shared.so
?Thanks for any help
EDIT: similar issue on vlc-android