×

Ionic Splash Screen

The Apache Cordova plugin helps to displays and hides a splash screen during the application launch. The Ionic Splash Screen is similar to a home page on a website. The ionic splash screen is a graphical control element. It consists of a window containing a picture, a logo, and the latest version of the software. The Splash Screen usually appears when a game or application is launched. It is displayed when the app and other objects are loaded. A splash screen can cover the full screen or webpage, or it can be just a rectangular near the center of the page.

The Mobile application must have the icon, image, and splash screen. The Ionic framework provides an easy way to add a splash screen, in which the developer needs minimal work to display the splash screen. In this topic, we are going to discuss the ionic splash screen. Here, you will see step by step all the processes of the ionic splash screen in the ionic application.

Step 1: Firstly, create a new project in the ionic application. It also makes sure that you have installed the latest version of the ionic.

Step 2. After the installation of the latest version of the ionic framework, you are required to select a blank template from the various templates. After this process, run the following commands to install the Cordova geolocation plugin in the ionic application.

$ cd myapp
 $ ionic cordova plugin add cordova-plugin-splashscreen
 $ npm install @ionic-native/splash-screen 

Step 3: To take benefits of Apache Cordova’s splash screen plugin in the application, you are required to run the below command.

Cordova plugin add org.apache.cordova.splashscreen

Step 4: In this step, you need to write the below code to the config.xml file. After running this code, the app displays a splash screen on the application launch only for 3 seconds.

<preference name=“SplashScreen” value=“splash” />
 <preference name=“SplashScreenDelay” value=“3000” /> 

Step 5: In this step, you are required to include the icons and images to the project. You can get the splash screen images and icons in the resource folder of the project.

These are many splash screen sizes available in the ionic application. Some of them are as follow:

S.No Platforms Orientation Resolution
1. Android MDPI Landscape 480×320
2. Android MDPI Portrait 320×480
3. Android HDPI Landscape 800×480
4. Android HDPI Portrait 480×800
5. Android XHDPI Landscape 1280×720
6. Android XHDPI Portrait 720×1280
7. iPhone Retina Portrait 640×960
8. iPhone Portrait 320×480
9. iPad Retina Portrait 1536×2048
10. iPad Portrait 768×1024
11. iPad Retina Landscape 2048×1536
12. iPad Landscape 1024×768

Related Topics

Ionic Radio

Ionic Radio The radio button is the type of input component that has a Boolean value. The Ionic radio button has a different pattern on every platform, as well as other Ionic components....

2 minutes read.

Ionic vs Xamarin

Ionic vs Xamarin Ionic and Xamarin are both the most popular frameworks used to develop a hybrid mobile application. Both frameworks are used in large enterprises by the developers. Here, we will discuss the...

4 minutes read.

Ionic Input

Ionic Input Inputs are necessary to collect and process user inputs securely. To be easy for users to communicate, they must follow the process and communication guidelines for each platform. It is a...

3 minutes read.

Ionic Loading

The ionic loader is an overlay that can be used to indicate activity, the user interaction while blocking. The ionic loader shows on the top of the app content, and it can...

5 minutes read.

Ionic Popover

The Ionic popover is a small dialog box that displays at the top of the screen. It can be used for anything, but it is usually used for a button, an action,...

4 minutes read.

Ionic Alert

Ionic Alert An Alert is a dialog box that presents the users with important information, or it stores the data from the user by using the inputs. Alerts are a great way to provide...

5 minutes read.

Ionic Tutorial for Beginners

What is Ionic? Ionic is an open-source framework that is used for the development of mobile applications. It is also used to build android applications, iOS, applications, desktop applications, and web applications using web...

4 minutes read.

Ionic Spinner

The ionic spinner component provides the various SVG (Scalable Vector Graphic) spinners. Ionic spinners are the visual indicators that display the app which is loading content or performing another process that the user...

5 minutes read.

Ionic Grid

The Ionic grid is a very powerful mobile-first flexbox system for building the custom layouts. It is a CSS feature supported by all devices that ionic supports. The Ionic grid is composed of...

11 minutes read.

Ionic Date Time

Ionic Date Time The DateTime component is used to display an interface that makes it simple for users to select dates and times. Tapping on <ion-datetime> will display a slider up from the...

4 minutes read.

Ionic Range

The Range slider lets users choose from a range of values by moving the slider knob. You can accept two knobs, but by default, one-knob controls the range value. Range labels You can put down on...

2 minutes read.

Ionic framework Installation

Installation of Ionic Before proceeding with the ionic application, you'll need to install node.js and NPM (Node Package Manager), the code editor, and Ionic CLI. Installation of node.js and NPM These are the primary...

5 minutes read.

Difference between Ionic 4 and Ionic 3

The ionic framework is an open-source platform that is used to develop mobile applications. It is also used to build android applications, desktop applications, iOS, and web applications using web technologies like HTML,...

5 minutes read.

History of Ionic

It is a complete open-source platform for hybrid mobile application development created by Ben Sperry, Max Lynch, and Adam Bradley of Drifty Co. in 2013. The first alpha version of the framework was...

2 minutes read.

Ionic Splash Screen

The Apache Cordova plugin helps to displays and hides a splash screen during the application launch. The Ionic Splash Screen is similar to a home page on a website. The ionic splash...

2 minutes read.

Ionic Modal

Ionic modal is displayed as a temporary UI that slides into the screen. The ionic modal is a dialog box that is displayed at the top of the app’s content, and it...

5 minutes read.

Ionic vs React Native

Ionic Vs React Native Ionic and React Native are both common framework which is used to develop mobile applications. Here, you will know about the popular differences between the ionic and the React Native. Ionic Ionic...

3 minutes read.

Ionic Navigation and Routing

The latest version (ionic 4) of the ionic framework, no longer limited to the angular. In Ionic 4, you can create an ionic project in different front-end frameworks such as Vue.js, React.js, and...

6 minutes read.

Ionic-fab Button

Ionic-fab Button The Ionic FABs (Floating Action Buttons) are standard material design compounds. It is a container element that contains one or more fab buttons. They are required to be placed in a fixed position,...

2 minutes read.

Ionic Slides

The ionic slides component is the multi-section container. You can swipe or drag any segment between them. This contains any number of slides components. Slides help it easy to make galleries, tutorials, and...

2 minutes read.