Replies: 1 comment
-
I think I might have found the answer to my own question. In the Capacitor docs, it says that the Capacitor Preferences API uses "UserDefaults on iOS and SharedPreferences on Android":
So that seems like just what I want! Though if anyone with more experience on the native iOS/Android side can confirm the above points with more certainty, I'd definitely appreciate it! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I have some simple string data values that I want to store in my Capacitor app, and they don't need to be encrypted, but I still don't want them to be readable by other apps on the same device (on iOS and Android). Would the Capacitor Preferences API (https://capacitorjs.com/docs/apis/preferences) work for this need?
Beta Was this translation helpful? Give feedback.
All reactions