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.

ionic 4 this.platform.ready never ready using capacitor without cordova

See original GitHub issue

Description:

this.platform.ready().then(()=>{
//can't access here,that's say the platform ready never 'ready'!
})

Steps to Reproduce: ionic start select N when ask install cordova

Output:

My ionic info:

Ionic:

   ionic (Ionic CLI)          : 4.0.0-rc.8 (C:\Users\cao\AppData\Roaming\npm\node_modules\ionic)
   Ionic Framework            : @ionic/angular 4.0.0-alpha.7
   @angular-devkit/core       : 0.7.0-rc.0
   @angular-devkit/schematics : 0.7.0-rc.0
   @angular/cli               : 6.0.8
   @ionic/ng-toolkit          : 1.0.0-rc.8
   @ionic/schematics-angular  : 1.0.0-rc.8

Capacitor:

   capacitor (Capacitor CLI) : 1.0.0-beta.0
   @capacitor/core           : 1.0.0-beta.0

System:

   NodeJS : v8.9.4 (C:\Program Files\nodejs\node.exe)
   npm    : 6.1.0
   OS     : Windows 10

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
peterpeterparkercommented, Nov 11, 2018

I think this issue is solved and could be close no?

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

ionic 4 this.platform.ready never ready using capacitor without ...
Thanks for the issue! We use this issue tracker exclusively for bug reports and feature requests for the Ionic CLI. It appears that...
Read more >
Check platform.ready() is not on Capacitor app - Stack Overflow
If you don't want to use Ionic, then you can't use platform because it's an Ionic feature. If you just want to wait...
Read more >
ionic/vue alternative of Platform.ready() from '@ionic/angular'
Even if you used Cordova plugins in Capacitor you typically do not need to wait for the deviceready event. works fine when waiting...
Read more >
Using Cordova Plugins and Ionic Native - Capacitor
Some Cordova plugins don't work with Capacitor or Capacitor provides a conflicting alternative. See here for details and a known incompatibility list. Edit...
Read more >
How to make Ionic apps in React Using Capacitor - Enappd
Ionic introduced Capacitor for cross platform and cross framework development ... When using Cordova, you need to wait until the device is ready...
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