bugsnag-js icon indicating copy to clipboard operation
bugsnag-js copied to clipboard

App getting crashed for Android release builds because of bugsnag integration. React native app

Open vksgautam1986 opened this issue 1 year ago • 5 comments

if i remove bugsnag , it works fine for android. for ios its working fine with bugsnag for release build RN 0.73.8 Bugsnag -- latest those crashes for android did not come in bugsnag portal also.

Package json

{ "name": "appname", "version": "0.0.1", "private": true, "scripts": { "android": "react-native run-android", "ios": "react-native run-ios", "start": "react-native start", "test": "jest", "lint": "eslint .", "all": "npm i --f && cd ios && pod deintegrate && pod install && cd ..", "clean": "cd android && ./gradlew clean && cd ..", "debug-build": "react-native bundle --dev false --platform android --entry-file index.js --bundle-output ./android/app/src/main/assets/index.android.bundle --assets-dest ./android/app/src/main/res && cd android && ./gradlew assembleDebug && cd ..", "release-build": "react-native bundle --dev false --platform android --entry-file index.js --bundle-output ./android/app/src/main/assets/index.android.bundle --assets-dest ./android/app/src/main/res && rm -rf android/app/src/main/res/drawable-* && rm -rf android/app/src/main/res/raw/* && cd android && ./gradlew assembleRelease && cd ..", "postinstall": "patch-package", "bugsnag:create-build": "bugsnag-cli create-build", "bugsnag:upload-android-ndk": "bugsnag-cli upload android-ndk android/", "bugsnag:upload-android-proguard": "bugsnag-cli upload android-proguard android/", "bugsnag:upload-rn-android": "bugsnag-cli upload react-native-android", "bugsnag:upload-dsym": "bugsnag-cli upload dsym ios/", "bugsnag:upload-rn-ios": "bugsnag-cli upload react-native-ios", "bugsnag:upload": "bugsnag-cli upload android-ndk android/ && bugsnag-cli upload android-proguard android/ && bugsnag-cli upload react-native-android && bugsnag-cli upload dsym ios/ && bugsnag-cli upload react-native-ios" }, "dependencies": { "@bugsnag/react-native": "latest", "@react-native-async-storage/async-storage": "^1.23.1", "@react-native-community/datetimepicker": "^8.1.0", "@react-native-community/netinfo": "^11.3.2", "@react-native-firebase/app": "^20.1.0", "@react-native-firebase/messaging": "^20.1.0", "@react-navigation/bottom-tabs": "^6.5.20", "@react-navigation/native": "^6.1.17", "@react-navigation/native-stack": "^6.9.26", "@shopify/flash-list": "1.6.4", "appcenter": "^5.0.1", "appcenter-analytics": "^5.0.1", "appcenter-crashes": "^5.0.1", "axios": "^1.7.2", "geolib": "^3.3.4", "i18next": "^23.11.5", "moment": "^2.30.1", "moment-timezone": "^0.5.45", "native-base": "^3.4.28", "patch-package": "^8.0.0", "react": "18.2.0", "react-native": "0.73.8", "react-native-android-location-enabler": "^2.0.1", "react-native-animatable": "^1.4.0", "react-native-audio-record": "^0.2.2",
"react-native-background-fetch": "^4.2.5", "react-native-background-geolocation": "^4.10.0", "react-native-code-push": "^8.2.2", "react-native-device-info": "^11.1.0", "react-native-doc-preview": "^0.2.0", "react-native-document-picker": "^9.3.0", "react-native-dropdown-picker": "^5.4.6", "react-native-file-viewer": "^2.1.5", "react-native-fs": "^2.20.0", "react-native-geolocation-service": "^5.3.1", "react-native-gesture-handler": "2.16.2", "react-native-image-crop-picker": "^0.41.1", "react-native-image-picker": "^7.1.2", "react-native-map-link": "^3.4.1", "react-native-maps": "1.15.4", "react-native-material-dropdown-v2-fixed": "^0.11.3", "react-native-modal-datetime-picker": "^17.1.0", "react-native-pager-view": "6.3.1", "react-native-paper": "^5.12.3", "react-native-permissions": "4.1.5", "react-native-progress": "^5.0.1", "react-native-prompt-android": "^1.1.0", "react-native-radio-buttons-group": "^3.1.0", "react-native-rate": "^1.2.12", "react-native-safe-area-context": "4.10.1", "react-native-screens": "3.31.1", "react-native-signature-capture": "^0.4.12", "react-native-simple-radio-button": "^2.7.4", "react-native-size-matters": "^0.4.2", "react-native-svg": "^15.3.0", "react-native-switch-toggle": "^2.2.1", "react-native-tab-view": "^3.5.2", "react-native-toggle-calendar": "^1.0.3", "react-native-vector-icons": "^10.1.0", "react-native-video": "^5.2.1", "react-native-video-helper-fork": "^1.0.3", "react-native-video-player": "^0.14.0", "react-native-webview": "^13.10.3", "react-redux": "^9.1.2", "recyclerlistview": "^4.2.1", "redux": "^5.0.1", "redux-devtools-extension": "^2.13.9", "redux-logger": "^3.0.6", "redux-persist": "^6.0.0", "redux-persist-transform-encrypt": "^5.1.1", "redux-thunk": "2.4.2", "rn-fetch-blob": "^0.12.0", "sp-react-native-in-app-updates": "^1.4.0" }, "devDependencies": { "@babel/core": "^7.20.0", "@babel/preset-env": "^7.20.0", "@babel/runtime": "^7.20.0", "@bugsnag/cli": "^2.3.0", "@react-native/babel-preset": "0.73.21", "@react-native/eslint-config": "0.73.2", "@react-native/metro-config": "0.73.5", "@react-native/typescript-config": "0.73.1", "@types/react": "^18.2.6", "@types/react-test-renderer": "^18.0.0", "babel-jest": "^29.6.3", "eslint": "^8.19.0", "jest": "^29.6.3", "prettier": "2.8.8", "react-test-renderer": "18.2.0", "typescript": "5.0.4" }, "engines": { "node": ">=18" } }

vksgautam1986 avatar Jun 20 '24 06:06 vksgautam1986