Add if not exists one row to the ios/podfile after target runner:
...
target 'Runner'do
use_frameworks!
...
Android
If you pretends to use the file share, you need to configure the file provider, this will give access to the files turning possible to share with other applications.
Here is an snippets app displaying the two whatsapp share methods .
Whatsapp installed in this device ?
Future<void> isInstalled() async {
final val = awaitWhatsappShare.isInstalled(
package: Package.businessWhatsapp
);
print('Whatsapp Business is installed: $val');
}
If whatsapp is not installed, please do not call WhatsappShare.share() and WhatsappShare.shareFile()