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

@capacitor/share not working with capacitor v6 #2085

Open
CoooWeee opened this issue Apr 16, 2024 · 2 comments
Open

@capacitor/share not working with capacitor v6 #2085

CoooWeee opened this issue Apr 16, 2024 · 2 comments

Comments

@CoooWeee
Copy link

CoooWeee commented Apr 16, 2024

Bug Report

Plugin(s)

capacitor

Capacitor Version

Latest Dependencies:

@capacitor/cli: 6.0.0
@capacitor/core: 6.0.0
@capacitor/android: 6.0.0
@capacitor/ios: 6.0.0

Installed Dependencies:

@capacitor/cli: 6.0.0
@capacitor/core: 6.0.0
@capacitor/ios: 6.0.0
@capacitor/android: 6.0.0

Platform(s)

  • android tried sdkVersion 33 and 34

Current Behavior

Cannot resolve symbol 'UPSIDE_DOWN_CAKE'
Cannot resolve symbol 'FLAG_ALLOW_UNSAFE_IMPLICIT_INTENT'

            if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.UPSIDE_DOWN_CAKE) {
                flags = flags | PendingIntent.FLAG_ALLOW_UNSAFE_IMPLICIT_INTENT;
            }

Expected Behavior

complies without errors

Code Reproduction

  • just add the plugin to your project
  • sync
  • rebuild in android studio
@djonmayer
Copy link

Please, have a look at last comment to this pull request
You have to change target SDK to 34

@bobibt
Copy link

bobibt commented Apr 25, 2024

npx cap migrate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants