skrafft / react-native-jitsi-meet

React native wrapper for Jitsi Meet SDK
Apache License 2.0
285 stars 349 forks source link

App crash with RN 0.63.0 #243

Open Isbilbatua opened 3 years ago

Isbilbatua commented 3 years ago

Hello People,

I have strictly followed the "Jitsi-meet" library implementation tutorial in my React Native project and when I enter the screen it crashes.

Has anyone had the same problem? Do you think it is because I have more libraries?

LIBRARY INSTALLATION GUIDE (DONE)

STEP ONE -> DONE

project.ext.react = [
    entryFile: "index.js",
    bundleAssetName: "app.bundle",
]

.... STEP TWO -> DONE

android/app/src/main/java/com/xxx/MainApplication.java .... STEP THREE -> DONE .... In android/build.gradle, add the following code:

STEP FOUR -> DONE

@Override
          protected String getJSMainModuleName() {
              return "index";
          }

          @Override
          protected @Nullable String getBundleAssetName() {
              return "app.bundle";
          }**

My depedencies:

"dependencies": {
    "@react-native-community/async-storage": "^1.11.0",
    "@react-native-community/masked-view": "0.1.10",
    "@react-native-community/netinfo": "^5.9.9",
    "@react-navigation/bottom-tabs": "^5.11.1",
    "@react-navigation/native": "^5.1.5",
    "apisauce": "1.1.2",
    "i18n-js": "^3.0.11",
    "lodash.throttle": "4.1.1",
    "mobx": "^4.15.4",
    "mobx-react-lite": "^1.4.1",
    "mobx-state-tree": "^3.14.1",
    "ramda": "0.27.1",
    "react": "16.13.1",
    "react-native": "0.63.0",
    "react-native-android-keyboard-adjust": "^1.2.0",
    "react-native-ble-manager": "^7.4.1",
    "react-native-bluetooth-status": "^1.5.1",
    "react-native-camera-kit": "^10.0.0",
    "react-native-elements": "^3.0.0-alpha.1",
    "react-native-gesture-handler": "^1.5.0",
    "react-native-jitsi-meet": "^2.1.1",
    "react-native-keychain": "6.1.1",
    "react-native-localize": "^1.0.0",
    "react-native-safe-area-context": "0.7.3",
    "react-native-safe-area-view": "1.1.1",
    "react-native-screens": "^2.10.1",
    "react-native-splash-screen": "3.2.0",
    "react-native-vector-icons": "^7.1.0",
    "reactotron-mst": "^3.1.1",
    "reactotron-react-native": "^5.0.0",
    "validate.js": "0.13.1",
    "yarn": "^1.22.10"
  },

My code (Example app)

Captura de pantalla 2021-01-19 a las 18 00 33

Android studio ERROR:

Captura de pantalla 2021-01-19 a las 17 55 32

keremoge commented 3 years ago

any solution?

Isbilbatua commented 3 years ago

yes!!!

look that : https://github.com/skrafft/react-native-jitsi-meet/issues/244#issuecomment-773892153

alexandrtovmach commented 3 years ago

@Isbilbatua Could you provide more details about it, because it looks like two different issues. In referenced comment you're suggesting about production build process, but current issue about development stage. I also faced with the same issue, but can't understand how to use your comment

alexandrtovmach commented 3 years ago

Check this https://github.com/skrafft/react-native-jitsi-meet/issues/251#issuecomment-791387438 for possible solution

jbg commented 3 years ago

Check this #251 (comment) for possible solution

@Isbilbatua does the solution proposed by @alexandrtovmach fix your issue?