MOBILE-3026 core: Fix plugin_not_installed error in iOS
parent
f383894b7d
commit
7365bc708c
|
@ -110,6 +110,7 @@ export class MoodleMobileApp implements OnInit {
|
||||||
this.loginHelper.sitePolicyNotAgreed(data.siteId);
|
this.loginHelper.sitePolicyNotAgreed(data.siteId);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
this.platform.ready().then(() => {
|
||||||
// Refresh online status when changes.
|
// Refresh online status when changes.
|
||||||
this.network.onchange().subscribe(() => {
|
this.network.onchange().subscribe(() => {
|
||||||
// Execute the callback in the Angular zone, so change detection doesn't stop working.
|
// Execute the callback in the Angular zone, so change detection doesn't stop working.
|
||||||
|
@ -125,6 +126,7 @@ export class MoodleMobileApp implements OnInit {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
});
|
||||||
|
|
||||||
// Check URLs loaded in any InAppBrowser.
|
// Check URLs loaded in any InAppBrowser.
|
||||||
this.eventsProvider.on(CoreEventsProvider.IAB_LOAD_START, (event) => {
|
this.eventsProvider.on(CoreEventsProvider.IAB_LOAD_START, (event) => {
|
||||||
|
|
Loading…
Reference in New Issue