Links
📦

App Storage

🧋 Bubble.io Plugin

[Element] Natively - Storage

Events:

  • Storage value received - Get called when a new value received

States:

  • Latest requested storage value - The latest received value by key
  • Latest requested storage key - The latest requested key

Actions:

  • Store value to device storage
    • key
    • value
  • Get value from device storage
    • key
  • Reset device storage
  • Remove value from device storage
    • key

🛠 JavaScript SDK

Storage

1
const storage = new NativelyStorage()
2
const get_storage_value_callback = function (resp) {
3
console.log(resp.key);
4
console.log(resp.value);
5
};
6
storage.setStorageValue(key, value);
7
storage.getStorageValue(key, get_storage_value_callback);
8
storage.removeStorageValue(key);
9
storage.resetStorage();