Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-12812

Statusbar plugin throws error on Browser platform

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Master
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      Browser platform

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              filmaj Filip Maj
              Reporter:
              imgx64 Ibrahim M. Ghazal
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: