You should leave the BugSnag Gradle Plugin installed, as per the the main integration guide to upload your native Android mapping and symbol files, however you will need to disable, or remove, the JavaScript source map upload in android/build. You can install Gradle through various other tools, or download a ZIP using the links on this page. nodemodules/react-native-gradle-plugin has name 'react-native-gradle-plugin' which is the same as a project of the main build. You don't need to do any extra steps to install it if you created your app with this command. The plugin is already configured for new projects created using npx react-native init. Describe the bug The latest version of the library (0.2.4) appears to break the build process for RN Android projects due to requiring a higher minCompileSdk than is specified in standard React Native projects. Add Upload Debug Symbols to Sentry Xcode project build phase. The React Native Gradle Plugin is distributed as a separate NPM package which is installed automatically with react-native. Wrap the Bundle React Native code and images Xcode project build phase script to upload generated source maps and collect bundled node modules. ![]() It is recommended to compile with the latest SDK. If you are using React Native 0.70 or before, please follow the instructions in the main integration guide.ĭisable source map uploads in the BugSnag Gradle Plugin Enable the Sentry React Native Gradle build step for Android to auto-upload generated source maps and debug symbols. compileSdkVersion it tells Gradle what version of Android SDK to compile your app with.
0 Comments
Leave a Reply. |