Quantcast
Channel: Active questions tagged react-native+typescript - Stack Overflow
Viewing all articles
Browse latest Browse all 6288

React-native version mismatch after upgrading my react-native app from 0.55.3 to 0.59.2

$
0
0

I have a react-native app which was working perfectly in verson 0.55.3.Now I have upgraded it to 0.59.2. it builds fine and gets installed on android device. but when if opened it gives the error log in the picture.I have tried reseting the following solutions:

  1. reseting cashe
  2. removing node_modules folder and yarn.lock file and then installing again
  3. running the upgrade command to 0.59.2
  4. uninstalling the app from my android and then reinstalling it
  5. restarting my pc
  6. closing all other terminals

I have made all the recommended modifications for the upgrade(using the react-native upgrade helper) in files like build.gradle(app), build.gradle(android), setting.gradle, Mainapplication.java, androidmenifest.xml.

enter image description here

below is my packege.json file:

"dependencies": {"@react-native-community/cli-platform-android": "2.0.2","@react-native-firebase/analytics": "6","@react-native-firebase/app": "8.3.0","@react-native-firebase/auth": "8.3.1","@react-native-firebase/crashlytics": "8.3.0","@react-native-firebase/iid": "6","@react-native-firebase/messaging": "6","@types/base-64": "^0.1.2","@types/intl": "^1.2.0","@types/isomorphic-fetch": "^0.0.34","@types/node": "^9.6.4","@types/react": "16.3.16","@types/react-intl": "^2.3.5","@types/react-native-fetch-blob": "^0.10.4","@types/react-native-loading-spinner-overlay": "^0.5.1","@types/react-navigation": "1.5.5","@types/react-redux": "5.0.20","base-64": "^0.1.0","cross-fetch": "^2.1.0","fbjs": "^0.8.16","fuzzyset.js": "^0.0.5","intl": "^1.2.5","is-container": "^2.0.0","promise.allsettled": "^1.0.2","react": "16.8.3","react-intl": "^2.4.0","react-loading-overlay": "^1.0.1","react-native": "0.59.2","react-native-fetch-blob": "^0.10.8""react-native-image-picker": "^2.3.4","react-native-loading-spinner-overlay": "^1.0.1","react-native-material-ui": "^1.20.0","react-native-openalpr": "^2.1.1","react-native-signature-canvas": "1.4.2","react-native-snackbar": "^2.0.0","react-native-step-indicator": "^0.0.11","react-native-typescript-transformer": "^1.2.13","react-native-vector-icons": "4.5.0","react-navigation": "^1.5.12","react-redux": "^5.0.7","react-spinners": "^0.6.1","redux": "^3.7.2","redux-persist": "^5.10.0","redux-saga": "^0.16.0","redux-thunk": "2.3.0","ts-jest": "25","tslint": "^5.9.1","tslint-react": "^3.5.1","typesafe-actions": "^1.1.2","typescript": "3.8.3","utility-types": "^1.1.0"  }

any help is much appreciated. thank you!


Viewing all articles
Browse latest Browse all 6288

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>