[Save To Gallery] base64ToGallery is not a function

Forge Component
(3)
Published on 2018-11-26 by Carlos Alfaro
3 votes
Published on 2018-11-26 by Carlos Alfaro

i'm using camera plugin to take a picture from camera, and save it to local storage database. This is working perfectly.

Then i need to save the taken image also to gallery, but i got error "base64ToGallery is not a function" both in apk or Outsystem now version (in ios device).
is there any requirement to use this?

The file is binary.

Hi Hendra.

This component should install a cordova plugin that defines that function. Which iOS version are you using?

Could you test with version 1.0.0 to see if the problem still occurs with that version?

Solution

Hi,

I'm using Android Oreo and IOS 12.3.1
Yes, in 1.0.0 no error.

Thanks

Solution

leonardo.fernandes wrote:

Hi Hendra.

This component should install a cordova plugin that defines that function. Which iOS version are you using?

Could you test with version 1.0.0 to see if the problem still occurs with that version?


You mean the Common Plugin? I'm also getting this error on iOS (multiple versions)

The version 1.0.0 I was referring to can be downloaded here: https://www.outsystems.com/forge/component-versions/3707

If you continue having the same problem, let me know.

leonardo.fernandes wrote:

The version 1.0.0 I was referring to can be downloaded here: https://www.outsystems.com/forge/component-versions/3707

If you continue having the same problem, let me know.

Olá Leonardo,

I deleted the previous version, downloaded the version 1.0.0, refreshed the references, tested in ios 9 and ios 12 with Outsystems Now and I still get the same error on both.