Changes

Push Service (Client)

535 bytes added, 15:54, 21 July 2014
== Processing push data ==
[[File:UI_Android_Push_Data_Received_Notification.jpg|thumb|alt=Notification for Received Push Data|Notification for Received Push Data]]
After receiving push data, {{UBIK}} processes it and potentially performs all kinds of follow-up tasks.
=== Updating Meta Definitions ===
 
[[File:UI_Android_Push_Update_MetaDef_Uncommitted_Conflict.jpg|thumb|alt=Error Notification for Conflict during Updating Meta Definitions|Error Notification for Conflict during Updating Meta Definitions]]
Upon receiving such push data, {{UBIK}} tries to update all the Meta Definitions. If the update is successful, root objects and infrastructures are then updated as well, and {{UBIK}} is automatically switched to the automatic sync mode.
=== Updating device status ===
 
[[File:UI_Android_Push_Maintenance_Uncommitted_Conflict.jpg|thumb|alt=Error Dialog for Conflict during Preparing for Maintenance|Error Dialog for Conflict during Preparing for Maintenance]]
Upon receiving such push data, {{UBIK}} tries to update the status of the device. Currently, the only known status is maintenance. This means the server will be under maintenance and unreachable soon. Therefore, {{UBIK}} should be switched to offline mode.