Bubble - Browser Cookies Plugin

Overview

This plugin allows you to create, read and delete browser cookies within your app. You can save certain information for a user, without him/her being logged in. For example if your app has a dark mode, you can specify the users preference as a cookie. This plugin allows you to not use the "Current User" within a workflow. This might be useful if you want to set a cookie without really affecting the current user if he/she is logged in.You also have the ability to set the expiration date of the cookie.

For a demo of this plugin please visit:https://anticodeplugin.bubbleapps.io/cookie

Icons made by https://www.flaticon.com/authors/those-icons from https://www.flaticon.com/

Instructions

Add the cookies element to your application. You can use the "Create Cookie" Action within your element workflows. You can read cookie values by triggering the "Read cookie" action within your workflows and entering the name of the cookie you want to read. You will then have access to the cookie value via the state of the cookie element. You can also delete a cookie by triggering the "delete cookie" action within a workflow and entering the name of the cookie you want to delete.