Persistence:
Stored and Cloud Variables
Thunkable
Thunkable: Two Methods for Persistence/Shared Data
Persistence and Shared Data in Thunkable
Spreadsheets
Data Sources
Persistent Variables
Designate variables as persistent cloud
AirTable Database
App, Stored, and Cloud Variables
You can choose the persistence level for a variable.
What does each mean:
app?
stored?
cloud?
App, Stored, and Cloud Variables
What does each mean:
app: variable is transient and “dies” when app closes
stored: variable is stored in database on device. Data is still there if you close and reopen.
cloud: variable is stored in database on web. Data is still there if close and reopen, and all app instances (users) have access
Apps Can have either Private or Shared Data
Use stored variables for private apps. Each user has his or her own copy of data stored on device
Use cloud variables for shared data apps. Data is stored in one shared place, on web
Initializing Stored/Cloud Variables
null means “never set”
Initializing Stored/Cloud Variables
Initializing a number variable
Initializing a list variable
Notifying Other App Instances of a Change
Jill
Shondra
Egbert
cloud variable
DEMO: Shared click counter