Please don't do that with a loop. Use AppsService.getAppByManifestURL()