Ios doc picker Invalid callback id received by sendPluginResult

Hi, i’m using ios document picker.
When i tested it yesterday, this runtime error showed on xcode console

Invalid callback id received by sendPluginResult

If i’m debugging from safari console, nothing shows up, no success/error log

used to work tho,not sure what went wrong
I’ve tried re-installing both cordova plugin and ionic native package,removing and adding platform
None works.

Appreciate any help.

Hi, i tried adding option ‘all’ to this line
this.docPicker.getFile(‘all’)
and it works again.
the documentation said its optional and i’ve used it without parameter before and works fine
i guess now u must supply the parameter