1

import { Share } from '@capacitor/share';

openSocial() {

Share.share({
  title: 'See cool stuff',
  text: 'Really awesome thing you need to see right meow',
  url: 'http://ionicframework.com/',
  dialogTitle: 'Share with buddies',
});  

}

This code works fine till android 11. But app crashes with android 12 targetsdk=32.

Do I need to make any changes in AndroidManifest.xml?

1 Answers1

1

If you are using capacitor 3 don’t target SDK 32, stick with SDK until capacitor 4 is released with official support and all those SDK 32 crashes fixed.

Targeting SDK 32 is not going to be mandatory until August for new apps and November for existing apps. Capacitor 4 will be launched before that.

jcesarmobile
  • 51,328
  • 11
  • 132
  • 176