Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deviceready has not fired after 5 seconds - Android 7.1.4 #604

Closed
Benoit1980 opened this issue Dec 14, 2018 · 4 comments
Closed

Deviceready has not fired after 5 seconds - Android 7.1.4 #604

Benoit1980 opened this issue Dec 14, 2018 · 4 comments
Labels
info-needed / awaiting response Further information is requested support

Comments

@Benoit1980
Copy link

Hello,

I would like to know if there is a problem with this 7.1.4 android version as I keep having this issue in my chrome://inspect console:

deviceready has not fired after 5 seconds. cordova.js:1219
Channel not fired: onPluginsReady cordova.js:1212
Channel not fired: onCordovaReady 

I have disabled all the plugins, same problem.

I am using vue.js with Cordova:

import 'babel-polyfill';
import Vue from "vue";
import App from "./App.vue";
import Vuetify from "vuetify";
import router from "./router";
import { store } from "./store";
import "./registerServiceWorker";
import "vuetify/dist/vuetify.min.css";
import "material-design-icons-iconfont/dist/material-design-icons.css";
Vue.use(Vuetify);

Vue.config.productionTip = false;

if (
navigator.userAgent.match(/(iPhone|iPod|iPad|Android|BlackBerry|IEMobile)/)
) {
document.addEventListener("deviceready", onDeviceReady, false);
} else {
onDeviceReady(); //this is the browser
}

function onDeviceReady() {
new Vue({
router,
store,
render: h => h(App)
}).$mount("#app");
}

I have also tried directly without condition
document.addEventListener("deviceready", onDeviceReady, false);

Same issue.

Any idea why can cause this please?

Thank you.

@janpio janpio added the support label Dec 14, 2018
@shijunti19
Copy link

+1

@brodycj brodycj added the info-needed / awaiting response Further information is requested label Jul 19, 2019
@brodycj
Copy link
Contributor

brodycj commented Jul 19, 2019

Please create a minimal reproduction example based on recent version of Cordova, as we do not support old Cordova releases. See also this minimal reproducible example on StackOverflow.

Followup questions are fine, but no “+1” comments please. To upvote the issue, please do the following:

1: Click on the smiley thing on the description, like you can see in this mini-screenshot:

Screen Shot 2019-07-18 at 9 31 11 PM

2: Then click on your desired reaction, like one of these:

Screen Shot 2019-07-18 at 9 33 43 PM

@jcesarmobile
Copy link
Member

Closing as the requested information was not provided.

@trinitiwowka
Copy link

how did you manage to solve this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
info-needed / awaiting response Further information is requested support
Projects
None yet
Development

No branches or pull requests

6 participants