microsoft / react-native-code-push

React Native module for CodePush
http://appcenter.ms
Other
8.87k stars 1.45k forks source link

Codepush crash with latest version of RN and latest version of codepush #2676

Closed panchal-krunal closed 1 day ago

panchal-krunal commented 3 months ago

React native release app crashes on Physical device with codepush restart, I tried all the methods to check the frequency of codepush and all methods for install mode too, but still it launches the app first, downloads codepush updates, restarts and crashes the app. This is happening for me on both Android & iOS device (Only release builds).

I also saw the codepush supported RN env's which has no values above 0.71, does this mean that it wont work for latest version?

Environment

pnthach95 commented 3 months ago

Do you add or update dependencies? Code push will retire next year, don't hope for a fix

Bhaupatil1988 commented 3 months ago

I am aslo getting same issue ,I am using react native 0.71.6 version and codepush version 8.2.1 My app getting crashed after 99% Below Error : node:internal/process/promises:288 triggerUncaughtException(err, true / fromPromise /); ^

Error: EPERM: operation not permitted, lstat 'android\app\build\intermediates\incremental\debug\mergeDebugResources\merged.dir\values-fa\values-fa.xml' Emitted 'error' event on NodeWatcher instance at: at node_modules\metro-file-map\src\watchers\NodeWatcher.js:231:14 { errno: -4048, code: 'EPERM', syscall: 'lstat', path: '\android\app\build\intermediates\incremental\debug\mergeDebugResources\merged.dir\values-fa\values-fa.xml' }

DmitriyKirakosyan commented 3 weeks ago

@panchal-krunal , may I ask for your CodePush logs and the crash log?

@Bhaupatil1988 , your crash doesn't seem related to CodePush. Please share your CodePush logs as well.

DmitriyKirakosyan commented 1 day ago

Closing due to inactivity.