SocialSharing.canShareVia not working

  SocialSharing.canShareVia('twitter').then( 
    (result) => {
      console.log('Can share via email')
    }
  ).catch(() => {
    console.error('Cannot share')
  });

Just prints:

The injected error callback of ‘canShareVia’ received: [“com.android.messaging”,“com.android.email”]

Also don’t resolve or reject.

  SocialSharing.canShareVia('com.android.messaging').then( 
    (result) => {
      console.log('Can share via email')
    }
  ).catch(() => {
    console.error('Cannot share')
  });

Does nothing.

same here , i guess it’s a bug or something