We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4db6229 commit 3e2160cCopy full SHA for 3e2160c
lib/apploader.js
@@ -26,6 +26,11 @@ var apps = [];
26
var device = { id : DEVICEID, appsInstalled : [] };
27
var language; // Object of translations
28
29
+/* This resets the list of installed apps to an empty list.
30
+ It can be used in case the device behind the apploader has changed
31
+ after init (i.e. emulator factory reset) so the dependency
32
+ resolution does not skip no longer installed apps.
33
+*/
34
exports.reset = function(){
35
device.appsInstalled = [];
36
}
0 commit comments