How do you update the iOS & Android app version in Ionic w/ Capacitor?

So, Capacitor is neat! The android and ios configs are actually committed to source control. To update version number, simply update the following files: Android – android/app/build.gradle (you’re looking for the versionName variable) iOS – ios/App/App/Info.plist *(you’re looking for the CFBundleShortVersionString key)

whats the correct way of inserting label in an Ionic FAB list

For what it’s worth, I was able to accomplish what you ask with the following SCSS. It’d be nice if this was supported directly by Ionic, but I can’t find anything indicating this is built-in. button[ion-fab] { overflow: visible; position: relative; ion-label { position: absolute; top: -8px; right: 40px; color: white; background-color: rgba(0,0,0,0.7); line-height: 24px; … Read more

ionic serve displays multiple addresses and I chose wrong one…How to change address that ionic serve uses?

You can use the ionic address command to update the selected address, which is available from Ionic 1.2.3. Also, there is a file called ionic.config which you can modify with this setting. On Mac/ubuntu this file is at ~/.ionic. On a PC it can be found at c:/users/username/.ionic. Inside you’ll see something like this which … Read more

Remove ion item divider

This is for ionic 2 and 3. Please refer to this answer for higher versions of ionic use no-lines <ion-row ion-list> <ion-col width-25 *ngFor=”let player of players”> <ion-item no-lines color=”dark”><!– here –> <ion-avatar item-left> <img [src]=”photo” class=”img img-circle”/> </ion-avatar> {{user.name}} </ion-item> </ion-col> </ion-row>

Pass a controller to $ionicModal

Just add the controller you want to use in the body of the html of the modal. I created a fiddle to show you an example based off the one provided in the ionic docs: http://jsfiddle.net/g6pdkfL8/ But basically: <– template for the modal window –> <ion-modal-view> <ion-content ng-controller=”ModalController”> … </ion-content> <ion-modal-view>

Ionic 5 – How to replace default icon and splash screen image and generate resources

Automatic icon and splash screen resizing CLI tool for Capacitor based applications. It automatically resizes and copies your icon.png and splash.png files to platform dedicated directories. It does NOT require any external binary libraries. Javascript only. Installation $ npm install capacitor-resources -g Usage Required files Add your icon.png (1024×1024 px) and splash.png (2732×2732 px) files … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)