The Device blocks gather useful data from the device (Android / iOS, online / offline, time and date) as well as set the phone to vibrate.
At the moment, all the dates and times are in numerical format i.e. month = 1 rather than month = Jan. If you want to convert the numbers into names, we suggest you to add a Local DB component and a simple table like the ones shown below.
Since Thunkable Cross Platform ✕ works on both Android and iOS from a single project, there may be times when you want to modify your user experience depending on their mobile operating system. To do so, you can use the block below:
To see how this might work in your app, take a look at the blocks below:
There may be times you may want to design a different experience when a user is offline. To detect a user's connection, you can simply use the blocks below:
Apps often work in the background and vibrating a device is a popular way of notifying a user of a certain event. To set your device to vibrate, you can use the block sample below: