cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ibrahim M. Ghazal (JIRA)" <>
Subject [jira] [Created] (CB-12812) Statusbar plugin throws error on Browser platform
Date Sun, 14 May 2017 08:56:04 GMT
Ibrahim M. Ghazal created CB-12812:

             Summary: Statusbar plugin throws error on Browser platform
                 Key: CB-12812
             Project: Apache Cordova
          Issue Type: Bug
          Components: cordova-browser, cordova-plugin-statusbar
    Affects Versions: Master
         Environment: Browser platform
            Reporter: Ibrahim M. Ghazal

On the Browser platform, calling `StatusBar.styleDefault()` Throws error: ERROR TypeError:
win is not a function .

The fix is very simple, just check if the callback exists before calling it.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message