Closed jimshidbachu closed 1 month ago
:warning: | Missing Reproducible Example |
---|---|
:information_source: | We could not detect a reproducible example in your issue report. Please provide either:
|
:warning: | Too Old Version of React Native |
---|---|
:information_source: | It looks like your issue or the example you provided uses a Too Old Version of React Native. Due to the number of issues we receive, we're currently only accepting new issues against one of the supported versions. Please upgrade to latest and verify if the issue persists (alternatively, create a new project and repro the issue in it). If you cannot upgrade, please open your issue on StackOverflow to get further community support. |
:warning: | Too Old Version of React Native |
---|---|
:information_source: | It looks like your issue or the example you provided uses a Too Old Version of React Native. Due to the number of issues we receive, we're currently only accepting new issues against one of the supported versions. Please upgrade to latest and verify if the issue persists (alternatively, create a new project and repro the issue in it). If you cannot upgrade, please open your issue on StackOverflow to get further community support. |
:warning: | Missing Reproducible Example |
---|---|
:information_source: | We could not detect a reproducible example in your issue report. Please provide either:
|
Description
I am using React Native version 0.66.1. When I changed targetSdkVersion from 33 to 34, the app crashed and there was no log. only in Android
and i also tried change MainApplication.java file
buildscript { ext { buildToolsVersion = "34.0.0" minSdkVersion = 23 compileSdkVersion = 34 targetSdkVersion = 34 ndkVersion = "21.4.7075529" kotlinVersion = '1.5.31' } repositories { google() mavenCentral() gradlePluginPortal() jcenter() } dependencies { classpath("com.android.tools.build:gradle:4.2.2") classpath 'com.google.gms:google-services:4.3.10' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion" classpath 'gradle.plugin.com.onesignal:onesignal-gradle-plugin:[0.12.10, 0.99.99]' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } }
Steps to reproduce
npm run android
i have done these to steps
https://medium.com/@anaz_19473/react-native-app-crashes-on-upgrading-to-targetsdkversion-34-android-14-f8f575da6b45
and i have done patches on
1.react-native-orientation
1.1 _nodemodules/react-native-orientation/android/build.gradle
`apply plugin: 'com.android.library'
android { compileSdkVersion rootProject.hasProperty('compileSdkVersion') ? rootProject.compileSdkVersion : 23 buildToolsVersion rootProject.hasProperty('buildToolsVersion') ? rootProject.buildToolsVersion : "23.0.1"
}
dependencies { implementation "com.facebook.react:react-native:+" }`
1.2 _nodemodules/react-native-orientation/android/src/main/java/com/github/yamill/orientation/OrientationModule.java
2 rn-fetch-blob
2.1 _nodemodules/rn-fetch-blob/android/src/main/java/com/RNFetchBlob/RNFetchBlobReq.java
2.2
3.react-native-screens
faced the issue of
after trying solve, re-installed react-native-screens its gone show how
React Native Version
0.66.1
Affected Platforms
Runtime - Android
Output of
npx react-native info
Stacktrace or Logs
Reproducer
not public
Screenshots and Videos