Skip to content
This repository was archived by the owner on Oct 6, 2021. It is now read-only.
This repository was archived by the owner on Oct 6, 2021. It is now read-only.

Stuck on splash screen with iOS 12 #249

@egonm12

Description

@egonm12

We are using Cordova 8 in the new frontend app of de Kudos-o-Matic and with iOS 12 the app gets stuck on the splash screen. There is an open issue for this on the Cordova repo but I think it's good to know this when there is a new Maji project with Cordova 8.

This is the current workaround

// cordova/plugins/cordova-plugin-splashscreen/src/ios/CDVSplashScreen.m

- (void)hide:(CDVInvokedUrlCommand*)command
{
    [self setVisible:NO];
}

And hide the splash screen manually:

cordova/plugins/cordova-plugin-splashscreen/www/splashscreen.js

window.setTimeout(function () {
  navigator.splashscreen.hide();
}, 1000);

EDIT: Just found out we were having this problem with Cordova 7.0.1. as well

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions