-
-
Notifications
You must be signed in to change notification settings - Fork 871
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
build(share_plus): Update to target and compile SDK 34 on Android #2712
Conversation
Intent.createChooser(shareIntent, null /* dialog title optional */) | ||
} | ||
val chooserIntent = | ||
if (withResult && Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP_MR1) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added version check to not see lint errors when working with Android part.
This change influences nothing, because we have the same check in the method call handler class.
Intent.createChooser(shareIntent, null /* dialog title optional */) | ||
} | ||
val chooserIntent = | ||
if (withResult && Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP_MR1) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added version check to not see lint errors when working with Android part.
This change influences nothing, because we have the same check in the method call handler class.
@@ -28,6 +28,7 @@ internal class SharePlusPendingIntent: BroadcastReceiver() { | |||
intent.getParcelableExtra(Intent.EXTRA_CHOSEN_COMPONENT, ComponentName::class.java) | |||
} else { | |||
// Deprecated in API level 33 | |||
@Suppress("DEPRECATION") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just to not see lint warnings
Description
Same as #2701 but with a few additional fixes for the example app.
Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?
!
in the title as explained in Conventional Commits).