Whatzappp sharing with Social Sharing

Hi,
I need to integrate Whatzapp sharing on my ionic 5 app.

I built android app but when I share on whatzapp, I receive a strange error on a specific device. On others devices, it works.

Whatzapp sharing error 
(5) ['com.android.bluetooth', 'com.google.android.gms', 'com.mi.android.globalFileexplorer', 'com.miui.notes', 'com.xiaomi.midrop']
0: "com.android.bluetooth"
1: "com.google.android.gms"
2: "com.mi.android.globalFileexplorer"
3: "com.miui.notes"
4: "com.xiaomi.midrop"
length: 5
[[Prototype]]: Array(0)

This is my simple code:

    var message, image, url: string;

    message = "hello";
    url = "http://www.mylink.com";

    if (this.session.getPlatform() == "ios") {
      this.socialSharing.shareViaWhatsApp(message, null, url).then(() => {
        console.debug("Whatzapp sharing success");
      }).catch((e) => {
        console.error("Whatzapp sharing error", e);
      });
    } else {
      this.socialSharing.shareViaWhatsApp(message, image, url).then(() => {
        console.debug("Whatzapp sharing success");
      }).catch((e) => {
        console.error("Whatzapp sharing error", e);
      });
    }

Can you help me to understand?

Thanks

in Androidmanifest.xml file add

<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
 
<uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" />

Also observe this error when the targeted app not install on the device.
You need to handle the error if targeted app e.g. twitter not installed on your device

for more details
//Ionic 6 Angular Social share - YouTube