API: Delay Refresh After Remote Update
- Sample code to run within the app and download for integration into your own project is available here.
- App Settings
- Remote Settings Control and/or Remote Update of Local Files = configured
Notifications via API Callbacks
Add Navigation Event to Current User Session
This callback is run any time Kiosk Pro checks for a Remote Settings Control or Remote Update Of Local Files update and finds a new update. The callback defines the specific event that has triggered the update, allowing you to define whether to allow or prevent the update based on the triggering event.
Generally when the app finds new content or settings, it will check for user interaction with the device and if no interaction is seen, will refresh the homepage to apply the update. If this callback is used to prevent application of the update, the app will still download the new content and/or settings, but will delay applying them until the app returns to the homepage.
Note: If no new settings or content are found during a check, Kiosk Pro will not attempt to refresh the homepage or engage this callback.
|Defining the results|| To control whether the update is applied, you must define this callback in your code and set it to return the appropriate value when it is called.
If the function returns: 'yes' (case does not matter) or true or 1, then Kiosk Pro will skip refresh of the homepage. If something else is returned (or if the function is not defined), Kiosk Pro will refresh the homepage to display new content and/or settings as it normally would.
- Added in 3.5.2 version.