npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

cordova-plugin-animated-splashscreen-excprotection

v1.0.1

Published

Cordova Animated Splashscreen Plugin

Downloads

5

Readme

cordova-plugin-animated-splashscreen-excprotection

Animated Splash Screen Plugin This Plugin is the real plugin cordova-plugin-animated-splashscreen i just do som edit on it Based on cordova-custom-config plugin and cordova-plugin-splashscreen

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

Installation

// npm hosted (new) id cordova plugin add cordova-plugin-animated-splashscreen-excprotection

// you may also install directly from this repo cordova plugin add https://github.com/kitolog/cordova-plugin-animated-splashscreen-excprotection

Setup:

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="none" />

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

Time For Each Image in confige.xml <preference name="AnimatedSplashScreenAndroidTimeoutValue" value="120" />

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-port-xxxhdpi/animated1.png" /> <resource-file src="resources/android/splash/animated-2.png" target="app/src/main/res/drawable-port-xxxhdpi/animated2.png" />

...</platform>

NOTE: Android screen sizes:

(in example code, image has 1920 x 1280 px size, so it should be placed to drawable-port-xxxhdpi)

LDPI:

  • Portrait: 200 x 320 px
  • Landscape: 320 x 200 px

MDPI:

  • Portrait: 320 x 480 px
  • Landscape: 480 x 320 px

HDPI:

  • Portrait: 480 x 800 px
  • Landscape: 800 x 480 px

XHDPI:

  • Portrait: 720 x 1280 px
  • Landscape: 1280 x 720 px

XXHDPI:

  • Portrait: 960 x 1600 px
  • Landscape: 1600 x 960 px

XXXHDPI:

  • Portrait: 1280 x 1920 px
  • Landscape: 1920 x 1280 px