Add Namespace into android/gradle.build for suport to gradle 8+
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
}
}
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. 🔧🐾