I have a mobile application in ionic and have uploaded it in playstore. Now I want to host it in a website. How do i do that with ionic 4 and mysql?
I have tried visiting the ionic documentation about PWA but they are using firebase.
ng add #angular/pwa
ionic build --prod --service-worker
ionic build --prod
if you not need Cordova use:
npm run ionic:build --prod
and copy all from the www folder to your Web Server
or if you need Cordova
then Use Browser Platform for websites.
ionic cordova platform add browser
ionic cordova build browser --prod --release
and copy all from the /platforms/browser/www folder to your Web Server
I am testing my ionic application using the ionic Dev app in android. After updating ionic to the newest version, ionic dev app is not detecting the application though it detected earlier. Is it a problem with the ionic cli version? How can I solve this?
I am trying to create a new Ionic Project it is displaying No browser in the Ionic serve command.
The Image 1 Shows the Info of the Ionic
The Issue where I click Ionic serve it is just displaying "No browser" it is not opening the chrome
Please Run This:
npm run ionic:serve --verbose
From your ionic root folder, it works for me...
I'm developing an ionic v2 app but even working on ionic lab it gets a complete white screen on the ionic view. If I do the same withe the ionic v1 it works.
ionic start sample --v2
cd sample
ionic lab
ionic upload
It shows white but
ionic start sample
cd sample
ionic lab
ionic upload
It works perfectly. No changes on the code at all
Thanks
ionic 2 needs at least 4.4 android to work, lost a lot of time on this and there is nothing on the ionic website informing about that. Writing down here to help anyone in the future.
Ionic v2 supports android 4.4 and up. The older browser on pre-4.4 devices do not have the features needed for ionic2 and angular 2 to work. Though this can be fixed with crosswalk.
The supported platforms are list here:
http://ionicframework.com/docs/overview/#browser-support
You can go back to 4.1 with crosswalk it states.
ionic 2 needs at least 4.4 android to work,.. for more info debug app in chrome.
from ionic 2 Ionic officially stops to use ionic lab.
You can run and test your app in browser using command "ionic serve".
Ionic2 app was initially created with --v2 flag but now they removed it . So nothing happens with --v2
Better way to solve the code 1st time by running directly into android devices by
Ionic cordova run android or
Ionic run android
Then connect your device with your system and open chrome and enter chrome://inspect to the url
Now you can console log the the error and can find the way of solutions.
Now try to run by ionic view
Remove the platform and then add it again.
please try eionic start sample --type=ionic-angular
After installing app in android phone ,this cordova image is splashing before app start , anyone have an idea how to remove this ???
Add splash and app icon in Ionic Apps