react-native-exception-handler icon indicating copy to clipboard operation
react-native-exception-handler copied to clipboard

Add Namespace into android/gradle.build for suport to gradle 8+

Open SeltonJeff opened this issue 1 year ago • 1 comments

Please add "namespace" into /android/build.gradle => android, for compatibility with gradle 8+. EX:

android { namespace 'reactnativeexceptionhandler' compileSdkVersion getExtValue(rootProject,'compileSdkVersion',23) buildToolsVersion getExtValue(rootProject,'buildToolsVersion', "23.0.1")

defaultConfig {
    minSdkVersion getExtValue(rootProject,'minSdkVersion', 16)
    targetSdkVersion getExtValue(rootProject,'targetSdkVersion', 22)
    versionCode 1
    versionName "1.0"
}
lintOptions {
    abortOnError false
}

}

SeltonJeff avatar Dec 18 '24 02:12 SeltonJeff

Hey @SeltonJeff 👋

Since this library hasn’t been actively maintained for a while, I built a new package that’s fully up-to-date and maintained: react-native-global-exception-handler ⚡️

It’s a drop-in replacement with a smooth migration guide so you can switch over quickly.

Highlights

  • 🚀 Supports React Native’s new architecture with backwards compatibility
  • 📱 Works with the latest RN versions
  • 🛡️ Handles both JS and native exceptions
  • 📖 Clear docs and examples
  • 🙌 Actively maintained and open to contributions

If you’re still relying on this package, I’d recommend migrating over, the setup is straightforward, and you’ll be on something future-proof. 🔧🐾

darshan09200 avatar Oct 29 '25 11:10 darshan09200