diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 54d49f357..434d6925b 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -191,6 +191,11 @@ export class MoodleMobileApp implements OnInit { return; } + if (!this.urlSchemesProvider.isCustomURL(url)) { + // Not a custom URL, ignore. + return; + } + this.logger.debug('App launched by URL ', url); this.lastUrls[url] = Date.now();