android

Ionic 5 – ion-row vertical center

Table of Contents

Code Snippet

				
					// your.scss

/* VERTICAL ROW CENTER */
ion-grid {
  height: 100%;
}

ion-row {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

// if you have to adjust your content use this code below
.stat-badge {
  top: -10px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

				
			

Thats it so far have fun

Ionic 5 – Develop for Android

Table of Contents

Source

Installing & Run

Deploy for Android

				
					ionic build				// build if never built
ionic cap add android	// add android support if not added while start
ionic cap copy			// Builds and Copy Web Assets to Capacitor native platform
ionic cap sync			// update Project Data
ionic cap open android  // opens Project in Android Studio
				
			

Debug

				
					adb devices             //checks android device connection
				
			

Livereload

				
					ionic capacitor copy android
ionic capacitor run android -l --external
				
			

Thats it so far have fun