Of those two choices, I would use the first simply for atomicity reasons, but in the context of an Ionic app that’s admittedly not a very strong reason. However, my first preference would be Capacitor’s writeFile
, allowing eliminating the need for that Cordova plugin in the first place.
1 Like