Merge pull request #2142 from dpalou/MOBILE-3199
MOBILE-3199 lti: Launch LTI in browser in desktopmain
commit
dc35bc914f
|
@ -207,7 +207,12 @@ export class AddonModLtiProvider {
|
|||
|
||||
// Generate launcher and open it.
|
||||
return this.generateLauncher(url, params).then((url) => {
|
||||
if (this.appProvider.isMobile()) {
|
||||
this.utils.openInApp(url);
|
||||
} else {
|
||||
// In desktop open in browser, we found some cases where inapp caused JS issues.
|
||||
this.utils.openInBrowser(url);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue