From 61e353f5496a438af93b58e3a3c3aa9db86d7745 Mon Sep 17 00:00:00 2001 From: Jan Piotrowski Date: Mon, 6 May 2019 18:27:08 +0200 Subject: [PATCH] Improve README (#198) * fix indentation * add TOC * fix more indentation and remove JIRA link * apply changes from https://github.com/apache/cordova-plugin-splashscreen/pull/98 via @RobPosener * add headline, resort * remove outdated README translations * remove outdated test README translations as well * rework introduction * optimize caPiTaLiZatiOn * fix * remove diff to native splash --- README.md | 318 ++++++++++++++++++++----------------- doc/de/README.md | 119 -------------- doc/de/index.md | 78 --------- doc/es/README.md | 119 -------------- doc/es/index.md | 76 --------- doc/fr/README.md | 119 -------------- doc/fr/index.md | 78 --------- doc/it/README.md | 119 -------------- doc/it/index.md | 78 --------- doc/ja/README.md | 119 -------------- doc/ja/index.md | 78 --------- doc/ko/README.md | 119 -------------- doc/ko/index.md | 78 --------- doc/pl/README.md | 119 -------------- doc/pl/index.md | 78 --------- doc/ru/index.md | 75 --------- doc/zh/README.md | 119 -------------- doc/zh/index.md | 78 --------- tests/ios/doc/de/README.md | 39 ----- tests/ios/doc/es/README.md | 39 ----- tests/ios/doc/fr/README.md | 39 ----- tests/ios/doc/it/README.md | 39 ----- tests/ios/doc/ja/README.md | 39 ----- tests/ios/doc/ko/README.md | 39 ----- tests/ios/doc/pl/README.md | 39 ----- tests/ios/doc/zh/README.md | 39 ----- 26 files changed, 171 insertions(+), 2108 deletions(-) delete mode 100644 doc/de/README.md delete mode 100644 doc/de/index.md delete mode 100644 doc/es/README.md delete mode 100644 doc/es/index.md delete mode 100644 doc/fr/README.md delete mode 100644 doc/fr/index.md delete mode 100644 doc/it/README.md delete mode 100644 doc/it/index.md delete mode 100644 doc/ja/README.md delete mode 100644 doc/ja/index.md delete mode 100644 doc/ko/README.md delete mode 100644 doc/ko/index.md delete mode 100644 doc/pl/README.md delete mode 100644 doc/pl/index.md delete mode 100644 doc/ru/index.md delete mode 100644 doc/zh/README.md delete mode 100644 doc/zh/index.md delete mode 100644 tests/ios/doc/de/README.md delete mode 100644 tests/ios/doc/es/README.md delete mode 100644 tests/ios/doc/fr/README.md delete mode 100644 tests/ios/doc/it/README.md delete mode 100644 tests/ios/doc/ja/README.md delete mode 100644 tests/ios/doc/ko/README.md delete mode 100644 tests/ios/doc/pl/README.md delete mode 100644 tests/ios/doc/zh/README.md diff --git a/README.md b/README.md index 13fb5a27..d377a76f 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,24 @@ description: Control the splash screen for your app. # cordova-plugin-splashscreen -This plugin is required to work with splash screens. This plugin displays and hides a splash screen during application launch. +This plugin displays and hides a splash screen while your web application is launching. Using its methods you can also show and hide the splash screen manually. + +- [Installation](#installation) +- [Supported Platforms](#supported-platforms) +- [Platform Splash Screen Image Configuration](#platform-splash-screen-image-configuration) + * [Example Configuration](#example-configuration) + * [iOS-specific Information](#ios-specific-information) + * [Windows-specific Information](#windows-specific-information) +- [Preferences](#preferences) + * [config.xml](#configxml) + * [Quirks](#quirks) + + [Android Quirks](#android-quirks) + + [Browser Quirks](#browser-quirks) + + [iOS Quirks](#ios-quirks) + + [Windows Quirks](#windows-quirks) +- [Methods](#methods) + * [splashscreen.hide](#splashscreenhide) + * [splashscreen.show](#splashscreenshow) ## Installation @@ -41,12 +58,96 @@ This plugin is required to work with splash screens. This plugin displays and hi - Android - iOS -- Windows (`cordova-windows` version >= 4.4.0 is required) +- Windows (`cordova-windows` version >= 4.4.0 is required) + __Note__: Extended splashscreen does not require the plugin on Windows (as opposed to Android and iOS) in case you don't use the plugin API, i.e. programmatic hide/show. - Browser -__Note__: Extended splashscreen does not require the plugin on Windows (as opposed to Android and iOS) in case you don't use the plugin API, i.e. programmatic hide/show. +## Platform Splash Screen Image Configuration -### iOS-specific information +### Example Configuration + +In the top-level `config.xml` file (not the one in `platforms`), add configuration elements like those specified here. + +The value of the "src" attribute is relative to the project root directory and NOT to the `www` directory (see `Directory structure` below). You can name the source image file whatever you like. The internal name in the application is automatically determined by Cordova. + +Directory structure: + +``` +projectRoot + hooks + platforms + plugins + www + css + img + js + res + screen + android + ios + windows +``` + +```xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +``` + +### iOS-specific Information There are two mechanisms for displaying a launch screen on iOS: @@ -247,11 +348,12 @@ The above looks like the following in `config.xml`: 3. **`anyany` must be provided for other variations to be used** If you don't provide an `anyany` version of the launch image for a specific scale and idiom, the other variations (like `anycom`, `comany`, and `comcom`) will ignored. -## Windows-specific information +### Windows-specific Information Splash screen images can be defined using the [MRT](https://cordova.apache.org/docs/en/dev/config_ref/images.html#windows) concept. -If you specify src="res/windows/splashscreen.png" the following files will be copied into the application's images folder: +If you specify `src="res/windows/splashscreen.png"` the following files will be copied into the application's images folder: `res/windows/splashscreen.png` | `res/windows/splashscreen.scale-100.png`, `res/windows/splashscreen.scale-125.png`, etc. + The following are supported: | Scale, % | Project | Width | Height | Filename | @@ -271,154 +373,78 @@ __Note__: SplashScreens size for Windows 10 project should not exceed 200 KBytes __Note__: Supported formats are `.png`, `.jpg`, `.jpeg`. Mixing of the extensions within a target is not supported. I.e. you can have `splashscreen.jpg` and `splashscreenphone.png` but not `splashscreen.scale-100.png`, `splashscreen.scale-400.jpg`. __Note__: You may need to reopen Visual Studio solution after changing the images and doing a `cordova prepare` for the changes to take effect. -## Example Configuration -In the top-level `config.xml` file (not the one in `platforms`), add configuration elements like those specified here. - -Please notice that the value of the "src" attribute is relative to the project root directory and not to the www directory (see `Directory structure` below). You can name the source image whatever you like. The internal name in the app is determined by Cordova. - -Directory structure: - -``` -projectRoot - hooks - platforms - plugins - www - css - img - js - res - screen - android - ios - windows -``` - -```xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -``` - ## Preferences -#### config.xml +### config.xml -- `AutoHideSplashScreen` (boolean, default to `true`). Indicates whether to hide splash screen automatically or not. Splash screen hidden after amount of time specified in the `SplashScreenDelay` preference. +- `AutoHideSplashScreen` (boolean, default to `true`). Indicates whether to hide splash screen automatically or not. The splash screen is hidden after the amount of time specified in the `SplashScreenDelay` preference. -```xml + ```xml -``` + ``` - `SplashScreenDelay` (number, default to 3000). Amount of time in milliseconds to wait before automatically hide splash screen. -```xml + ```xml -``` + ``` -Note also that this value used to be seconds, and not milliseconds, so values less than 30 will still be treated as seconds. ( Consider this a deprecated patch that will disapear in some future version. ) + This value used to be in seconds (but is now milliseconds) so values less than 30 will continue to be treated as seconds. (Consider this a deprecated patch that will disapear in some future version.) -To disable the splashscreen add the following preference to `config.xml`: -```xml - -``` + To disable the splashscreen add the following preference to `config.xml`: + ```xml + + ``` -**Windows Quirk**: You should disable the splashscreen in case you are updating the entire document body dynamically (f.e. with a SPA router) to avoid affecting UI/controls. -Note that you should also directly reference `WinJS/base.js` in the page HTML in this case to avoid the issues with activation context ([CB-11658](https://issues.apache.org/jira/browse/CB-11658)). + **Windows Quirk**: You should disable the splashscreen in case you are updating the entire document body dynamically (f.e. with a SPA router) to avoid affecting UI/controls. + Note that you should also directly reference `WinJS/base.js` in the page HTML in this case to avoid the issues with activation context ([CB-11658](https://issues.apache.org/jira/browse/CB-11658)). -**iOS Quirk**: to disable the splashscreen on `ios` platform you should also add `` to `config.xml`. + **iOS Quirk**: to disable the splashscreen on `ios` platform you should also add `` to `config.xml`. - `FadeSplashScreen` (boolean, defaults to `true`): Set to `false` to prevent the splash screen from fading in and out when its display state changes. -```xml + ```xml -``` + ``` - `FadeSplashScreenDuration` (float, defaults to `500`): Specifies the number of milliseconds for the splash screen fade effect to execute. -```xml + ```xml -``` + ``` -_Note_: `FadeSplashScreenDuration` is included into `SplashScreenDelay`, for example if you have `` and `` defined in `config.xml`: + _Note_: `FadeSplashScreenDuration` is included into `SplashScreenDelay`, for example if you have `` and `` defined in `config.xml`: -- 00:00 - splashscreen is shown -- 00:02 - fading has started -- 00:03 - splashscreen is hidden + - 00:00 - splashscreen is shown + - 00:02 - fading has started + - 00:03 - splashscreen is hidden -Turning the fading off via `` technically means fading duration to be `0` so that in this example the overall splash delay will still be 3 seconds. + Turning the fading off via `` technically means fading duration to be `0` so that in this example the overall splash screen delay will still be 3 seconds. -_Note_: This only applies to the app startup - you need to take the fading timeout into account when manually showing/hiding the splashscreen in the code: + _Note_: This only applies to the application startup - you need to take the fading timeout into account when manually showing/hiding the splash screen in your application's code: -```javascript -navigator.splashscreen.show(); -window.setTimeout(function () { - navigator.splashscreen.hide(); -}, splashDuration - fadeDuration); -``` + ```javascript + navigator.splashscreen.show(); + window.setTimeout(function () { + navigator.splashscreen.hide(); + }, splashDuration - fadeDuration); + ``` - `ShowSplashScreenSpinner` (boolean, defaults to `true`): Set to `false` - to hide the splash-screen spinner. + to hide the splash screen spinner. -```xml + ```xml -``` + ``` + + _Note_: Does not work on Browser or Windows platforms. + +### Quirks -### Android Quirks +#### Android Quirks In your `config.xml`, you can add the following preferences: @@ -428,15 +454,15 @@ In your `config.xml`, you can add the following preferences: ``` -"SplashMaintainAspectRatio" preference is optional. If set to true, splash screen drawable is not stretched to fit screen, but instead simply "covers" the screen, like CSS "background-size:cover". This is very useful when splash screen images cannot be distorted in any way, for example when they contain scenery or text. This setting works best with images that have large margins (safe areas) that can be safely cropped on screens with different aspect ratios. +`SplashMaintainAspectRatio` preference is optional. If set to `true`, the splash screen drawable is not stretched to fit the full screen, but instead simply "covers" the screen, like CSS "background-size:cover". This is very useful when splash screen images cannot be distorted in any way, for example when they contain scenery or text. This setting works best with images that have large margins (safe areas) that can be safely cropped on screens with different aspect ratios. -The plugin reloads splash drawable whenever orientation changes, so you can specify different drawables for portrait and landscape orientations. +The splash screen plugin reloads the splash screen whenever the orientation changes so that you can specify different splash screen images for portrait and landscape orientations. -"SplashShowOnlyFirstTime" preference is also optional and defaults to `true`. When set to `true` splash screen will only appear on application launch. However, if you plan to use `navigator.app.exitApp()` to close application and force splash screen appear on next launch, you should set this property to `false` (this also applies to closing the App with Back button). +`SplashShowOnlyFirstTime` preference is optional and defaults to `true`. When set to `true` the splash screen will only appear on application launch. However, if you plan to use `navigator.app.exitApp()` to close the application and force the splash screen appear on the application's next launch, you should set this property to `false` (this also applies to closing the application with the Back button). -"SplashScreenSpinnerColor" preference is also optional and is ignored when not set. Setting it to a valid color name or HEX color code will change the color of the spinner on Android 5.0+ devices. +`SplashScreenSpinnerColor` preference is also optional and is ignored when not set. Setting it to a valid color name or HEX color code will change the color of the spinner on Android 5.0+ devices. -### Browser Quirks +#### Browser Quirks You can use the following preferences in your `config.xml`: @@ -454,32 +480,32 @@ You can use the following preferences in your `config.xml`: __Note__: `SplashScreen` value should be absolute in order to work in a sub-page. The `SplashScreen` value is used only for the browser platform. The value will be ignored for other platforms. -### iOS Quirks +#### iOS Quirks -- In iOS, the splashscreen images are called launch images. These images are mandatory on iOS. +- In iOS, the splash screen images are called launch images. These images are mandatory on iOS. -### Windows Quirks +#### Windows Quirks - `SplashScreenSpinnerColor` (string, defaults to system accent color): hash, rgb notation or CSS color name. -```xml - - - -``` + ```xml + + + + ``` - `SplashScreenBackgroundColor` (string, defaults to #464646): hex notation. -```xml - -``` + ```xml + + ``` ## Methods - splashscreen.show - splashscreen.hide -## splashscreen.hide +### splashscreen.hide Dismiss the splash screen. @@ -488,7 +514,7 @@ navigator.splashscreen.hide(); ``` -### iOS Quirk +#### iOS Quirk The `config.xml` file's `AutoHideSplashScreen` setting must be `false`. To delay hiding the splash screen for two seconds, add a @@ -500,7 +526,7 @@ setTimeout(function() { }, 2000); ``` -## splashscreen.show +### splashscreen.show Displays the splash screen. @@ -508,13 +534,11 @@ Displays the splash screen. navigator.splashscreen.show(); ``` -Your application cannot call `navigator.splashscreen.show()` until the app has +Your application cannot call `navigator.splashscreen.show()` until the application has started and the `deviceready` event has fired. But since typically the splash -screen is meant to be visible before your app has started, that would seem to -defeat the purpose of the splash screen. Providing some configuration in +screen is meant to be visible before your application has started, that would seem to +defeat the purpose of the splash screen. Providing any parameters in `config.xml` will automatically `show` the splash screen immediately after your -app launch and before it has fully started and received the `deviceready` -event. For this reason, it is unlikely you need to call `navigator.splashscreen.show()` to make the splash -screen visible for app startup. - -[Apache Cordova issue tracker]: https://issues.apache.org/jira/issues/?jql=project%20%3D%20CB%20AND%20status%20in%20%28Open%2C%20%22In%20Progress%22%2C%20Reopened%29%20AND%20resolution%20%3D%20Unresolved%20AND%20component%20%3D%20%22Plugin%20Splashscreen%22%20ORDER%20BY%20priority%20DESC%2C%20summary%20ASC%2C%20updatedDate%20DESC +application is launched and before it has fully started and received the `deviceready` +event. For this reason, it is unlikely you will need to call `navigator.splashscreen.show()` to make the splash +screen visible for application startup. diff --git a/doc/de/README.md b/doc/de/README.md deleted file mode 100644 index f876eff8..00000000 --- a/doc/de/README.md +++ /dev/null @@ -1,119 +0,0 @@ - - -# cordova-plugin-splashscreen - -[![Build Status](https://travis-ci.org/apache/cordova-plugin-splashscreen.svg)](https://travis-ci.org/apache/cordova-plugin-splashscreen) - -Dieses Plugin zeigt und verbirgt einen Splash-Screen beim Start der Anwendung. - -## Installation - - // npm hosted (new) id - cordova plugin add cordova-plugin-splashscreen - // you may also install directly from this repo - cordova plugin add https://github.com/apache/cordova-plugin-splashscreen.git - - -## Unterstützte Plattformen - - * Amazon Fire OS - * Android - * BlackBerry 10 - * iOS - * Windows Phone 7 und 8 - * Windows 8 - * Windows - * Browser - -## Methoden - - * SplashScreen.Show - * SplashScreen.Hide - -### Android Eigenarten - -Sie müssen in Ihrem `"config.xml"`fügen Sie die folgenden Einstellungen: - - - - - - -Wo Foo ist der Name der Datei Splashscreen, vorzugsweise eine 9-Patch-Datei. Stellen Sie sicher, Splashcreen Dateien zu Ihrem res/xml-Verzeichnis unter den entsprechenden Ordnern hinzuzufügen. Der zweite Parameter stellt dar, wie lange das Splashscreen in Millisekunden angezeigt werden. Es wird standardmäßig auf 3000 ms. Weitere Informationen finden Sie unter [Symbole und Splash-Screens](http://cordova.apache.org/docs/en/edge/config_ref_images.md.html). - -"SplashMaintainAspectRatio" Präferenz ist optional. Wenn wahr, Splash-Screen zeichenbaren nicht gestreckt wird, um den Bildschirm passen, sondern stattdessen einfach "" den Bildschirm, wie CSS abdeckt "Hintergrund-Größe: Schutz vor". Dies ist sehr nützlich, wenn Splash-Bildschirm Bilder können nicht, in keiner Weise, zum Beispiel verzerrt werden wenn sie Landschaft oder Text enthalten. Diese Einstellung funktioniert am besten mit Bildern, die große Margen (sichere Bereiche) haben, die sicher auf Bildschirme mit unterschiedlichen Seitenverhältnissen zugeschnitten werden können. - -Das Plugin lädt platsch zeichenbaren wenn Ausrichtung ändert, sodass Sie verschiedene Drawables für hoch- und Querformat Ausrichtungen angeben können. - -### Browser-Eigenheiten - -In Ihrem `"config.xml"`können Sie die folgenden Einstellungen: - - - - - - - - - - - -### iOS Macken - - * `FadeSplashScreen` (Boolean, standardmäßig auf `true festgelegt`): um zu verhindern, dass den Begrüßungsbildschirm ein-und ausblenden bei ihrer Anzeige Statusänderungen auf `false` festgelegt. - - - - - * `FadeSplashScreenDuration` (float, Standardwert ist `2`): gibt die Anzahl der Sekunden für den Begrüßungsbildschirm fade Effekt ausgeführt. - - - - - * `ShowSplashScreenSpinner` (Boolean, standardmäßig auf `true festgelegt`): auf `false` festgelegt wird, um den Begrüßungsbildschirm Spinner auszublenden. - - - - -## SplashScreen.Hide - -Schließen Sie den Splash-Screen. - - navigator.splashscreen.hide(); - - -### BlackBerry 10, WP8, iOS Eigenarten - -Die Datei `config.xml` `AutoHideSplashScreen` Einstellung muss `false` sein. Verstecken des Begrüßungsbildschirms für zwei Sekunden Verzögerung, fügen Sie einen Timer wie die folgende in der `deviceready`-Ereignishandler: - - setTimeout(function() { - navigator.splashscreen.hide(); - }, 2000); - - -## SplashScreen.Show - -Zeigt den Begrüßungsbildschirm. - - navigator.splashscreen.show(); - - -Ihre Anwendung kann nicht `navigator.splashscreen.show()` aufrufen, bis die app begonnen hat und das `deviceready`-Ereignis ausgelöst hat. Aber da in der Regel der Splash-Screen soll sichtbar sein, bevor die Anwendung gestartet wurde, scheint die Niederlage der Zweck des Begrüßungsbildschirms. Somit einige Konfiguration in der Datei `config.xml` werden automatisch die Splash `show` sofort nach Ihrer app-Start und Bildschirm bevor es voll begonnen hat, und das `deviceready`-Ereignis empfangen. Weitere Informationen zu dieser Konfiguration finden Sie unter [Symbole und Splash-Screens](http://cordova.apache.org/docs/en/edge/config_ref_images.md.html). Aus diesem Grund ist es unwahrscheinlich, dass Sie `navigator.splashscreen.show()` damit den Splash-Screen sichtbar ist für app-Start aufrufen müssen. \ No newline at end of file diff --git a/doc/de/index.md b/doc/de/index.md deleted file mode 100644 index b9fc40d2..00000000 --- a/doc/de/index.md +++ /dev/null @@ -1,78 +0,0 @@ - - -# cordova-plugin-splashscreen - -Dieses Plugin zeigt und verbirgt einen Splash-Screen beim Start der Anwendung. - -## Installation - - cordova plugin add cordova-plugin-splashscreen - - -## Unterstützte Plattformen - -* Amazon Fire OS -* Android -* BlackBerry 10 -* iOS -* Windows Phone 7 und 8 -* Windows 8 - -## Methoden - -* SplashScreen.Show -* SplashScreen.Hide - -### Android Eigenarten - -Sie müssen in der config.xml folgende Einstellungen vornehmen: - - - - - -Wo Foo ist der Name der Datei Splashscreen, vorzugsweise eine 9-Patch-Datei. Stellen Sie sicher, Splashcreen Dateien zu Ihrem res/xml-Verzeichnis unter den entsprechenden Ordnern hinzuzufügen. Der zweite Parameter stellt dar, wie lange das Splashscreen in Millisekunden angezeigt werden. Es wird standardmäßig auf 3000 ms. Weitere Informationen finden Sie unter [Symbole und Splash-Screens][1]. - - [1]: http://cordova.apache.org/docs/en/edge/config_ref_images.md.html - -## SplashScreen.Hide - -Schließen Sie den Splash-Screen. - - navigator.splashscreen.hide(); - - -### BlackBerry 10, WP8, iOS Eigenarten - -Die Datei `config.xml` `AutoHideSplashScreen` Einstellung muss `false` sein. Verstecken des Begrüßungsbildschirms für zwei Sekunden Verzögerung, fügen Sie einen Timer wie die folgende in der `deviceready`-Ereignishandler: - - setTimeout(function() { - navigator.splashscreen.hide(); - }, 2000); - - -## SplashScreen.Show - -Zeigt den Begrüßungsbildschirm. - - navigator.splashscreen.show(); - - -Ihre Anwendung kann nicht `navigator.splashscreen.show()` aufrufen, bis die app begonnen hat und das `deviceready`-Ereignis ausgelöst hat. Aber da in der Regel der Splash-Screen soll sichtbar sein, bevor die Anwendung gestartet wurde, scheint die Niederlage der Zweck des Begrüßungsbildschirms. Somit einige Konfiguration in der Datei `config.xml` werden automatisch die Splash `show` sofort nach Ihrer app-Start und Bildschirm bevor es voll begonnen hat, und das `deviceready`-Ereignis empfangen. Weitere Informationen zu dieser Konfiguration finden Sie unter [Symbole und Splash-Screens][1]. Aus diesem Grund ist es unwahrscheinlich, dass Sie `navigator.splashscreen.show()` damit den Splash-Screen sichtbar ist für app-Start aufrufen müssen. diff --git a/doc/es/README.md b/doc/es/README.md deleted file mode 100644 index 1a94161a..00000000 --- a/doc/es/README.md +++ /dev/null @@ -1,119 +0,0 @@ - - -# cordova-plugin-splashscreen - -[![Build Status](https://travis-ci.org/apache/cordova-plugin-splashscreen.svg)](https://travis-ci.org/apache/cordova-plugin-splashscreen) - -Este plugin muestra y esconde una pantalla de bienvenida durante el inicio de la aplicación. - -## Instalación - - // npm hosted (new) id - cordova plugin add cordova-plugin-splashscreen - // you may also install directly from this repo - cordova plugin add https://github.com/apache/cordova-plugin-splashscreen.git - - -## Plataformas soportadas - - * Amazon fire OS - * Android - * BlackBerry 10 - * iOS - * Windows Phone 7 y 8 - * Windows 8 - * Windows - * Explorador - -## Métodos - - * splashscreen.show - * splashscreen.hide - -### Rarezas Android - -En el `archivo config.xml`, es necesario agregar las siguientes preferencias: - - - - - - -Donde foo es el nombre del archivo splashscreen, preferiblemente un archivo de 9 parche. Asegúrese de agregar tus archivos splashcreen en tu directorio res/xml bajo las carpetas apropiadas. El segundo parámetro representa cuánto aparecerán el splashscreen en milisegundos. Valor predeterminado es ms 3000. Ver [los iconos y salpicadura pantallas](http://cordova.apache.org/docs/en/edge/config_ref_images.md.html) para obtener más información. - -Preferencia "SplashMaintainAspectRatio" es opcional. Si establece en true, pantalla dibujable no es estirado para caber la pantalla, pero en su lugar simplemente "cover" la pantalla, como CSS "background-size: cover". Esto es muy útil cuando las imágenes de pantallas splash no distorsionadas de cualquier manera, por ejemplo cuando contienen texto o paisaje. Esta opción funciona mejor con imágenes que tienen bordes grandes (zonas seguras) que pueden ser recortadas con seguridad en pantallas con diferentes relaciones de aspecto. - -El plugin recarga splash dibujable cuando cambia de orientación, por lo que puede especificar diferente dibujo para orientaciones vertical y horizontal. - -### Navegador rarezas - -Puede utilizar las siguientes preferencias en el `archivo config.xml`: - - - - - - - - - - - -### iOS rarezas - - * `FadeSplashScreen` (booleano, por defecto `true`): establecida en `false` para evitar que la pantalla de bienvenida de descolorarse adentro y hacia fuera cuando cambia su estado de presentación. - - - - - * `FadeSplashScreenDuration` (float, por defecto es `2`): especifica el número de segundos para que la pantalla se descolora efecto para ejecutar. - - - - - * `ShowSplashScreenSpinner` (booleano, por defecto `true`): establecida en `false` para ocultar la ruleta de la pantalla de bienvenida. - - - - -## splashscreen.hide - -Despedir a la pantalla de bienvenida. - - navigator.splashscreen.hide(); - - -### BlackBerry 10, WP8, iOS Quirk - -El `config.xml` del archivo `AutoHideSplashScreen` la configuración debe ser `false` . Para retrasar oculta la pantalla splash durante dos segundos, agregue un temporizador como la siguiente en el `deviceready` controlador de eventos: - - setTimeout(function() { - navigator.splashscreen.hide(); - }, 2000); - - -## splashscreen.show - -Muestra la pantalla de bienvenida. - - navigator.splashscreen.show(); - - -La aplicación no se puede llamar `navigator.splashscreen.show()` hasta que haya iniciado la aplicación y el `deviceready` evento ha despedido. Pero puesto que normalmente la pantalla está destinada a ser visible antes de que comience su aplicación, que parecería que el propósito de la pantalla de bienvenida. Proporcionar cierta configuración en `config.xml` automáticamente `show` la pantalla de presentación inmediatamente después de su lanzamiento de la aplicación y antes de ser completamente ha iniciado y recibió el `deviceready` evento. Ver [los iconos y salpicadura pantallas](http://cordova.apache.org/docs/en/edge/config_ref_images.md.html) para obtener más información sobre haciendo esta configuración. Por esta razón, es poco probable que necesitas llamar a `navigator.splashscreen.show()` para hacer la pantalla visible para el inicio de la aplicación. \ No newline at end of file diff --git a/doc/es/index.md b/doc/es/index.md deleted file mode 100644 index 3295c27f..00000000 --- a/doc/es/index.md +++ /dev/null @@ -1,76 +0,0 @@ - - -# cordova-plugin-splashscreen - -Este plugin muestra y esconde una pantalla de bienvenida durante el inicio de la aplicación. - -## Instalación - - cordova plugin add cordova-plugin-splashscreen - - -## Plataformas soportadas - -* Amazon fire OS -* Android -* BlackBerry 10 -* iOS -* Windows Phone 7 y 8 -* Windows 8 - -## Métodos - -* splashscreen.show -* splashscreen.hide - -### Rarezas Android - -En el archivo config.xml, tienes que añadir las siguientes preferencias: - - < nombre de preferencia = "SplashScreen" value = "foo" / >< nombre de preferencia = "SplashScreenDelay" value = "10000" / > - - -Donde foo es el nombre del archivo splashscreen, preferiblemente un archivo de 9 parche. Asegúrese de agregar tus archivos splashcreen en tu directorio res/xml bajo las carpetas apropiadas. El segundo parámetro representa cuánto aparecerán el splashscreen en milisegundos. Valor predeterminado es ms 3000. Ver [los iconos y salpicadura pantallas][1] para obtener más información. - - [1]: http://cordova.apache.org/docs/en/edge/config_ref_images.md.html - -## splashscreen.hide - -Despedir a la pantalla de bienvenida. - - Navigator.SplashScreen.Hide(); - - -### BlackBerry 10, WP8, iOS Quirk - -El `config.xml` del archivo `AutoHideSplashScreen` la configuración debe ser `false` . Para retrasar oculta la pantalla splash durante dos segundos, agregue un temporizador como la siguiente en el `deviceready` controlador de eventos: - - setTimeout(function() {navigator.splashscreen.hide(); - }, 2000); - - -## splashscreen.show - -Muestra la pantalla de bienvenida. - - Navigator.SplashScreen.Show(); - - -La aplicación no se puede llamar `navigator.splashscreen.show()` hasta que haya iniciado la aplicación y el `deviceready` evento ha despedido. Pero puesto que normalmente la pantalla está destinada a ser visible antes de que comience su aplicación, que parecería que el propósito de la pantalla de bienvenida. Proporcionar cierta configuración en `config.xml` automáticamente `show` la pantalla de presentación inmediatamente después de su lanzamiento de la aplicación y antes de ser completamente ha iniciado y recibió el `deviceready` evento. Ver [los iconos y salpicadura pantallas][1] para obtener más información sobre haciendo esta configuración. Por esta razón, es poco probable que necesitas llamar a `navigator.splashscreen.show()` para hacer la pantalla visible para el inicio de la aplicación. diff --git a/doc/fr/README.md b/doc/fr/README.md deleted file mode 100644 index 65f58803..00000000 --- a/doc/fr/README.md +++ /dev/null @@ -1,119 +0,0 @@ - - -# cordova-plugin-splashscreen - -[![Build Status](https://travis-ci.org/apache/cordova-plugin-splashscreen.svg)](https://travis-ci.org/apache/cordova-plugin-splashscreen) - -Ce plugin affiche et masque un écran de démarrage lors du lancement de l'application. - -## Installation - - // npm hosted (new) id - cordova plugin add cordova-plugin-splashscreen - // you may also install directly from this repo - cordova plugin add https://github.com/apache/cordova-plugin-splashscreen.git - - -## Plates-formes supportées - - * Amazon Fire OS - * Android - * BlackBerry 10 - * iOS - * Windows Phone 7 et 8 - * Windows 8 - * Windows - * Navigateur - -## Méthodes - - * splashscreen.Show - * splashscreen.Hide - -### Quirks Android - -Dans votre `fichier config.xml`, vous devez ajouter les préférences suivantes : - - - - - - -Où foo est le nom du fichier splashscreen, préférablement un fichier de 9 correctif. Assurez-vous d'ajouter vos fichiers splashcreen dans votre répertoire res/xml dans les dossiers appropriés. Le deuxième paramètre représente combien de temps le splashscreen apparaîtra en millisecondes. Il est par défaut à 3000 ms. Pour plus d'informations, consultez [icônes et écrans de démarrage](http://cordova.apache.org/docs/en/edge/config_ref_images.md.html). - -Préférence de « SplashMaintainAspectRatio » est facultative. Si défini à true, écran de démarrage drawable n'est pas étirée pour s'adapter écran, mais plutôt simplement « couvre » l'écran, comme CSS "fond-taille : couverture". Ceci est très utile lorsque images écran de démarrage ne peut pas être déformées en quelque sorte, par exemple lorsqu'ils contiennent des décors ou texte. Ce paramètre fonctionne mieux avec des images qui ont des marges importantes (zones de sécurité) qui peuvent être recadrées en toute sécurité sur les écrans avec des proportions différentes. - -Le plugin recharge splash drawable chaque fois que l'orientation change, donc vous pouvez spécifier différents drawables pour les orientations portrait et paysage. - -### Bizarreries navigateur - -Vous pouvez utiliser les préférences suivantes dans votre `fichier config.xml`: - - - - - - - - - - - -### Notes au sujet d'iOS - - * `FadeSplashScreen` (boolean, par défaut est `true`): la valeur `false` pour empêcher l'écran de démarrage de fading in et out lorsque son état d'affichage est modifié. - - - - - * `FadeSplashScreenDuration` (float, la valeur par défaut `2`): spécifie le nombre de secondes que l'écran de démarrage s'estomper l'effet d'exécuter. - - - - - * `ShowSplashScreenSpinner` (boolean, par défaut est `true`): la valeur `false` pour masquer le cône de l'écran de démarrage. - - - - -## splashscreen.Hide - -Faire disparaître de l'écran de démarrage. - - navigator.splashscreen.hide(); - - -### BlackBerry 10, WP8, iOS Quirk - -Paramètre `AutoHideSplashScreen` du fichier `config.xml` doit avoir la valeur `false`. Pour retarder la cacher l'écran de démarrage pendant deux secondes, ajouter un minuteur semblable à la suivante dans le gestionnaire d'événements `deviceready` : - - setTimeout(function() { - navigator.splashscreen.hide(); - }, 2000); - - -## splashscreen.Show - -Affiche l'écran de démarrage. - - navigator.splashscreen.show(); - - -Votre application ne peut pas appeler `navigator.splashscreen.show()` jusqu'à ce que l'application a commencé et l'événement `deviceready` est déclenché. Mais puisqu'en général, l'écran de démarrage est destiné à être visible avant que votre application a commencé, qui semblerait à l'encontre des objectifs de l'écran de démarrage. Fournir une configuration dans le fichier `config.xml` automatiquement `show` le splash projettera immédiatement après votre lancement de l'app et avant qu'il a complètement démarré et a reçu l'événement `deviceready`. Voir les [icônes et les écrans de démarrage](http://cordova.apache.org/docs/en/edge/config_ref_images.md.html) pour plus d'informations sur la conduite de cette configuration. Pour cette raison, il est peu probable que vous devez appeler `navigator.splashscreen.show()` pour rendre l'écran de démarrage visible pour le démarrage de l'application. \ No newline at end of file diff --git a/doc/fr/index.md b/doc/fr/index.md deleted file mode 100644 index 6d2fd088..00000000 --- a/doc/fr/index.md +++ /dev/null @@ -1,78 +0,0 @@ - - -# cordova-plugin-splashscreen - -Ce plugin affiche et masque un écran de démarrage lors du lancement de l'application. - -## Installation - - cordova plugin add cordova-plugin-splashscreen - - -## Plates-formes prises en charge - -* Amazon Fire OS -* Android -* BlackBerry 10 -* iOS -* Windows Phone 7 et 8 -* Windows 8 - -## Méthodes - -* splashscreen.Show -* splashscreen.Hide - -### Quirks Android - -Dans votre fichier config.xml, vous devez ajouter les préférences suivantes : - - - - - -Où foo est le nom du fichier splashscreen, préférablement un fichier de 9 correctif. Assurez-vous d'ajouter vos fichiers splashcreen dans votre répertoire res/xml dans les dossiers appropriés. Le deuxième paramètre représente combien de temps le splashscreen apparaîtra en millisecondes. Il est par défaut à 3000 ms. Pour plus d'informations, consultez [icônes et écrans de démarrage][1]. - - [1]: http://cordova.apache.org/docs/en/edge/config_ref_images.md.html - -## splashscreen.Hide - -Faire disparaître de l'écran de démarrage. - - navigator.splashscreen.hide(); - - -### BlackBerry 10, WP8, iOS Quirk - -Paramètre `AutoHideSplashScreen` du fichier `config.xml` doit avoir la valeur `false`. Pour retarder la cacher l'écran de démarrage pendant deux secondes, ajouter un minuteur semblable à la suivante dans le gestionnaire d'événements `deviceready` : - - setTimeout(function() { - navigator.splashscreen.hide(); - }, 2000); - - -## splashscreen.Show - -Affiche l'écran de démarrage. - - navigator.splashscreen.show(); - - -Votre application ne peut pas appeler `navigator.splashscreen.show()` jusqu'à ce que l'application a commencé et l'événement `deviceready` est déclenché. Mais puisqu'en général, l'écran de démarrage est destiné à être visible avant que votre application a commencé, qui semblerait à l'encontre des objectifs de l'écran de démarrage. Fournir une configuration dans le fichier `config.xml` automatiquement `show` le splash projettera immédiatement après votre lancement de l'app et avant qu'il a complètement démarré et a reçu l'événement `deviceready`. Voir les [icônes et les écrans de démarrage][1] pour plus d'informations sur la conduite de cette configuration. Pour cette raison, il est peu probable que vous devez appeler `navigator.splashscreen.show()` pour rendre l'écran de démarrage visible pour le démarrage de l'application. diff --git a/doc/it/README.md b/doc/it/README.md deleted file mode 100644 index 2a6c6ba4..00000000 --- a/doc/it/README.md +++ /dev/null @@ -1,119 +0,0 @@ - - -# cordova-plugin-splashscreen - -[![Build Status](https://travis-ci.org/apache/cordova-plugin-splashscreen.svg)](https://travis-ci.org/apache/cordova-plugin-splashscreen) - -Questo plugin Visualizza e nasconde una schermata iniziale durante l'avvio dell'applicazione. - -## Installazione - - // npm hosted (new) id - cordova plugin add cordova-plugin-splashscreen - // you may also install directly from this repo - cordova plugin add https://github.com/apache/cordova-plugin-splashscreen.git - - -## Piattaforme supportate - - * Amazon fuoco OS - * Android - * BlackBerry 10 - * iOS - * Windows Phone 7 e 8 - * Windows 8 - * Windows - * Browser - -## Metodi - - * splashscreen - * splashscreen.Hide - -### Stranezze Android - -Nel vostro `config. XML`, è necessario aggiungere le seguenti preferenze: - - - - - - -Dove foo è il nome del file splashscreen, preferibilmente un file 9 patch. Assicurati di aggiungere i tuoi file splashcreen res/xml nella directory sotto cartelle appropriate. Il secondo parametro rappresenta quanto tempo lo splashscreen apparirà in millisecondi. Il valore predefinito è 3000 ms. Per ulteriori informazioni, vedere [icone e schermate iniziali](http://cordova.apache.org/docs/en/edge/config_ref_images.md.html). - -"SplashMaintainAspectRatio" preferenza è facoltativo. Se impostato su true, schermata iniziale drawable non viene adattata per misura lo schermo, ma invece semplicemente "copre" lo schermo, come CSS "sfondo-dimensione: copertina". Questo è molto utile quando immagini schermata iniziale non possono essere distorta in qualche modo, per esempio quando contengono testo o scenario. Questa impostazione funziona meglio con immagini che hanno grandi margini (zone sicure) che possono essere ritagliati in modo sicuro su schermi con proporzioni diverse. - -Il plugin viene ricaricata splash drawable ogni volta che cambia orientamento, è possibile specificare diversi parte per orientamento verticale e orizzontale. - -### Stranezze browser - -Nel vostro `config. XML`, è possibile utilizzare le seguenti preferenze: - - - - - - - - - - - -### iOS stranezze - - * `FadeSplashScreen` (boolean, impostazioni predefinite a `true`): impostare su `false` per impedire che la schermata iniziale e scompaiono quando cambia il relativo stato di visualizzazione. - - - - - * `FadeSplashScreenDuration` (float, il valore predefinito è `2`): specifica il numero di secondi per la schermata iniziale dissolvenza effetto da eseguire. - - - - - * `ShowSplashScreenSpinner` (boolean, impostazioni predefinite a `true`): impostare su `false` per nascondere la filatrice schermata iniziale. - - - - -## splashscreen.Hide - -Respingere la schermata iniziale. - - navigator.splashscreen.hide(); - - -### BlackBerry 10, WP8, iOS Quirk - -Impostazione `AutoHideSplashScreen` del file `config.xml` deve essere `false`. Per ritardare nascondendo la schermata iniziale per due secondi, aggiungere un timer ad esempio nel gestore eventi `deviceready`: - - setTimeout(function() { - navigator.splashscreen.hide(); - }, 2000); - - -## splashscreen - -Visualizza la schermata iniziale. - - navigator.splashscreen.show(); - - -L'applicazione non può chiamare `navigator.splashscreen.show()` fino a quando l'app ha iniziato e ha generato l'evento `deviceready`. Ma poiché in genere la schermata iniziale è destinata ad essere visibile prima app ha iniziato, che sembrerebbe per sconfiggere lo scopo della schermata iniziale. Fornendo qualche configurazione nel `file config.xml` sarà automaticamente `show` il tonfo schermo subito dopo il lancio dell'app e prima che completamente ha iniziato e ha ricevuto l'evento `deviceready`. Per ulteriori informazioni su facendo questa configurazione, vedere [icone e schermate iniziali](http://cordova.apache.org/docs/en/edge/config_ref_images.md.html). Per questo motivo, è improbabile che dovete chiamare `navigator.splashscreen.show()` per rendere la schermata visibile per avvio di app. \ No newline at end of file diff --git a/doc/it/index.md b/doc/it/index.md deleted file mode 100644 index 70435415..00000000 --- a/doc/it/index.md +++ /dev/null @@ -1,78 +0,0 @@ - - -# cordova-plugin-splashscreen - -Questo plugin Visualizza e nasconde una schermata iniziale durante l'avvio dell'applicazione. - -## Installazione - - cordova plugin add cordova-plugin-splashscreen - - -## Piattaforme supportate - -* Amazon fuoco OS -* Android -* BlackBerry 10 -* iOS -* Windows Phone 7 e 8 -* Windows 8 - -## Metodi - -* splashscreen -* splashscreen.Hide - -### Stranezze Android - -Nel vostro config. xml, è necessario aggiungere le seguenti preferenze: - - - - - -Dove foo è il nome del file splashscreen, preferibilmente un file 9 patch. Assicurati di aggiungere i tuoi file splashcreen res/xml nella directory sotto cartelle appropriate. Il secondo parametro rappresenta quanto tempo lo splashscreen apparirà in millisecondi. Il valore predefinito è 3000 ms. Per ulteriori informazioni, vedere [icone e schermate iniziali][1]. - - [1]: http://cordova.apache.org/docs/en/edge/config_ref_images.md.html - -## splashscreen.Hide - -Respingere la schermata iniziale. - - navigator.splashscreen.hide(); - - -### BlackBerry 10, WP8, iOS Quirk - -Impostazione `AutoHideSplashScreen` del file `config.xml` deve essere `false`. Per ritardare nascondendo la schermata iniziale per due secondi, aggiungere un timer ad esempio nel gestore eventi `deviceready`: - - setTimeout(function() { - navigator.splashscreen.hide(); - }, 2000); - - -## splashscreen - -Visualizza la schermata iniziale. - - navigator.splashscreen.show(); - - -L'applicazione non può chiamare `navigator.splashscreen.show()` fino a quando l'app ha iniziato e ha generato l'evento `deviceready`. Ma poiché in genere la schermata iniziale è destinata ad essere visibile prima app ha iniziato, che sembrerebbe per sconfiggere lo scopo della schermata iniziale. Fornendo qualche configurazione nel `file config.xml` sarà automaticamente `show` il tonfo schermo subito dopo il lancio dell'app e prima che completamente ha iniziato e ha ricevuto l'evento `deviceready`. Per ulteriori informazioni su facendo questa configurazione, vedere [icone e schermate iniziali][1]. Per questo motivo, è improbabile che dovete chiamare `navigator.splashscreen.show()` per rendere la schermata visibile per avvio di app. diff --git a/doc/ja/README.md b/doc/ja/README.md deleted file mode 100644 index a688b279..00000000 --- a/doc/ja/README.md +++ /dev/null @@ -1,119 +0,0 @@ - - -# cordova-plugin-splashscreen - -[![Build Status](https://travis-ci.org/apache/cordova-plugin-splashscreen.svg)](https://travis-ci.org/apache/cordova-plugin-splashscreen) - -このプラグインが表示され、アプリケーションの起動中にスプラッシュ スクリーンを非表示にします。 - -## インストール - - // npm hosted (new) id - cordova plugin add cordova-plugin-splashscreen - // you may also install directly from this repo - cordova plugin add https://github.com/apache/cordova-plugin-splashscreen.git - - -## サポートされているプラットフォーム - - * アマゾン火 OS - * アンドロイド - * ブラックベリー 10 - * iOS - * Windows Phone 7 と 8 - * Windows 8 - * Windows - * ブラウザー - -## メソッド - - * splashscreen.show - * splashscreen.hide - -### Android の癖 - -あなたの`config.xml`内の次の設定を追加する必要があります。 - - - - - - -Foo ができれば 9 パッチファイル splashscreen ファイルの名前です。 解像度/xml ディレクトリの適切なフォルダーの下に splashcreen ファイルを追加することを確認します。 2 番目のパラメーターは、スプラッシュ ・ スクリーンがの表示時間 (ミリ秒単位) を表します。 デフォルトでは 3000 ミリ秒です。 詳細については、[アイコンとスプラッシュ画面](http://cordova.apache.org/docs/en/edge/config_ref_images.md.html) を参照してください。 - -"SplashMaintainAspectRatio"の設定はオプションです。 True の場合、スプラッシュ画面描画に設定画面を埋めるために拡大されませんが、代わりに単に「カバー」画面では、CSS のような場合「背景-サイズ: カバー」. これは、たとえば風景またはテキストが含まれている場合、任意の方法でスプラッシュ画面画像が歪むことができない非常に便利です。 この設定は、画面と異なる縦横比で安全にトリミングすることができます大規模なマージン (安全な地域) の画像に適しています。 - -縦長と横長の異なるドロウアブルを指定できるように、プラグインは向きを変更するたびにスプラッシュ ドロウアブルをリロードします。 - -### ブラウザーの癖 - -あなたの`config.xml`で次の設定を使用できます。 - - - - - - - - - - - -### iOS の癖 - - * `FadeSplashScreen`(ブール値、既定で [ `true`): スプラッシュ画面がフェードインとフェードアウトの表示状態が変更されたときすることを防ぐために`false`に設定します。 - - - - - * `FadeSplashScreenDuration`(float, デフォルトは`2`): スプラッシュ画面の秒数のフェードを実行する効果を指定します。 - - - - - * `ShowSplashScreenSpinner`(ブール値、既定で [ `true`): スプラッシュ スクリーン スピナーを非表示にするを`false`に設定します。 - - - - -## splashscreen.hide - -スプラッシュ スクリーンを閉じます。 - - navigator.splashscreen.hide(); - - -### ブラックベリー 10、WP8、iOS の気まぐれ - -`config.xml` ファイルの `AutoHideSplashScreen` の設定は `false` である必要があります。 遅延を 2 秒間スプラッシュ スクリーンを非表示に `deviceready` イベント ハンドラーで、次のようタイマーを追加します。 - - setTimeout(function() { - navigator.splashscreen.hide(); - }, 2000); - - -## splashscreen.show - -スプラッシュ画面が表示されます。 - - navigator.splashscreen.show(); - - -アプリが開始され、`deviceready` イベントが発生するまで、アプリケーションは `navigator.splashscreen.show()` を呼び出すことはできません。 しかし、以来、通常スプラッシュ画面アプリ開始前に表示するものですと思われる、スプラッシュ スクリーンの目的の敗北します。 `config.xml` にいくつかの構成を提供するは自動的に `表示` スプラッシュ画面、アプリを起動後すぐに、それが完全に起動し、`deviceready` イベントを受信する前に。 詳細についてはこの構成を行うには、[アイコンとスプラッシュ画面](http://cordova.apache.org/docs/en/edge/config_ref_images.md.html) を参照してください。 この理由のためにアプリ起動時のスプラッシュ スクリーンを確認 `navigator.splashscreen.show()` をコールする必要がある可能性が高いです。 \ No newline at end of file diff --git a/doc/ja/index.md b/doc/ja/index.md deleted file mode 100644 index 24e72e5a..00000000 --- a/doc/ja/index.md +++ /dev/null @@ -1,78 +0,0 @@ - - -# cordova-plugin-splashscreen - -このプラグインが表示され、アプリケーションの起動中にスプラッシュ スクリーンを非表示にします。 - -## インストール - - cordova plugin add cordova-plugin-splashscreen - - -## サポートされているプラットフォーム - -* アマゾン火 OS -* アンドロイド -* ブラックベリー 10 -* iOS -* Windows Phone 7 と 8 -* Windows 8 - -## メソッド - -* splashscreen.show -* splashscreen.hide - -### Android の癖 - -あなたの config.xml を以下の設定を追加する必要があります。 - - - - - -Foo ができれば 9 パッチファイル splashscreen ファイルの名前です。 解像度/xml ディレクトリの適切なフォルダーの下に splashcreen ファイルを追加することを確認します。 2 番目のパラメーターは、スプラッシュ ・ スクリーンがの表示時間 (ミリ秒単位) を表します。 デフォルトでは 3000 ミリ秒です。 詳細については、[アイコンとスプラッシュ画面][1] を参照してください。 - - [1]: http://cordova.apache.org/docs/en/edge/config_ref_images.md.html - -## splashscreen.hide - -スプラッシュ スクリーンを閉じます。 - - navigator.splashscreen.hide(); - - -### ブラックベリー 10、WP8、iOS の気まぐれ - -`config.xml` ファイルの `AutoHideSplashScreen` の設定は `false` である必要があります。 遅延を 2 秒間スプラッシュ スクリーンを非表示に `deviceready` イベント ハンドラーで、次のようタイマーを追加します。 - - setTimeout(function() { - navigator.splashscreen.hide(); - }, 2000); - - -## splashscreen.show - -スプラッシュ画面が表示されます。 - - navigator.splashscreen.show(); - - -アプリが開始され、`deviceready` イベントが発生するまで、アプリケーションは `navigator.splashscreen.show()` を呼び出すことはできません。 しかし、以来、通常スプラッシュ画面アプリ開始前に表示するものですと思われる、スプラッシュ スクリーンの目的の敗北します。 `config.xml` にいくつかの構成を提供するは自動的に `表示` スプラッシュ画面、アプリを起動後すぐに、それが完全に起動し、`deviceready` イベントを受信する前に。 詳細についてはこの構成を行うには、[アイコンとスプラッシュ画面][1] を参照してください。 この理由のためにアプリ起動時のスプラッシュ スクリーンを確認 `navigator.splashscreen.show()` をコールする必要がある可能性が高いです。 diff --git a/doc/ko/README.md b/doc/ko/README.md deleted file mode 100644 index 5e10d207..00000000 --- a/doc/ko/README.md +++ /dev/null @@ -1,119 +0,0 @@ - - -# cordova-plugin-splashscreen - -[![Build Status](https://travis-ci.org/apache/cordova-plugin-splashscreen.svg)](https://travis-ci.org/apache/cordova-plugin-splashscreen) - -이 플러그인은 표시 하 고 응용 프로그램 실행 하는 동안 시작 화면을 숨깁니다. - -## 설치 - - // npm hosted (new) id - cordova plugin add cordova-plugin-splashscreen - // you may also install directly from this repo - cordova plugin add https://github.com/apache/cordova-plugin-splashscreen.git - - -## 지원 되는 플랫폼 - - * 아마존 화재 운영 체제 - * 안 드 로이드 - * 블랙베리 10 - * iOS - * Windows Phone 7과 8 - * 윈도우 8 - * 윈도우 - * 브라우저 - -## 메서드 - - * splashscreen.show - * splashscreen.hide - -### 안 드 로이드 단점 - -`Config.xml`에 다음 환경 설정에 추가 해야 합니다. - - - - - - -여기서 foo splashscreen 파일, 선호 9 패치 파일의 이름입니다. 적절 한 폴더 아래 res/xml 디렉토리에 splashcreen 파일을 추가 해야 합니다. 두 번째 매개 변수는 splashscreen 얼마나 밀리초 단위로 표시 됩니다 나타냅니다. 3000 ms 기본값으로 사용 됩니다. 자세한 내용은 [아이콘 및 시작 화면을](http://cordova.apache.org/docs/en/edge/config_ref_images.md.html) 참조 하십시오. - -"SplashMaintainAspectRatio" 취향은 선택 사항입니다. Drawable, 시작 화면 설정 화면에 맞게 확장 되지 하지만 대신 단순히 "커버" CSS 같은 화면 "배경-크기: 덮개". 시작 화면 이미지 예: 풍경 또는 텍스트를 포함 하는 경우 어떤 식으로든에서 왜곡 될 수 없는 경우에 매우 유용 합니다. 이 설정은 큰 여백 (안전 지역) 안전 하 게 다른 종횡비와 화면에 자를 수 있는 이미지에 가장 적합 합니다. - -플러그인 다시 로드 스플래시 drawable 방향이 변경 될 때마다 세로 및 가로 방향에 대 한 다른 drawables를 지정할 수 있도록 합니다. - -### 브라우저 만지면 - -`Config.xml`에 다음 기본 설정을 사용할 수 있습니다. - - - - - - - - - - - -### iOS 단점 - - * `FadeSplashScreen` (부울 `true`로 기본값): 시작 화면 표시 상태로 변경 될 때 밖으로 퇴색 하지 않도록 하려면 `false` 로 설정. - - - - - * `FadeSplashScreenDuration` (부동, `2`기본값): 시작 화면에 대 한 초 페이드 효과를 실행 하는 지정 합니다. - - - - - * `ShowSplashScreenSpinner` (부울 `true`로 기본값): 스플래시 화면 회전자를 숨기려면 `false` 로 설정. - - - - -## splashscreen.hide - -시작 화면을 닫습니다. - - navigator.splashscreen.hide(); - - -### 블랙베리 10, WP8, iOS 특질 - -`config.xml` 파일의 `AutoHideSplashScreen` 설정을 `false` 여야 합니다. 2 초 동안 시작 화면을 숨기고 지연, `deviceready` 이벤트 처리기에서 다음과 같은 타이머를 추가: - - setTimeout(function() { - navigator.splashscreen.hide(); - }, 2000); - - -## splashscreen.show - -시작 화면을 표시합니다. - - navigator.splashscreen.show(); - - -응용 프로그램 시작 및 `deviceready` 이벤트는 발생 될 때까지 응용 프로그램이 `navigator.splashscreen.show()`을 호출할 수 없습니다. 하지만 그 스플래시 스크린의 목적 것 같다 일반적으로 시작 화면이 당신의 애플 리 케이 션 시작 하기 전에 표시 될 운명이 다, 이후. `config.xml에서` 몇 가지 구성을 제공 하 자동으로 스플래시 `표시` 화면 애플 리 케이 션 출시 직후와 그것은 완벽 하 게 시작 하 고 `deviceready` 이벤트를 받은 전에. 이 구성 하 고 자세한 내용은 [아이콘 및 시작 화면을](http://cordova.apache.org/docs/en/edge/config_ref_images.md.html) 참조 하십시오. 이러한 이유로, 그것은 가능성이 시작 화면은 응용 프로그램 시작에 대 한 표시 되도록 `navigator.splashscreen.show()`를 호출 해야입니다. \ No newline at end of file diff --git a/doc/ko/index.md b/doc/ko/index.md deleted file mode 100644 index 6a0ea989..00000000 --- a/doc/ko/index.md +++ /dev/null @@ -1,78 +0,0 @@ - - -# cordova-plugin-splashscreen - -이 플러그인은 표시 하 고 응용 프로그램 실행 하는 동안 시작 화면을 숨깁니다. - -## 설치 - - cordova plugin add cordova-plugin-splashscreen - - -## 지원 되는 플랫폼 - -* 아마존 화재 운영 체제 -* 안 드 로이드 -* 블랙베리 10 -* iOS -* Windows Phone 7과 8 -* 윈도우 8 - -## 메서드 - -* splashscreen.show -* splashscreen.hide - -### 안 드 로이드 단점 - -당신의 config.xml에 다음 환경 설정에 추가 해야 합니다. - - - - - -여기서 foo splashscreen 파일, 선호 9 패치 파일의 이름입니다. 적절 한 폴더 아래 res/xml 디렉토리에 splashcreen 파일을 추가 해야 합니다. 두 번째 매개 변수는 splashscreen 얼마나 밀리초 단위로 표시 됩니다 나타냅니다. 3000 ms 기본값으로 사용 됩니다. 자세한 내용은 [아이콘 및 시작 화면을][1] 참조 하십시오. - - [1]: http://cordova.apache.org/docs/en/edge/config_ref_images.md.html - -## splashscreen.hide - -시작 화면을 닫습니다. - - navigator.splashscreen.hide(); - - -### 블랙베리 10, WP8, iOS 특질 - -`config.xml` 파일의 `AutoHideSplashScreen` 설정을 `false` 여야 합니다. 2 초 동안 시작 화면을 숨기고 지연, `deviceready` 이벤트 처리기에서 다음과 같은 타이머를 추가: - - setTimeout(function() { - navigator.splashscreen.hide(); - }, 2000); - - -## splashscreen.show - -시작 화면을 표시합니다. - - navigator.splashscreen.show(); - - -응용 프로그램 시작 및 `deviceready` 이벤트는 발생 될 때까지 응용 프로그램이 `navigator.splashscreen.show()`을 호출할 수 없습니다. 하지만 그 스플래시 스크린의 목적 것 같다 일반적으로 시작 화면이 당신의 애플 리 케이 션 시작 하기 전에 표시 될 운명이 다, 이후. `config.xml에서` 몇 가지 구성을 제공 하 자동으로 스플래시 `표시` 화면 애플 리 케이 션 출시 직후와 그것은 완벽 하 게 시작 하 고 `deviceready` 이벤트를 받은 전에. 이 구성 하 고 자세한 내용은 [아이콘 및 시작 화면을][1] 참조 하십시오. 이러한 이유로, 그것은 가능성이 시작 화면은 응용 프로그램 시작에 대 한 표시 되도록 `navigator.splashscreen.show()`를 호출 해야입니다. diff --git a/doc/pl/README.md b/doc/pl/README.md deleted file mode 100644 index 0156be56..00000000 --- a/doc/pl/README.md +++ /dev/null @@ -1,119 +0,0 @@ - - -# cordova-plugin-splashscreen - -[![Build Status](https://travis-ci.org/apache/cordova-plugin-splashscreen.svg)](https://travis-ci.org/apache/cordova-plugin-splashscreen) - -Ten plugin wyświetla i ukrywa ekran powitalny podczas uruchamiania aplikacji. - -## Instalacja - - // npm hosted (new) id - cordova plugin add cordova-plugin-splashscreen - // you may also install directly from this repo - cordova plugin add https://github.com/apache/cordova-plugin-splashscreen.git - - -## Obsługiwane platformy - - * Amazon Fire OS - * Android - * BlackBerry 10 - * iOS - * Windows Phone 7 i 8 - * Windows 8 - * Windows - * Przeglądarka - -## Metody - - * splashscreen.show - * splashscreen.Hide - -### Dziwactwa Androida - -W pliku `config.xml`musisz dodać następujące preferencje: - - - - - - -Gdzie foo jest nazwą pliku ekranu powitalnego, najlepiej 9 łatce. Upewnij się dodać pliki splashcreen do katalogu res/xml w odpowiednich folderach. Drugi parametr reprezentuje, jak długo ekranu powitalnego pojawi się w milisekundach. Domyślnie 3000 ms. Aby uzyskać więcej informacji, zobacz [ikony i ekrany powitalne w aplikacjach](http://cordova.apache.org/docs/en/edge/config_ref_images.md.html). - -"SplashMaintainAspectRatio" preferencji jest opcjonalne. Jeśli zestaw na wartość true, ekran powitalny dolarowe nie jest rozciągnięty do ekranów, ale zamiast po prostu "obejmuje" ekranu, jak CSS "tło-rozmiar: okładka". Jest to bardzo przydatne, kiedy opryskać tęcza obrazy nie zniekształcony w jakikolwiek sposób, na przykład, gdy zawierają one dekoracje lub tekst. To ustawienie działa najlepiej z obrazów, które mają duże marginesy (bezpiecznych obszarów), które mogą być bezpiecznie przycięte na ekrany z różnych proporcji. - -Plugin ładuje rozchlapać dolarowe, gdy zmienia orientację, tak można określić różnych drawables do orientacji pionowej i poziomej. - -### Quirks przeglądarki - -W pliku `config.xml`można użyć następujące preferencje: - - - - - - - - - - - -### Dziwactwa iOS - - * `FadeSplashScreen` (wartość logiczna, domyślnie `true`): zestaw na `false` , aby zapobiec Znikająca i odkładane po zmianie stanu wyświetlania ekranu powitalnego. - - - - - * `FadeSplashScreenDuration` (float, domyślnie `2`): określa liczbę sekund dla ekranu powitalnego zanikanie efekt do wykonać. - - - - - * `ShowSplashScreenSpinner` (wartość logiczna, domyślnie `true`): zestaw na `false` , aby ukryć pokrętła ekran powitalny. - - - - -## splashscreen.Hide - -Odrzucić ten opryskaæ têcza. - - navigator.splashscreen.hide(); - - -### Jeżyna 10, WP8, iOS dziwactwo - -Plik `config.xml` `AutoHideSplashScreen` ustawienie musi być `false`. Opóźnienia, ukrywanie ekranu powitalnego przez dwie sekundy, dodać timer następujących w `deviceready` obsługa zdarzeń: - - setTimeout(function() { - navigator.splashscreen.hide(); - }, 2000); - - -## splashscreen.show - -Wyświetla ekran powitalny. - - navigator.splashscreen.show(); - - -Aplikacja nie można wywołać `navigator.splashscreen.show()`, aż aplikacja została uruchomiona i zdarzenie `deviceready` został zwolniony. Ale ponieważ zazwyczaj opryskać tęcza ma być widoczne przed rozpoczęciem aplikacji, wydaje się sprzeczne z celem ekranu powitalnego. Dostarczanie niektórych konfiguracji w `pliku config.xml` będzie automatycznie `show` splash na ekranie natychmiast po uruchomienie aplikacji i przed pełni rozpoczął i odebrał zdarzenie `deviceready`. Aby uzyskać więcej informacji na robienie tej konfiguracji, zobacz [ikony i ekrany powitalne w aplikacjach](http://cordova.apache.org/docs/en/edge/config_ref_images.md.html). Z tego powodu jest mało prawdopodobne, należy zadzwonić `navigator.splashscreen.show()`, aby wyświetlić ekran powitalny dla uruchamiania aplikacji. \ No newline at end of file diff --git a/doc/pl/index.md b/doc/pl/index.md deleted file mode 100644 index 33045cb7..00000000 --- a/doc/pl/index.md +++ /dev/null @@ -1,78 +0,0 @@ - - -# cordova-plugin-splashscreen - -Ten plugin wyświetla i ukrywa ekran powitalny podczas uruchamiania aplikacji. - -## Instalacja - - cordova plugin add cordova-plugin-splashscreen - - -## Obsługiwane platformy - -* Amazon Fire OS -* Android -* BlackBerry 10 -* iOS -* Windows Phone 7 i 8 -* Windows 8 - -## Metody - -* splashscreen.show -* splashscreen.Hide - -### Dziwactwa Androida - -W pliku config.xml musisz dodać następujące preferencje: - - - - - -Gdzie foo jest nazwą pliku ekranu powitalnego, najlepiej 9 łatce. Upewnij się dodać pliki splashcreen do katalogu res/xml w odpowiednich folderach. Drugi parametr reprezentuje, jak długo ekranu powitalnego pojawi się w milisekundach. Domyślnie 3000 ms. Aby uzyskać więcej informacji, zobacz [ikony i ekrany powitalne w aplikacjach][1]. - - [1]: http://cordova.apache.org/docs/en/edge/config_ref_images.md.html - -## splashscreen.Hide - -Odrzucić ten opryskaæ têcza. - - navigator.splashscreen.hide(); - - -### Jeżyna 10, WP8, iOS dziwactwo - -Plik `config.xml` `AutoHideSplashScreen` ustawienie musi być `false`. Opóźnienia, ukrywanie ekranu powitalnego przez dwie sekundy, dodać timer następujących w `deviceready` obsługa zdarzeń: - - setTimeout(function() { - navigator.splashscreen.hide(); - }, 2000); - - -## splashscreen.show - -Wyświetla ekran powitalny. - - navigator.splashscreen.show(); - - -Aplikacja nie można wywołać `navigator.splashscreen.show()`, aż aplikacja została uruchomiona i zdarzenie `deviceready` został zwolniony. Ale ponieważ zazwyczaj opryskać tęcza ma być widoczne przed rozpoczęciem aplikacji, wydaje się sprzeczne z celem ekranu powitalnego. Dostarczanie niektórych konfiguracji w `pliku config.xml` będzie automatycznie `show` splash na ekranie natychmiast po uruchomienie aplikacji i przed pełni rozpoczął i odebrał zdarzenie `deviceready`. Aby uzyskać więcej informacji na robienie tej konfiguracji, zobacz [ikony i ekrany powitalne w aplikacjach][1]. Z tego powodu jest mało prawdopodobne, należy zadzwonić `navigator.splashscreen.show()`, aby wyświetlić ekran powitalny dla uruchamiania aplikacji. diff --git a/doc/ru/index.md b/doc/ru/index.md deleted file mode 100644 index 635c22d8..00000000 --- a/doc/ru/index.md +++ /dev/null @@ -1,75 +0,0 @@ - - -# cordova-plugin-splashscreen - -Этот плагин отображает и скрывает экран-заставку при запуске приложения. - -## Установка - - cordova plugin add cordova-plugin-splashscreen - - -## Поддерживаемые платформы - -* Amazon Fire OS -* Android -* BlackBerry 10 -* iOS -* Windows Phone 7 и 8 -* Windows 8 - -## Методы - -* splashscreen.show -* splashscreen.hide - -### Особенности Android - -В вашем файле config.xml необходимо добавить следующие настройки: - -`` `` - -Где foo это имя файла splashscreen, желательно 9 заплатку. Убедитесь в том добавить ваши splashcreen файлы в папку res/xml в соответствующие папки. Второй параметр представляет, как долго splashscreen появится в миллисекундах. По умолчанию он 3000 МС. Увидеть [иконки и заставки][1] для получения дополнительной информации. - - [1]: http://cordova.apache.org/docs/en/edge/config_ref_images.md.html - -## splashscreen.hide - -Закройте экран-заставка. - - Navigator.SplashScreen.Hide(); - - -### Особенности BlackBerry 10, WP8, iOS - -`config.xml`Файла `AutoHideSplashScreen` должен быть `false` . Для задержки скрытия заставки на две секунды, добавить таймер, например в `deviceready` обработчик событий: - - setTimeout(function() {navigator.splashscreen.hide(); - }, 2000); - - -## splashscreen.show - -Отображает экран-заставку. - - Navigator.SplashScreen.Show(); - - -Ваше приложение не может вызвать `navigator.splashscreen.show()` до тех пор, пока приложение началась и `deviceready` событие инициировано. Но поскольку обычно экран-заставка должен быть видимым до начала вашего приложения, что казалось бы поражение цели экрана-заставки. Предоставление некоторых конфигурации в `config.xml` будет автоматически `show` экран-заставку сразу же после запуска вашего приложения и перед его полностью запущен и получил `deviceready` событие. Увидеть [иконки и заставки][1] для получения дополнительной информации на делать этой конфигурации. По этой причине маловероятно, вам нужно вызвать `navigator.splashscreen.show()` для отображения экрана-заставки для запуска приложения. diff --git a/doc/zh/README.md b/doc/zh/README.md deleted file mode 100644 index da37405b..00000000 --- a/doc/zh/README.md +++ /dev/null @@ -1,119 +0,0 @@ - - -# cordova-plugin-splashscreen - -[![Build Status](https://travis-ci.org/apache/cordova-plugin-splashscreen.svg)](https://travis-ci.org/apache/cordova-plugin-splashscreen) - -這個外掛程式顯示和隱藏在應用程式啟動期間的初始螢幕。 - -## 安裝 - - // npm hosted (new) id - cordova plugin add cordova-plugin-splashscreen - // you may also install directly from this repo - cordova plugin add https://github.com/apache/cordova-plugin-splashscreen.git - - -## 支援的平臺 - - * 亞馬遜火 OS - * Android 系統 - * 黑莓 10 - * iOS - * Windows Phone 7 和 8 - * Windows 8 - * Windows - * 瀏覽器 - -## 方法 - - * splashscreen.show - * splashscreen.hide - -### Android 的怪癖 - -在你的`config.xml`,您需要添加以下優惠: - - - - - - -美孚在哪裡閃屏檔,最好是 9 修補程式檔的名稱。 請確保您的 splashcreen 檔添加到 res/xml 目錄下相應的資料夾。 第二個參數表示多久閃屏會顯示以毫秒為單位。 它將預設為 3000 毫秒。 有關更多資訊,請參見 [圖示和啟動畫面](http://cordova.apache.org/docs/en/edge/config_ref_images.md.html)。 - -"SplashMaintainAspectRatio"首選項是可選的。 如果設置為 true,可繪製的初始螢幕不會拉伸以適合螢幕,但相反只是"覆蓋"螢幕,像 CSS"背景-大小: 蓋"。 這是非常有用的不能以任何方式,例如當他們包含文本或風景畸變閃屏圖像時。 此設置適用于有大利潤 (安全區),可以安全地裁剪不同長寬比與螢幕上的圖像。 - -該外掛程式重新載入初始可繪製只要方向發生變化,所以您可以指定不同的畫板為縱向和橫向方向。 - -### 瀏覽器的怪癖 - -你可以用你的`config.xml`下列優先選項: - - - - - - - - - - - -### iOS 的怪癖 - - * `FadeSplashScreen`(預設為`true`的布林值): 設置為`false` ,以防止出現閃屏衰落和退出其顯示狀態發生變化時。 - - - - - * `FadeSplashScreenDuration`(float,預設為`2`): 指定的閃屏秒數淡出效果來執行。 - - - - - * `ShowSplashScreenSpinner`(boolean, `true`的布林值): 設置為`false`來隱藏初始螢幕微調框。 - - - - -## splashscreen.hide - -解雇的閃屏。 - - navigator.splashscreen.hide(); - - -### 黑莓 10,WP8,iOS 怪癖 - -`config.xml` 檔 `AutoHideSplashScreen` 設置必須是 `假` 的。 若要延遲兩秒鐘隱藏的閃屏,`deviceready` 事件處理常式中添加一個計時器,如下所示: - - setTimeout(function() { - navigator.splashscreen.hide(); - }, 2000); - - -## splashscreen.show - -顯示初始螢幕。 - - navigator.splashscreen.show(); - - -您的應用程式無法調用 `navigator.splashscreen.show()`,直到該應用程式已啟動,且觸發了 `deviceready` 事件。 但是,由於通常的閃屏為了是可見的在您的應用程式啟動之前,這似乎會打敗閃屏的目的。 提供一些配置在 `config.xml` 中的會自動 `show` 初始螢幕您的應用程式啟動後立即和之前它已經完全起步並收到 `deviceready` 事件。 做這種配置的詳細資訊,請參閱 [圖示和啟動畫面](http://cordova.apache.org/docs/en/edge/config_ref_images.md.html)。 出於此原因,不太可能您需要調用 `navigator.splashscreen.show()`,使初始螢幕可見為應用程式啟動。 \ No newline at end of file diff --git a/doc/zh/index.md b/doc/zh/index.md deleted file mode 100644 index efb309d0..00000000 --- a/doc/zh/index.md +++ /dev/null @@ -1,78 +0,0 @@ - - -# cordova-plugin-splashscreen - -這個外掛程式顯示和隱藏在應用程式啟動期間的初始螢幕。 - -## 安裝 - - cordova plugin add cordova-plugin-splashscreen - - -## 支援的平臺 - -* 亞馬遜火 OS -* Android 系統 -* 黑莓 10 -* iOS -* Windows Phone 7 和 8 -* Windows 8 - -## 方法 - -* splashscreen.show -* splashscreen.hide - -### Android 的怪癖 - -在你的 config.xml,您需要添加以下優惠: - - - - - -美孚在哪裡閃屏檔,最好是 9 修補程式檔的名稱。 請確保您的 splashcreen 檔添加到 res/xml 目錄下相應的資料夾。 第二個參數表示多久閃屏會顯示以毫秒為單位。 它將預設為 3000 毫秒。 有關更多資訊,請參見 [圖示和啟動畫面][1]。 - - [1]: http://cordova.apache.org/docs/en/edge/config_ref_images.md.html - -## splashscreen.hide - -解雇的閃屏。 - - navigator.splashscreen.hide(); - - -### 黑莓 10,WP8,iOS 怪癖 - -`config.xml` 檔 `AutoHideSplashScreen` 設置必須是 `假` 的。 若要延遲兩秒鐘隱藏的閃屏,`deviceready` 事件處理常式中添加一個計時器,如下所示: - - setTimeout(function() { - navigator.splashscreen.hide(); - }, 2000); - - -## splashscreen.show - -顯示初始螢幕。 - - navigator.splashscreen.show(); - - -您的應用程式無法調用 `navigator.splashscreen.show()`,直到該應用程式已啟動,且觸發了 `deviceready` 事件。 但是,由於通常的閃屏為了是可見的在您的應用程式啟動之前,這似乎會打敗閃屏的目的。 提供一些配置在 `config.xml` 中的會自動 `show` 初始螢幕您的應用程式啟動後立即和之前它已經完全起步並收到 `deviceready` 事件。 做這種配置的詳細資訊,請參閱 [圖示和啟動畫面][1]。 出於此原因,不太可能您需要調用 `navigator.splashscreen.show()`,使初始螢幕可見為應用程式啟動。 diff --git a/tests/ios/doc/de/README.md b/tests/ios/doc/de/README.md deleted file mode 100644 index 9c7f0a4f..00000000 --- a/tests/ios/doc/de/README.md +++ /dev/null @@ -1,39 +0,0 @@ - - -# iOS-Tests für CDVSplashScreen - -Sie müssen installieren `node.js` in `Cordova-Ios` zu ziehen. - -Installieren Sie Cordova-Ios zum ersten Mal: - - npm install - - -... im aktuellen Ordner. - -# Testen von Xcode - - 1. Starten Sie die Datei `CDVSplashScreenTest.xcworkspace` . - 2. Wählen Sie im Dropdown-Schema "CDVSplashScreenLibTests" - 3. Klicken Sie und halten Sie auf den `Play` -Button und wählen Sie das `Schraubenschlüssel` -Symbol zum Ausführen der tests - -# Tests von der Befehlszeile aus - - npm test diff --git a/tests/ios/doc/es/README.md b/tests/ios/doc/es/README.md deleted file mode 100644 index 2176c921..00000000 --- a/tests/ios/doc/es/README.md +++ /dev/null @@ -1,39 +0,0 @@ - - -# Pruebas de iOS para CDVSplashScreen - -Necesita instalar `node.js` en `Córdoba-ios`. - -Primero instalar cordova-ios: - - npm install - - -... en la carpeta actual. - -# Prueba de Xcode - - 1. Iniciar el archivo `CDVSplashScreenTest.xcworkspace` . - 2. Elija "CDVSplashScreenLibTests" en el menú de lista desplegable esquema - 3. Haga clic y mantenga el botón de `Play` y elegir el icono de `llave inglesa` para ejecutar las pruebas - -# Pruebas desde la línea de comandos - - npm test diff --git a/tests/ios/doc/fr/README.md b/tests/ios/doc/fr/README.md deleted file mode 100644 index 0dbbd0d2..00000000 --- a/tests/ios/doc/fr/README.md +++ /dev/null @@ -1,39 +0,0 @@ - - -# Tests d'iOS pour CDVSplashScreen - -Vous devez installer `node.js` à `cordova-ios`. - -Commencez par installer cordova-ios : - - npm install - - -... dans le dossier actuel. - -# Tests de Xcode - - 1. Lancez le fichier `CDVSplashScreenTest.xcworkspace` . - 2. Choisissez « CDVSplashScreenLibTests » dans le menu déroulant de régime - 3. Cliquez et maintenez sur la touche `Play` et cliquez sur l'icône de `clé` pour exécuter les tests - -# Test de la ligne de commande - - npm test diff --git a/tests/ios/doc/it/README.md b/tests/ios/doc/it/README.md deleted file mode 100644 index 2a42df67..00000000 --- a/tests/ios/doc/it/README.md +++ /dev/null @@ -1,39 +0,0 @@ - - -# Test di iOS per CDVSplashScreen - -È necessario installare `node. js` per tirare in `cordova-ios`. - -In primo luogo installare cordova-ios: - - npm install - - -... nella cartella corrente. - -# Test da Xcode - - 1. Lanciare il file `CDVSplashScreenTest.xcworkspace` . - 2. Scegli "CDVSplashScreenLibTests" dal menu a discesa Schema - 3. Fare clic e tenere premuto il pulsante `Play` e scegliere l'icona della `chiave inglese` per eseguire i test - -# Test dalla riga di comando - - npm test diff --git a/tests/ios/doc/ja/README.md b/tests/ios/doc/ja/README.md deleted file mode 100644 index 011b8242..00000000 --- a/tests/ios/doc/ja/README.md +++ /dev/null @@ -1,39 +0,0 @@ - - -# CDVSplashScreen の iOS のテスト - -`Node.js` `コルドバ`ios をプルするをインストールする必要があります。. - -コルドバ ios をインストールします。 - - npm install - - -現在のフォルダーに. - -# Xcode からテスト - - 1. `CDVSplashScreenTest.xcworkspace`ファイルを起動します。 - 2. スキーム] ドロップダウン メニューから"CDVSplashScreenLibTests"を選択します。 - 3. クリックし、`再生`ボタンを押し、テストを実行する`レンチ`のアイコンを選択 - -# コマンドラインからテスト - - npm test diff --git a/tests/ios/doc/ko/README.md b/tests/ios/doc/ko/README.md deleted file mode 100644 index 6981207a..00000000 --- a/tests/ios/doc/ko/README.md +++ /dev/null @@ -1,39 +0,0 @@ - - -# CDVSplashScreen에 대 한 iOS 테스트 - -`Node.js` `코르도바` ios에서를 설치 해야. - -코르도바-ios를 설치 하는 첫번째는: - - npm install - - -현재 폴더에.... - -# Xcode에서 테스트 - - 1. `CDVSplashScreenTest.xcworkspace` 파일을 시작 합니다. - 2. 구성표 드롭 다운 메뉴에서 "CDVSplashScreenLibTests"를 선택 - 3. 클릭 하 고 `재생` 버튼에는 테스트를 실행 하려면 `공구 모양` 아이콘을 선택 - -# 명령줄에서 테스트 - - npm test diff --git a/tests/ios/doc/pl/README.md b/tests/ios/doc/pl/README.md deleted file mode 100644 index f13828fe..00000000 --- a/tests/ios/doc/pl/README.md +++ /dev/null @@ -1,39 +0,0 @@ - - -# iOS testy dla CDVSplashScreen - -Musisz zainstalować `node.js` ciągnąć w `cordova-ios`. - -Najpierw zainstalować cordova-ios: - - npm install - - -... w folderze bieżącym. - -# Badania z Xcode - - 1. Uruchom plik `CDVSplashScreenTest.xcworkspace` . - 2. Wybierz z menu rozwijanego systemu "CDVSplashScreenLibTests" - 3. Kliknij i przytrzymaj przycisk `Play` i wybrać ikonę `klucz` do testów - -# Badania z wiersza polecenia - - npm test diff --git a/tests/ios/doc/zh/README.md b/tests/ios/doc/zh/README.md deleted file mode 100644 index 3a04bcd1..00000000 --- a/tests/ios/doc/zh/README.md +++ /dev/null @@ -1,39 +0,0 @@ - - -# CDVSplashScreen 的 iOS 測試 - -您需要安裝`node.js`拉`科爾多瓦 ios`中. - -第一次安裝科爾多瓦 ios: - - npm install - - -在當前資料夾中。 - -# 從 Xcode 測試 - - 1. 啟動`CDVSplashScreenTest.xcworkspace`檔。 - 2. 從方案下拉式功能表中選擇"CDVSplashScreenLibTests" - 3. 按一下並堅持`播放`按鈕,然後選擇要運行的測試的`扳手`圖示 - -# 從命令列測試 - - npm test