IOS image sharing to WhatsApp not working

I’m building an app in Ionic where you can post pictures to a feed and then share them to Social Media. I use the Cordova plugin SocialSharing. On Android, sharing a picture to WhatsApp works fine. On iPhone it only shares the text with the image but not the image itself. Sharing to Facebook (for example) is working fine on both devices.

Any idea why it’s not working in WhatsApp on an iPhone?

This is the code that’s in controllers.js:

$scope.shareImage = function (item) {
        .share(item.note.text, null, item.image, null)
        .then(function (result) {
        }, function (err) {

And the HTML in the view:

<div class="share-image" ng-click="shareImage(item)">
    Share this picture
1 Like