Skip to main content

Posts

Why white screen stuck after splash screen in ionic 4?

With using blow mention configuration <preference name="AutoHideSplashScreen" value="false" /> <preference name="SplashScreenDelay" value="10000" /> <preference name="FadeSplashScreenDuration" value="1000" /> <preference name="SplashScreen" value="screen" /> <preference name="ShowSplashScreen" value="true" /> <preference name="ShowSplashScreenSpinner" value="false" /> <preference name="SplashShowOnlyFirstTime" value="false" /> <preference name="FadeSplashScreen" value="true" /> Another Way Found solution. Problem was in  cordova-plugin-android-permissions . On android 6+ (maybe android 5 too, I don’t have it on my devices) user should accept permissions manually. In application permissions request looks like alert view. And this alert automatically stops spla...

how to install cordova in ionic

To install Cordova and Ionic, use  - npm install -g cordova ionic .  Make sure to install the latest version of JDK and Android Studio IDE for Android development. To create a new project, use   - ionic start projectname template . Inside the project folder, you can add Android/iOS platform based on your development using the command  - ionic cordova platform add android .  for add  particular  android version means  example                                                        ionic cordova platform add android@6.4.0 After these code changes are done, you can generate the required .apk file with the command   - ionic cordova build android . Once the .apk file is generated successfully, you deploy the file on a real device and do the testing, or you can tes...

how to set apache maven path in environment variables

Download Apache Maven version 3 and save it on your local machine. Extract the file you just downloaded using your preferred archive extraction tool. Select your operating system below to add the bin directory of the created directory apache-maven-3.5.0 to the PATH environment variable Windows 7:  Right click My Computer and select Properties.  Windows 8 and 10:  Go to Control Panel > System > Advanced System Settings On the Advanced tab, select Environment Variables, and then find a Systems Variable called  Path  and add to it the path for your \bin file, for example  C:\Program Files\apache-maven-3.5.0\bin .  Check you have set the variable correctly by opening up command prompt (run + cmd) and typing  mvn -version . The output should show your Maven version. For Ubuntu  1.Open the command terminal and enter the following $ export M2_HOME=/usr/local/apache-maven/apache-maven-3.3.9 $ export M2=$M2_HOME/bin $ ex...