1. A computer-implemented method performed by a mobile device, the method comprising: accessing, by the mobile device, a notification service on a server separate from the mobile device, the notification service hosting a plurality of command collection topics, where a distinct mobile device is subscribed to each command collection topic; accessing, by the mobile device, a command collection topic hosted on the notification service and subscribed to by the mobile device; polling, by the mobile device, the command collection topic subscribed to by the mobile device to determine that one or more new remote command messages have been received by the command collection topic subscribed to by the mobile device; retrieving, by the mobile device, in response to the determining that one or more new remote command messages have been received by the command collection topic, at least one of the one or more new remote command messages included in the command collection topic subscribed to by the mobile device, wherein the one or more new remote command messages identify commands to be executed by the mobile device; determining, by the mobile device, whether the command identified by the retrieved remote command message can be executed by the mobile device; publishing, by the mobile device, a result message associated with the command to a result topic hosted on the notification service; and selectively executing, by the mobile device, the command based on a result of the determining.
1. A computer-implemented method performed by a mobile device, the method comprising: accessing, by the mobile device, a notification service on a server separate from the mobile device, the notification service hosting a plurality of command collection topics, where a distinct mobile device is subscribed to each command collection topic; accessing, by the mobile device, a command collection topic hosted on the notification service and subscribed to by the mobile device; polling, by the mobile device, the command collection topic subscribed to by the mobile device to determine that one or more new remote command messages have been received by the command collection topic subscribed to by the mobile device; retrieving, by the mobile device, in response to the determining that one or more new remote command messages have been received by the command collection topic, at least one of the one or more new remote command messages included in the command collection topic subscribed to by the mobile device, wherein the one or more new remote command messages identify commands to be executed by the mobile device; determining, by the mobile device, whether the command identified by the retrieved remote command message can be executed by the mobile device; publishing, by the mobile device, a result message associated with the command to a result topic hosted on the notification service; and selectively executing, by the mobile device, the command based on a result of the determining. 18. The non-transitory computer-readable medium of claim 1 , wherein the command collection topic subscribed to by the mobile device includes a plurality of command nodes, where each command node corresponds to a distinct remote command type and the at least one remote command message is retrieved from one of the plurality of command nodes.