How to share data between cordova apps using cordova-plugin-file? (Android, IOS) -
i have 2 apps both should write/read txt files. logical way doing using cordova-plugin-file. however, not find directly resource explaining explicitly.
the news there url called shared directory cordova.file.shareddirectory
need blackberry 10. (while need them android
, ios
)
for android:
from docs of plugin;
if sd card mounted, or if large internal storage partition available (such on nexus devices,) persistent files stored in root of space. meant cordova apps see of files available on card.
if sd card not available, previous versions store data under /data/data/, isolates apps each other, may still cause data shared between users.
so, far understand, if there sd card, data can shared (which cannot assume users have sd card). otherwise data of apps isolated still can shared. question how? knowing path of app enough or there restrictions reach data of other app?
for ios:
i'm absolutely not sure url use share data between apps.
Comments
Post a Comment