react-native-google-mobile-ads icon indicating copy to clipboard operation
react-native-google-mobile-ads copied to clipboard

[🐛] App crash minSdkversion miss-match library have 21 and [email protected] have 23

Open dharmendra841434 opened this issue 1 year ago • 1 comments

What happened?

Configure project :react-native-google-mobile-ads :react-native-google-mobile-ads package.json found at C:\Users\Dhruv\Desktop\blackCoffer\vk\tubetools\node_modules\react-native-google-mobile-ads\package.json :react-native-google-mobile-ads package.json found at C:\Users\Dhruv\Desktop\blackCoffer\vk\tubetools\node_modules\react-native-google-mobile-ads\package.json :react-native-google-mobile-ads:version set from package.json: 13.6.0 (13,6,0 - 13006000) :react-native-google-mobile-ads:android.compileSdk using custom value: 34 :react-native-google-mobile-ads:android.targetSdk using custom value: 34 :react-native-google-mobile-ads:android.minSdk using custom value: 23 :react-native-google-mobile-ads:reactNativeAndroidDir C:\Users\Dhruv\Desktop\blackCoffer\vk\tubetools\node_modules\react-native\android

Task :react-native-google-mobile-ads:processDebugManifest package="io.invertase.googlemobileads" found in source AndroidManifest.xml: C:\Users\Dhruv\Desktop\blackCoffer\vk\tubetools\node_modules\react-native-google-mobile-ads\android\src\main\AndroidManifest.xml. Setting the namespace via the package attribute in the source AndroidManifest.xml is no longer supported, and the value is ignored. Recommendation: remove package="io.invertase.googlemobileads" from the source AndroidManifest.xml: C:\Users\Dhruv\Desktop\blackCoffer\vk\tubetools\node_modules\react-native-google-mobile-ads\android\src\main\AndroidManifest.xml.

Task :react-native-google-mobile-ads:compileDebugKotlin w: file:///C:/Users/Dhruv/Desktop/blackCoffer/vk/tubetools/node_modules/react-native-google-mobile-ads/android/src/main/java/io/invertase/googlemobileads/OnNativeEvent.kt:6:68 'constructor Event<T : Event<(raw) Event<*>>!>(Int)' is deprecated. Deprecated in Java

Platforms

Android, but have not tested behavior on iOS

React Native Info

"react-native": "0.74.1",

Are your using Typescript?

  • [ ] My project is using Typescript

package.json

{
  "name": "tubetools",
  "version": "0.0.1",
  "private": true,
  "scripts": {
    "android": "react-native run-android",
    "ios": "react-native run-ios",
    "lint": "eslint .",
    "start": "react-native start",
    "test": "jest"
  },
  "dependencies": {
    "react": "18.2.0",
    "react-native": "0.74.1",
    "react-native-google-mobile-ads": "^13.6.0"
  },
  "devDependencies": {
    "@babel/core": "^7.20.0",
    "@babel/preset-env": "^7.20.0",
    "@babel/runtime": "^7.20.0",
    "@react-native/babel-preset": "0.74.83",
    "@react-native/eslint-config": "0.74.83",
    "@react-native/metro-config": "0.74.83",
    "@react-native/typescript-config": "0.74.83",
    "@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"
  }
}

app.json

{
  "name": "tubetools",
  "displayName": "tubetools",
  "react-native-google-mobile-ads": {
    "android_app_id": "ca-app-pub-xxxxxxxx~xxxxxxxx"
  }
}

ios/Podfile

No response

android/build.gradle

No response

android/app/build.gradle

No response

android/settings.gradle

No response

AndroidManifest.xml

No response

dharmendra841434 avatar Jun 01 '24 13:06 dharmendra841434

same issue

omarsaade avatar Jun 17 '24 09:06 omarsaade

Hello 👋, to help manage issues we automatically close stale issues.

This issue has been automatically marked as stale because it has not had activity for quite some time.Has this issue been fixed, or does it still require attention?

This issue will be closed in 15 days if no further activity occurs.

Thank you for your contributions.

github-actions[bot] avatar Jul 15 '24 10:07 github-actions[bot]