ionic framework – Capacitor Filesystem iOS writing to Paperwork doesn’t persist information after app is deleted


I see an outdated query about saving information on iOS utilizing Capacitor Filesystem, however since then Ionic and Capacitor have been up to date. I’m writing a file on iOS to Listing.Paperwork and Listing.ExternalStorage as a result of the Capacitor Filesystem docs say these two areas persist after the app is deleted. On Android, that is the case. I deleted my app and the no matter information and folders I saved in Paperwork keep.

With iOS, they’re eliminated after the app is deleted. One other bizarre factor on iOS is that when a file is saved, it creates a folder in Paperwork with the identify of the app, and places the information there. I can recover from that half, however I want the information to persist. Is that this a bug? The code could be very easy, so I do not suppose I am doing something improper. However right here it’s in case.

await Filesystem.writefile({
path: 'take a look at.pdf',
information: information, // base64 pdf information
listing: Listing.Paperwork,
})

Any concepts? Is that this the anticipated conduct? Is there one other plugin I can use that persists the information on iOS after the app is deleted?

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles