New "Defines" tab

Announcements of new firmware versions, new features and new applications
Post Reply
Site Admin
Posts: 84
Joined: Tue Nov 10, 2020 12:12 am

New "Defines" tab

Post by mchavez »

We released a new feature on the web portal. The app editor has now a new tab named "Defines". The purpose of this tab is to include custom "#define" for your application that should contain user-personal or user-specific information (like auth token).


Code: Select all

#define USER_ACCESS_TOKEN "user_access_token"
#define NUMBER_OF_ITEMS 1200
#define USER_TIME_SPAN 300
This allows you to separate your code from custom user settings. If you update your code, this user setting remains unchanged.

This tab is completely optional, use it only if you want. If you use it, don't forget to explain it in the app description.

Hope you like this new feature.

The TWatchBuilder Team
Post Reply