Skip to content

Cannot read property 'open' of undefined #28

Description

@DJSitte

When running the example project nothing happens when I click the button and I get the following debug output:

07-07 15:26:15.443  3771  3771 D SystemWebChromeClient: file:///android_asset/www/cordova.js: Line 312 : Error in Success call backId: SafariViewController770851044 : TypeError: Cannot read property 'open' of undefined
07-07 15:26:15.443  3771  3771 I chromium: [INFO:CONSOLE(312)] "Error in Success callbackId: SafariViewController770851044 : TypeError: Cannot read property 'open' of undefined", source: file:///android_asset/www/cordova.js (312)
07-07 15:26:15.448  3771  3771 D SystemWebChromeClient: file:///android_asset/www/build/main.js: Line 1362 : ERROR
07-07 15:26:15.448  3771  3771 I chromium: [INFO:CONSOLE(1362)] "ERROR", source: file:///android_asset/www/build/main.js (1362)

Ionic-CLI: v3.4.0
Ionic: v3.5.0
Cordova: v7.0.1

EDIT: It works when I run it on my phone, but does not work in the emulator.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions