Apps like the "zelando" app share to other apps as image/jpeg when you grab the intent type, but they also bundle in text with a URL (which is more important than the image). This PR adds text to the ret variable along with image - as the intent.getStringExtra(Intent.EXTRA_TEXT); returns text or null this means it fails silently but allows the capacitorjs app to handle everything as it would like to.
Apps like the "zelando" app share to other apps as image/jpeg when you grab the intent type, but they also bundle in text with a URL (which is more important than the image). This PR adds text to the
ret
variable along with image - as theintent.getStringExtra(Intent.EXTRA_TEXT);
returns text or null this means it fails silently but allows the capacitorjs app to handle everything as it would like to.