question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

V4 Platform Ready not called on Cordova iOS/Android

See original GitHub issue

Ionic version: (check one with “x”) (For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1) [ ] 2.x [ ] 3.x [ x] 4.x

I’m submitting a … (check one with “x”) [x ] bug report [ ] feature request

Current behavior: this.platform.ready()dont fire on cordova android/ios

Expected behavior: Platform should fire a ready event

Steps to reproduce: ionic start test (V4, blank, with cordova) cd test ionic cordova platform add android ionic cordova run android

Other information:

Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):

cli packages: (/usr/local/lib/node_modules)

   @ionic/cli-utils  : 2.0.0-rc.6
   ionic (Ionic CLI) : 4.0.0-rc.6

global packages:

   cordova (Cordova CLI) : 8.0.0

local packages:

   @angular-devkit/core       : 0.6.0
   @angular-devkit/schematics : 0.6.0
   @angular/cli               : 6.0.1
   @ionic/schematics-angular  : 1.0.0-rc.6
   Cordova Platforms          : android 6.4.0
   Ionic Framework            : @ionic/angular 4.0.0-alpha.6

System:

   Android SDK Tools : 26.1.1
   ios-deploy        : 1.9.2
   NodeJS            : v8.11.2
   npm               : 6.0.1
   OS                : macOS High Sierra
   Xcode             : Xcode 9.3.1 Build version 9E501

Environment Variables:

   ANDROID_HOME : /Users/hackfrag/Library/Android/sdk

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
paulstelzercommented, Jun 7, 2018

They have fixed platform ready now -> #14577

We only have to wait until the next alpha release 😉 THis issue can closed now

0reactions
ionitron-bot[bot]commented, Jan 2, 2019

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

Read more comments on GitHub >

github_iconTop Results From Across the Web

V4 Platform Ready not called on Cordova iOS/Android #14489
Ionic version: (check one with "x") (For Ionic 1.x issues, ... V4 Platform Ready not called on Cordova iOS/Android #14489.
Read more >
ionic platform.ready() is not working in @ionic/angular 6.0.4
I installed and confirmed the built apk file with adb install app-debug.apk . What may be the cause? angular · cordova · ionic-framework....
Read more >
Platform - Ionic API Documentation
Ionic is the app platform for web developers. Build amazing mobile, web, and desktop apps all with one shared code base and open...
Read more >
Capacitor by Ionic - Cross-platform apps with web technology
Create cross-platform iOS, Android, and Progressive Web Apps with JavaScript, HTML, and CSS. ... Migrate from Cordova -> apple, android and pwa icons....
Read more >
cordova-plugin-file
cordova -plugin-file. This plugin implements a File API allowing read/write access to files residing on the device. This plugin is based on several...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found