Just Add on... By writing function script in custom.js file, you can make change status / create record while your device in offline.
Make sure your app was light weighted...while developing HWC app for offline.
You have to create Custom Action Menu item in Screen and call this. Exmaple below...
function customAfterMenuItemClick(screen, menuItem) {
//if we are online, do an online request from the Ticket screen.
if (!isDeviceOffline) {
menuItemCallbackTicketsOnline_Submit();
}
else {
//if we are server-initiated and are offline, do a submit workflow from the Customer screen
if (!clientInitiated) {
doSaveAction(false);
menuItemCallbackCustomerSI_Offline_Submit();
}
else { //if we are client-initiated and are offline, do a submit workflow from the Customers listview
doSaveAction(false);
doSaveAction(false);
menuItemCallbackCustomersCI_Offline_Submit();
}
Regards,
Naresh