Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weโ€™ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(android): ๐ŸŒŸ add support for React Native 0.73 #3133

Merged
merged 8 commits into from
Jun 26, 2023
Merged
4 changes: 4 additions & 0 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ if (isNewArchitectureEnabled()) {
}

android {
// Conditional for compatibility with AGP <4.2.
if (project.android.hasProperty("namespace")) {
namespace 'io.sentry.react'
krystofwoldrich marked this conversation as resolved.
Show resolved Hide resolved
}
compileSdkVersion safeExtGet('compileSdkVersion', 31)

defaultConfig {
Expand Down
3 changes: 1 addition & 2 deletions android/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="io.sentry.react">
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
krystofwoldrich marked this conversation as resolved.
Show resolved Hide resolved
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<application>
Expand Down