Create storage
Overview
Storage is used to store data from the app to the device’s storage, for instance so the app can access the data again.
Create Storage Item
Key |
The state must have a unique identifier, which is used internally by the app. |
|
Type |
Select the appropriate data type to be stored. |
|
Text |
An alphanumerical string. |
|
Timestamp |
Date and time. |
|
Number |
A numerical value. |
|
URL |
An address to a web source. |
|
Image |
An image file. |
|
File |
A file. |
|
Boolean |
A true or false statement. |
|
Location |
Geographic location on a map. |
|
JSON |
Data in JSON format. |
|
List |
The contents of a list. |
|
Label |
Give the state a name. The label is visible, for instance, when configuring patches. |
|
Default Value |
Some data types have the option to enter a default value, file or image. |
-
Check the box Empty Value if no default value is needed.
-
Click Create when finished.