Ionic showing error when I am reading a file larger than 4MB as base64


#1

abort("Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value 16777216, (2) compile with -s ALLOW_MEMORY_GROWTH=1 which allows increasing the size at runtime, or (3) if you want malloc to return NULL (0) instead of this abort, compile with -s ABORTING_MALLOC=0 ")

Above error is occurring whenever I am choosing a file more than 4MB through Filechooser native plugin.

What about iOS devices, does it support them as well?