How to Disable Splash Screen or Removing or reduce splash screen?


#1

how to hide splash screen in ionic 2 or remove or reduce delay loading…Any one have solution for this. My clients is been irritating for this problem.


#2

Build project with --prod argument ?
More infos here : https://ionicframework.com/docs/cli/cordova/build/


#3

yeah done with that too.Getting Errors.

D:\Reddy\DigitalSignature>ionic cordova build android --prod
Running app-scripts build: --prod --platform android --target cordova
[15:21:04] build prod started …
[15:21:04] clean started …
[15:21:04] clean finished in 46 ms
[15:21:04] copy started …
[15:21:05] copy finished in 1.16 s
[15:21:05] deeplinks started …
[15:21:05] deeplinks finished in 39 ms
[15:21:05] ngc started …
Error: Type SignaturePage in D:/Reddy/DigitalSignature/src/pages/signature/signa
ture.ts is part of the declarations of 2 modules: AppModule in D:/Reddy/DigitalS
ignature/src/app/app.module.ts and SignaturePageModule in D:/Reddy/DigitalSignat
ure/src/pages/signature/signature.module.ts! Please consider moving SignaturePag
e in D:/Reddy/DigitalSignature/src/pages/signature/signature.ts to a higher modu
le that imports AppModule in D:/Reddy/DigitalSignature/src/app/app.module.ts and
SignaturePageModule in D:/Reddy/DigitalSignature/src/pages/signature/signature.
module.ts. You can also create a new NgModule that exports and includes Signatur
ePage in D:/Reddy/DigitalSignature/src/pages/signature/signature.ts then import
that NgModule in AppModule in D:/Reddy/DigitalSignature/src/app/app.module.ts an
d SignaturePageModule in D:/Reddy/DigitalSignature/src/pages/signature/signature
.module.ts.
at Error (native)
at syntaxError (D:\Reddy\DigitalSignature\node_modules@angular\compiler\bun
dles\compiler.umd.js:1729:34)
at CompileMetadataResolver.addTypeToModule (D:\Reddy\DigitalSignature\node
modules@angular\compiler\bundles\compiler.umd.js:15733:31)
at D:\Reddy\DigitalSignature\node_modules@angular\compiler\bundles\compiler
.umd.js:15621:27
at Array.forEach (native)
at CompileMetadataResolver.getNgModuleMetadata (D:\Reddy\DigitalSignature\no
de_modules@angular\compiler\bundles\compiler.umd.js:15612:54)
at addNgModule (D:\Reddy\DigitalSignature\node_modules@angular\compiler\bun
dles\compiler.umd.js:24408:58)
at D:\Reddy\DigitalSignature\node_modules@angular\compiler\bundles\compiler
.umd.js:24419:14
at Array.forEach (native)
at _createNgModules (D:\Reddy\DigitalSignature\node_modules@angular\compile


#4

I also have these type of error when ngc started happen, with ng2-validation. I never find any solutions. To avoid that I upgraded to Ionic 3.
in your case try use node version 8.9.1


#5

Ohh Okay.Can you please suggest me how to upgrade to ionic 3? I’m Using v6.10.0.


#6

First I recommend you to try Node 8.9.1
If not working, try to upgrade Ionic3, I start a new blank project from Ionic and update all packages with https://www.npmjs.com/package/npm-check-updates (ncu to check updates, ncu -u to apply update, after execute npm install)
Then try ionic serve, and “re-import” your Ionic 2 project in new Ionic 3 project.


#7

What is your ionic info output?

You should also search the forum for this error message. It has appeared so many times and been solved as often as well.


#8

Tried all of them,but doesnt seems work.