Ios issue converting image path to base64 string

we are using com-badrit-base64 plugin to convert local image file path to base64 string, it is working fine in android but getting issue in ios. can any one please help with this issue.