Skip to content

Cordova "deviceready" not getting fired on browser platform #127

@pawankorade

Description

@pawankorade

Bug Report

Problem

deviceready not getting fired on Browser Platform while running

cordova run browser

Getting below message on console:

deviceready has not fired after 5 seconds.
Channel not fired: onCordovaReady

What is expected to happen?

After executing cordova run browser deviceready content should get executed, followed by APP getting loaded in the browser.

What does actually happen?

deviceready content doesn't gets executed, resulting APP not getting loaded in the browser

Information

List of Plugins Installed in Project:

branch-cordova-sdk 3.2.0 "branch-cordova-sdk"
cordova-plugin-add-swift-support 2.0.2 "AddSwiftSupport"
cordova-plugin-android-permissions 1.0.2 "Permissions"
cordova-plugin-androidx 1.0.2 "cordova-plugin-androidx"
cordova-plugin-androidx-adapter 1.1.0 "cordova-plugin-androidx-adapter"
cordova-plugin-appice 1.3.41 "AppICE"
cordova-plugin-badge 0.8.8 "Badge"
cordova-plugin-browsertab 0.2.0 "cordova-plugin-browsertab"
cordova-plugin-buildinfo 4.0.0 "BuildInfo"
cordova-plugin-camera 4.1.0 "Camera"
cordova-plugin-cocoapod-supportx 1.7.3 "Cordova CocoaPods Dependency Support"
cordova-plugin-compat 1.2.0 "Compat"
cordova-plugin-customurlscheme 4.4.0 "Custom URL scheme"
cordova-plugin-device 2.0.3 "Device"
cordova-plugin-dialogs 2.0.2 "Notification"
cordova-plugin-file 6.0.2 "File"
cordova-plugin-file-transfer 1.7.1 "File Transfer"
cordova-plugin-fingerprint-aio 2.0.0 "FingerprintAllInOne"
cordova-plugin-firebasex 3.0.1 "Google Firebase Plugin"
cordova-plugin-inappbrowser 3.1.0 "InAppBrowser"
cordova-plugin-media-capture 3.0.3 "Capture"
cordova-plugin-network-information 2.0.2 "Network Information"
cordova-plugin-root-detection 0.1.1 "Root Detection"
cordova-plugin-safariviewcontroller 1.6.0 "SafariViewController"
cordova-plugin-splashscreen 5.0.3 "Splashscreen"
cordova-plugin-sslcertificatechecker 6.0.0 "SSL Certificate Checker"
cordova-plugin-statusbar 2.4.3 "StatusBar"
cordova-plugin-video-editor 1.1.3 "VideoEditor"
cordova-plugin-whitelist 1.3.4 "Whitelist"
cordova-plugin-x-socialsharing 5.6.3 "SocialSharing"
cordova-universal-links-plugin 1.2.1 "Universal Links Plugin"
es6-promise-plugin 4.2.2 "Promise"

Command or Code

cordova run browser

Environment, Platform, Device

> Environment: 
>   OS: darwin
>   Node: v10.16.3
>   npm: 6.13.6
> Installed platforms:
>   android 8.0.0
>   browser 6.0.0
>   ios 5.1.1
> Available platforms: 
>   electron ^1.0.0
>   osx ^5.0.0
>   windows ^7.0.0

Version information

> cordova-lib@9.0.1 with:
>   cordova-common@3.2.0
>   cordova-create@2.0.0
>   cordova-fetch@2.0.1
>   cordova-serve@3.0.0

Checklist

  • I searched for existing GitHub issues
  • I updated all Cordova tooling to most recent version
  • I included all the necessary information above

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