Open dogukan9 opened 2 years ago
I am also struggling with this error please I need help.
This has all to do with the side-note on the readme. You need to exclude async storage.
Example of build.gradle part:
implementation(project(':react-native-jitsi-meet')) {
exclude group: 'com.facebook.react',module:'react-native-locale-detector'
exclude group: 'com.facebook.react',module:'react-native-vector-icons'
exclude group: 'com.facebook',module:'hermes'
exclude group: 'com.facebook.react',module:'react-native-svg'
exclude group: 'com.facebook.react',module:'react-native-device-info'
exclude group: 'com.facebook.react',module:'react-native-splash-screen'
exclude group: 'com.facebook.react',module:'react-native-async-storage_async-storage'
exclude group: 'com.facebook.react',module:'react-native-async-storage'
exclude group: 'com.facebook.react',module:'react-native-screens'
exclude group: 'com.facebook.react',module:'react-native-safe-area-context'
transitive = true
}
These are my packages in my project
"dependencies": {
"@fawazahmed/react-native-read-more": "^2.2.0",
"@react-native-async-storage/async-storage": "github:react-native-async-storage/async-storage",
"@react-native-community/checkbox": "^0.5.9",
"@react-native-community/datetimepicker": "^5.1.0",
"@react-native-community/geolocation": "^2.0.2",
"@react-native-community/masked-view": "^0.1.11",
"@react-native-community/slider": "^4.1.11",
"@react-navigation/drawer": "^6.1.8",
"@react-navigation/native": "^6.0.6",
"@react-navigation/native-stack": "^6.2.5",
"axios": "^0.24.0",
"react": "17.0.2",
"react-native": "0.66.2",
"react-native-android-sms-listener": "^0.8.0",
"react-native-chart-kit": "^6.11.0",
"react-native-elements": "^3.4.2",
"react-native-gesture-handler": "^1.7.0",
"react-native-image-slider-box": "^1.1.9",
"react-native-jitsi-meet": "^2.1.2",
"react-native-linear-gradient": "^2.5.6",
"react-native-maps": "^0.29.3",
"react-native-mask-input": "^1.1.1",
"react-native-modal-datetime-picker": "^13.0.0",
"react-native-reanimated": "^2.1.0",
"react-native-root-toast": "^3.3.0",
"react-native-safe-area-context": "^3.3.2",
"react-native-screens": "^3.9.0",
"react-native-svg": "^12.1.1",
"react-native-table-component": "^1.2.1",
"react-native-uuid": "^2.0.1",
"react-native-vector-icons": "^9.0.0",
"react-native-view-slider": "^1.1.1"
},
This is my andorid/app/build.gradle file
implementation(project(':react-native-jitsi-meet')) {
exclude group: 'com.facebook',module:'hermes'
exclude group: 'com.facebook.react',module:'react-native-vector-icons'
exclude group: 'com.facebook.react',module:'react-native-svg'
exclude group: 'com.facebook.react',module:'react-native-linear-gradient'
exclude group: 'com.facebook.react',module:'react-native-async-storage'
exclude group: 'com.facebook.react',module:'react-native-screens'
exclude group: 'com.facebook.react',module:'react-native-safe-area-context'
//exclude group: 'com.facebook.react',module:'react-native-reanimated'
transitive=true
}
And at first time the react-native-jitsi-meet opens in android and screen is black screen but when ı try to join video call it opens the video
Like you can see in my previous comment you're missing this line (notice the _async-storage part):
exclude group: 'com.facebook.react',module:'react-native-async-storage_async-storage'
So to be clear, you need two lines to exclude async storage. Also try to clean project after changing build.gradle. The black screen issue is probably something else, because I also have that problem with the most recent react-native version.
I have alreaady solve the openning issue,my problem is about black screen as you mentioned above and another issue.I hope someone will find a solution for that.
@alihaydar56 try my solution here https://github.com/skrafft/react-native-jitsi-meet/issues/320#issuecomment-1048314074
Hello guys i need your help this is so important for me. react-native-jitsi-meet is working fine on ios but android have many problems. in debug mode I got just black screen and when ı want to make an release apk with ./gradlew bundleRelease command I get this issue:
@react-native-async-storage/async-storage/android/build/.transforms/9dd367dba80f545b4eab970912f96059/transformed/release/com/reactnativecommunity/asyncstorage/AsyncLocalStorageUtil.dex: D8: Type com.reactnativecommunity.asyncstorage.AsyncLocalStorageUtil is defined multiple times:
I tried to exclude this but still get same error. Please help me.