主权项 |
1. A computer-implemented method of running an application on a device, comprising:
obtaining an app start bundle of the application from a network source; installing the application using the app start bundle; determining a first status of the application at a first time; in response to determining the first status of the application at the first time, requesting a first on demand resource of a plurality of on demand resources not on the device at the first time and associated with the application, wherein:
in accordance with a determination that the first status of the application meets a first status criterion, the first on demand resource comprises a first resource,in accordance with a determination that the first status of the application meets a second status criterion, different from the first status criterion, the first on demand resource comprises a second resource, different from the first resource, andthe first status of the application is independent of a user input to the device for running a portion of the application corresponding to the first on demand resource; receiving the first on demand resource, without receiving a second on demand resource of the plurality of on demand resources, from the network source; and loading the first on demand resource in the application. |