Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Cannot read property 'isLiteSDK' of null" is error #257

Open
mehmeterdogan opened this issue Dec 2, 2024 · 5 comments
Open

"Cannot read property 'isLiteSDK' of null" is error #257

mehmeterdogan opened this issue Dec 2, 2024 · 5 comments

Comments

@mehmeterdogan
Copy link

Hi everyone, I started getting this error after the package version upgrade in the project in general. However, there is no problem on the iOS side, I only get this error on the Android side. What is the main reason for the error and how can I solve it?

Screenshot 2024-12-02 at 20 28 27
Screenshot 2024-12-02 at 20 27 49
Screenshot_1733159913
Screenshot_1733159902

  • Here are the dependencies I used in the project
  • "dependencies": {
    "@amplitude/react-native": "2.17.3",
    "@formatjs/intl-datetimeformat": "^6.14.0",
    "@formatjs/intl-getcanonicallocales": "^2.3.1",
    "@formatjs/intl-locale": "^4.0.2",
    "@formatjs/intl-numberformat": "^8.12.0",
    "@formatjs/intl-pluralrules": "^5.2.16",
    "@giphy/react-native-sdk": "2.3.0",
    "@gorhom/bottom-sheet": "^5.0.2",
    "@jitsi/react-native-sdk": "^10.3.0",
    "@react-native-async-storage/async-storage": "1.23.1",
    "@react-native-clipboard/clipboard": "1.14.1",
    "@react-native-community/async-storage": "^1.12.1",
    "@react-native-community/cli": "^15.0.0",
    "@react-native-community/clipboard": "^1.5.1",
    "@react-native-community/netinfo": "11.1.0",
    "@react-native-community/slider": "4.4.3",
    "@react-native-firebase/analytics": "^21.4.0",
    "@react-native-firebase/app": "^21.4.0",
    "@react-native-firebase/auth": "^21.0.0",
    "@react-native-firebase/crashlytics": "^21.4.0",
    "@react-native-firebase/dynamic-links": "^21.3.0",
    "@react-native-firebase/firestore": "^21.3.0",
    "@react-native-firebase/functions": "^21.3.0",
    "@react-native-firebase/perf": "^21.0.0",
    "@react-native-firebase/remote-config": "^21.0.0",
    "@react-native-firebase/storage": "^21.3.0",
    "@react-native-google-signin/google-signin": "13.1.0",
    "@react-native-picker/picker": "^2.4.10",
    "@react-native/assets-registry": "^0.76.1",
    "@react-native/metro-config": "*",
    "@react-navigation/bottom-tabs": "^7.0.12",
    "@react-navigation/native": "^7.0.7",
    "@react-navigation/native-stack": "^7.1.8",
    "@react-navigation/stack": "^7.0.12",
    "@shopify/flash-list": "^1.6.0",
    "@use-it/interval": "^1.0.0",
    "algoliasearch": "^5.9.0",
    "axios": "^1.7.7",
    "hermes-engine": "^0.11.0",
    "i18next": "^23.16.0",
    "intl": "^1.2.5",
    "metro": "^0.81.0",
    "moment": "^2.30.1",
    "nativewind": "^2.0.11",
    "or": "^0.2.0",
    "patch-package": "^8.0.0",
    "postinstall-postinstall": "^2.1.0",
    "react": "18.3.1",
    "react-dom": "^18.3.1",
    "react-hook-form": "^7.53.0",
    "react-i18next": "^15.0.3",
    "react-instantsearch-native": "^6.40.4",
    "react-native": "0.74.6",
    "react-native-accordion-list-view": "^2.0.3",
    "react-native-actions-sheet": "^0.9.7",
    "react-native-add-calendar-event": "^5.0.0",
    "react-native-background-timer": "2.4.1",
    "react-native-bootsplash": "^6.2.6",
    "react-native-bouncy-checkbox": "^4.1.2",
    "react-native-calendar-events": "2.2.0",
    "react-native-collapsible": "^1.6.2",
    "react-native-confirmation-code-field": "^7.4.0",
    "react-native-country-picker-modal": "^2.0.0",
    "react-native-date-picker": "^5.0.7",
    "react-native-default-preference": "1.4.4",
    "react-native-device-info": "13.1.0",
    "react-native-element-dropdown": "^2.12.2",
    "react-native-elements": "3.4.3",
    "react-native-fast-image": "^8.6.3",
    "react-native-flash-message": "^0.4.2",
    "react-native-gesture-handler": "2.18.1",
    "react-native-get-random-values": "1.11.0",
    "react-native-image-picker": "^7.1.2",
    "react-native-immersive-mode": "2.0.2",
    "react-native-keep-awake": "4.0.0",
    "react-native-keyboard-aware-scroll-view": "^0.9.5",
    "react-native-linear-gradient": "^2.8.3",
    "react-native-markdown-display": "^7.0.2",
    "react-native-modal": "^13.0.1",
    "react-native-onesignal": "^5.2.5",
    "react-native-orientation-locker": "1.6.0",
    "react-native-pager-view": "6.4.1",
    "react-native-paper": "5.12.5",
    "react-native-performance": "5.1.2",
    "react-native-permissions": "^5.0.0",
    "react-native-purchases": "^8.2.7",
    "react-native-reanimated": "^3.6.1",
    "react-native-safe-area-context": "4.12.0",
    "react-native-screens": "3.35.0",
    "react-native-share": "^11.0.4",
    "react-native-snap-carousel": "^1.3.1",
    "react-native-sound": "0.11.2",
    "react-native-splash-screen": "3.3.0",
    "react-native-svg": "13.13.0",
    "react-native-swiper": "^1.6.0",
    "react-native-system-navigation-bar": "^2.6.4",
    "react-native-tab-view": "^3.5.2",
    "react-native-vector-icons": "^10.2.0",
    "react-native-video": "6.6.4",
    "react-native-watch-connectivity": "1.1.0",
    "react-native-web": "0.19.13",
    "react-native-webrtc": "124.0.4",
    "react-native-webview": "13.8.7",
    "react-navigation": "^5.0.0",
    "react-query": "^3.39.3",
    "typescript": "^5.6.3",
    "use-callback-ref": "^1.3.2",
    "yarn": "^1.22.22",
    "zustand": "^5.0.0"
    },
@saghul
Copy link
Member

saghul commented Dec 3, 2024

AppInfo being null suggests the project might not have been linked correctly. Have you ran the update deps script?

@mehmeterdogan
Copy link
Author

AppInfo being null suggests the project might not have been linked correctly. Have you ran the update deps script?

Hello, thank you for your answer. Where exactly should I focus, which file or code should I check?

@saghul
Copy link
Member

saghul commented Dec 3, 2024

Make sure you run the first 2 steps outlined here: https://www.npmjs.com/package/@jitsi/react-native-sdk

@mehmeterdogan
Copy link
Author

Yes I did those steps

Make sure you run the first 2 steps outlined here: https://www.npmjs.com/package/@jitsi/react-native-sdk

@saghul
Copy link
Member

saghul commented Dec 3, 2024

  • "react-native": "0.74.6",

Our SDK requires 0.75.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants