Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70432

Cordova add browser automatic confirm

$
0
0

@Ponchia wrote:

Hello everyone, because of this issue I’m updating my ionic

I was using ionic cordova platform add browser to generate my browser platform

The problem is that after the updates it asks for confirmation:

[WARN] About to add the browser platform to your app.
       
       The browser Cordova platform is not recommended for production use.
       
       Instead, we recommend using platform detection and browser APIs to target web/PWA. See the Cross Platform docs[1]
       for details.
       
       Alternatively, ⚡️ Capacitor ⚡️ (https://ion.link/capacitor), Ionic's official native runtime, fully supports
       traditional web and Progressive Web Apps. See the Capacitor docs[2] to learn how easy it is to migrate.
       
       [1]: https://ion.link/cross-platform-docs
       [2]: https://ion.link/capacitor-cordova-migration-docs
       
? Are you sure you want to continue? (Y/n)

The problem is that I build and deploy this using gitlab CD/CI and at the current moment I found no solution to automatically answer Y to the script

I tried using: yes Y | ionic cordova platform add browser but with no luck

Any suggestion?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70432

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>