đŸ“ĻApp Storage

If your app deals with large files or unstructured data, such as images, audio, or video, consider enabling App Storage integration.

🧋 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

const storage = new NativelyStorage()
const get_storage_value_callback = function (resp) {
    console.log(resp.key);
    console.log(resp.value);
};
storage.setStorageValue(key, value);
storage.getStorageValue(key, get_storage_value_callback);
storage.removeStorageValue(key);
storage.resetStorage();

Last updated