The following setting determines if the objects loaded from the local database should be cached in memory (for performance) or not:
During development in a Windows (desktop) you can set Dev.Mode to true. It will allow you to "Ctrl + Click" on objects on the screen to launch the inspector. It will add additional run-time checks to help with problem diagnosis.
Multi-threaded debugging
When you run into an exception it may not give you the full stack trace due to multi-threding issues (learn more). If you set this flag to true then UIRuntime.StackTrace will give you the full picture.
Performance profiling
If you want to profile your application for performance improvements it's important to remove any noise from background work. The reason is that such processes will impact the profilers' results, while they don't impact the real user's experience. One of the standard background processes in Zebble is Disposing the pages which are no longer reachable. That happens in the background, but it can massively impact your performance profiling data.
To isolate the performance data to only the page rendering and the standard flow, you can temporarily disable the background Disposing actions by setting the following config value to true. In addition you need to turn off the noise from the Zebble Inspector by setting DevMode to false..
<Dev.Mode value="false" />
If you want to disable page caching you can add teh following setting which will result in all [CacheView] attributes being ignored. As a result when navigating to a page it will never be added to the navigation cache. So it will be recreated when you go there.
During development (Windows), you can uncomment the following line, in order to simulate another platform for use in the CSS engine for quicker testing.
The following determines whether the flash() method should be automatically invoked for Button and IconButton views before their tap event handler code is executed
If you need the app to support receiving push notifications even when it's not running actively, then set the following to true:
If you want your app to respond to the user shaking the phone, then you need to set the following:
To specify the base URL for your server application's Web Api used by the mobile app, use:
If you want to launch the App Store rating application directly from your app you should set the following:
<Application.Android.ID value="my.application" />
<Application.Windows.ID value="com.my-website.MyApplication" />
When the user is looking at a page while there is no previous page in the navigation stack, if she then presses the back button nothing will happen. In that scenario, if you want the application to be minimised to show the Android home page, then you can achieve that behaviour by setting the following.