I am currently in the process of migrating my app from the old cordova file plugin to capacitor’s file system plugin.
However, I have now found that my app becomes extremely slow after I upload a small 3mb pdf file. This lag seems to only be evident where the attachment is displayed on the form. If i go to another area of the app it’s not lagging.
Is this a common issue? How can i resolve it?
Basically I am using capaawesome filepicker to select a pdf on the phone, then filesystem reads this file using readFile and i then store the dataUrl in my sqlite Db. Once this happens my app becomes extremely slow and laggy.