Socket
Book a DemoInstallSign in
Socket

cordova-plugin-animated-splashscreen

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cordova-plugin-animated-splashscreen

Cordova Animated Splashscreen Plugin

Source
npmnpm
Version
1.0.4
Version published
Weekly downloads
3
50%
Maintainers
1
Weekly downloads
 
Created
Source

cordova-plugin-animated-splashscreen

Animated Splash Screen Plugin

Based on cordova-custom-config plugin and cordova-plugin-splashscreen

  • Animation based on changing images one-by-one. Created animation slides and place to the resourses directory
  • Update config.xml file (listed below)
  • API is the same as in cordova-plugin-splashscreen

###Add to config.xml: ####Common: Duration in seconds

<preference name="AnimatedSplashScreenAnimationDuration" value="5" />

Disable original splashscreen plugin, it's not needed

<preference name="SplashScreen" value="false" />

Repeat count

0 - no repeat

<preference name="AnimatedSplashScreenAnimationRepeatCount" value="0" />

####iOS

IOS Images Order:

<preference name="AnimatedSplashScreenIosImages" value="animated-1.png,animated-2.png,animated-3.png,animated-4.png,animated-5.png" />

...

IOS Images paths:

<platform name="ios">

...

<custom-resource catalog="animated-1" idiom="universal" scale="1x" src="resources/ios/splash/animated-1.png" type="image" />

<custom-resource catalog="animated-2" idiom="universal" scale="1x" src="resources/ios/splash/animated-2.png" type="image" />

...</platform> ` ####Android

Android Images Order:

<preference name="AnimatedSplashScreenAndroidImages" value="animated1,animated2,animated3,animated4,animated5" />

...

Android Images paths:

<platform name="android">

...

<resource-file src="resources/android/splash/animated-1.png" target="app/src/main/res/drawable/animated1.png" /> <resource-file src="resources/android/splash/animated-2.png" target="app/src/main/res/drawable/animated2.png" />

...</platform>

Android not ready yet

What's new

  • 1.0.0 - initial code, added iOS support
  • 1.0.1 - added config params, updated iOS platform
  • 1.0.2 - added Android source
  • 1.0.4 - optimized Android source

Keywords

cordova

FAQs

Package last updated on 01 Jun 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts