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: Use new Android SDK #749

Merged
merged 10 commits into from
Feb 12, 2020
Merged

feat: Use new Android SDK #749

merged 10 commits into from
Feb 12, 2020

Conversation

HazAT
Copy link
Member

@HazAT HazAT commented Jan 27, 2020

Fixes #742
Fixes #734
Fixes #713
Fixes #695
Fixes #677
Fixes #674
Fixes #667
Fixes #656
Fixes #647
Fixes #623
Fixes #748
Fixes #649
Fixes #757
Fixes #685

@HazAT HazAT self-assigned this Jan 27, 2020
@HazAT HazAT changed the title feat: Use new Android SDK [WIP] feat: Use new Android SDK Jan 27, 2020
@@ -13,20 +13,26 @@ android {
}

defaultConfig {
minSdkVersion safeExtGet('minSdkVersion', 16)
minSdkVersion safeExtGet('minSdkVersion', 21)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We're aiming API 18 on sentry-android-ndk. For sentry-android only it's API 14

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you may keep 16, and do this on manifest -> https://github.com/getsentry/sentry-android/blob/fd6413b92ed97efdecccc1fa6d8abef27fb1c816/sentry-sample/src/main/AndroidManifest.xml#L7

so you support non-ndk from 16 to 20 and with ndk support from 21 on

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no changes needed on manifest, minSdkVersion=16 just works :)

android/build.gradle Outdated Show resolved Hide resolved
}
},

platform: Platform.OS
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is this platform used for?

# Conflicts:
#	android/src/main/java/io/sentry/RNSentryModule.java
fix: Native crash handling on android
ref: Remove extraUpdated
@wodCZ
Copy link

wodCZ commented Feb 10, 2020

Would this possibly fix the crashes on RN >= 60 mentioned here: https://github.com/getsentry/sentry-react-native/blob/feat/new-android-sdk/src/js/sdk.ts#L47 ?

@HazAT
Copy link
Member Author

HazAT commented Feb 11, 2020

@wodCZ Done!

@HazAT HazAT changed the title [WIP] feat: Use new Android SDK feat: Use new Android SDK Feb 11, 2020
@HazAT HazAT merged commit 01d6465 into master Feb 12, 2020
@HazAT HazAT deleted the feat/new-android-sdk branch February 12, 2020 07:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment