98 Commits

Author SHA1 Message Date
Dan Polivy
62e92afae8 CB-8758 [wp8]: UnauthorizedAccessException on hide()
When calling hide() from JS, the attempt to access Popup could happen on
a background thread, which ends up throwing an
UnauthorizedAccessException about cross-thread access.

To address this, it's best to check the popup's state from within the UI
thread.

Fixes https://issues.apache.org/jira/browse/CB-8758
2015-04-25 14:32:17 -07:00
Shazron Abdullah
559b300d29 CB-8836 - Crashes after animating splashscreen 2015-04-09 14:07:18 -07:00
Andrew Grieve
35272415d3 CB-8753 android: Fix missing import in previous commit 2015-04-07 20:37:06 -04:00
Alex Talis
dd9c88204c CB-8753 android: Adds SplashMaintainAspectRatio preference (close #43) 2015-04-07 10:55:23 -04:00
Andrew Grieve
9b3f750085 CB-8345 Make default for splashscreen resource "screen" (which is what template and CLI assume it to be) 2015-03-30 09:48:04 -04:00
Andrew Grieve
ba6730e594 Revert "CB-8345 android: Make "splash" the default resource ID instead of null"
This reverts commit 1d89a2aa1bf0b714d0debf5928cd85e66bbd090b.
There were some other changes in there that weren't meant to be made!
2015-03-30 09:47:00 -04:00
Andrew Grieve
1d89a2aa1b CB-8345 android: Make "splash" the default resource ID instead of null 2015-03-24 14:50:09 -04:00
daserge
bb65993a51 CB-7964 Add cordova-plugin-splashscreen support for browser platform
Added Browser platform support
Using cordova/confighelper module to read parameter values from config.xml
Updated the docs
2015-03-18 16:01:31 +03:00
Jesse MacFadyen
5afde1c62f [wp8] oops, Added back config parse result checks 2015-03-10 15:03:39 -07:00
Jesse MacFadyen
6b1e72c631 [WP8] code cleanup, minor refactors, comments to clarify some stuff. 2015-03-10 14:27:29 -07:00
Jesse MacFadyen
98edfeb73e Merge branch 'galexandrov/wp8-fixes' of https://github.com/Icenium/cordova-plugin-splashscreen 2015-03-10 12:53:16 -07:00
Georgi Alexandrov
688b138e31 Extend WP8 Splash Screen to respect SplashScreen and SplashScreenDelay preferences from config file 2015-03-09 14:30:14 +02:00
Andrew Grieve
c3a5867c81 CB-8351 ios: Stop using deprecated IsIpad macro 2015-01-27 10:20:17 -05:00
Andrew Grieve
e86a9cc7a4 CB-8280 android: Don't apply SplashScreenDelay when .show() is called explicitly 2015-01-19 13:39:55 -05:00
Andrew Grieve
e320e2504a CB-8079 Use activity class package name, but fallback to application package name when looking for splash screen drawable 2014-12-10 21:18:00 -05:00
Andrew Grieve
e593fe3f53 CB-3679 Make SplashScreen plugin compatible with cordova-android@4.0.x 2014-12-10 16:09:54 -05:00
Andrew Grieve
50e4887aa1 CB-3679 Break Android splashscreen logic into splascreen plugin 2014-12-10 15:37:15 -05:00
Shazron Abdullah
d2e62a551c CB-7204 - Race condition when hiding and showing spinner (closes #21) 2014-10-13 16:11:42 -07:00
Nic Mulvaney
2f37eed184 Fix for portrait/landscape detection
Sometimes the width can be 568 or 320 depending on orientation on iPhone 5. This fixes the detection.

Signed-off-by: Shazron Abdullah <shazron@apache.org>
2014-10-13 16:03:33 -07:00
Shazron Abdullah
24e6f2e0dd CB-7633 - (Re-fix based on updated unit tests) iPhone 6 Plus support 2014-10-01 13:59:22 -07:00
Shazron Abdullah
55722de1c4 CB-7633 - Add support for iPhone 6/6+ 2014-09-30 17:52:30 -07:00
Shazron Abdullah
0ffe1c2d46 Added failing iPhone 6/6 Plus tests. 2014-09-30 16:59:47 -07:00
Shazron Abdullah
d85c6a9359 CB-7663 - iOS unit tests for splash screen 2014-09-29 17:33:50 -07:00
Shazron Abdullah
fcd628ffc9 CB-7663 - prep for unit tests 2014-09-29 14:03:58 -07:00
Michael Hoisie
cd61952efc CB-7041 ios: Fix image filename logic when setting the iPad splash screen
When running Cordova apps without orientation lock on iPads, the
Splash Screen plugin didn't work properly. It would skip the iPad-
specific splash screen logic, and just select the image named
@"Default.png" (without adding the orientation suffix), and print
the following messages in the console:

WARNING: The splashscreen image named Default was not found

Now, for iPads, the splash screen image is set by first looking
at the position of the orientation lock, and if that is not set, it
uses the calculated view orientation.

close #19
2014-06-27 14:56:49 -04:00
Nadya Atanasova
1f50d90d9e fixes Splashscreen crash on WP8
The UI elements cannot be accessed from any other than the UI thread directly. So, enclose UI access code in the Dispatcher.BeginInvoke()
2014-06-19 16:55:35 +04:00
Jesse MacFadyen
988517df7f [wp] implemented OnInit so splash screen can be shown before cordova page is loaded 2014-05-29 17:41:49 -07:00
Ian Clelland
f46aae1075 CB-6465: Add license headers to Tizen code 2014-04-17 09:50:57 -04:00
Shazron Abdullah
e3e3996766 CB-4051 - Re-fix - Splashscreen rotation problem (closes #13) 2014-03-19 18:28:52 -07:00
Anis Kadri
61a7a6d3df Merge branch 'tizen' of http://github.com/siovene/cordova-plugin-splashscreen into dev 2014-01-27 17:33:40 -08:00
Michael Hanselmann
75327c88e4 [CB-3562] Fix aspect ratio on landscape-only iPhone applications
The splash screen is shown with a faulty aspect ratio for landscape-only
applications on iPhone/iPod touch devices. This is fixed by applying
a 90° rotational transformation.

Signed-off-by: Michael Hanselmann <public@hansmi.ch>
2014-01-15 16:33:32 -08:00
Sean Bollin
424e82cde4 CB-4051 fix for splashscreen rotation problem 2014-01-07 14:35:25 -08:00
Nathan Peles
d799eda020 Handle error when splash image is missing.
From pull request:
https://github.com/apache/cordova-plugin-splashscreen/pull/1
2013-12-06 14:38:28 -05:00
Gabriel Schulhof
8dc057b796 Proxy: Correct structure, and only ever create one splashscreen window. 2013-11-19 14:01:56 +02:00
Salvatore Iovene
cf7c35d399 Fix syntax errors. 2013-11-19 13:11:32 +02:00
Salvatore Iovene
3a1810baa5 Native Tizen implementation of SplashScreen API. 2013-11-19 12:55:35 +02:00
Salvatore Iovene
9ebd08f69b Add tentative Tizen implementation. 2013-11-19 12:43:12 +02:00
Maxim Ermilov
6c12ea4380 add ubuntu platform 2013-10-16 22:16:33 +04:00
Shazron Abdullah
c2dea2fc02 [CB-4806] (Re-fix) Update splashscreen image bounds for iOS 7 2013-10-01 13:26:05 -07:00
Shazron Abdullah
1111c8b3b9 [CB-4806] Update splashscreen image bounds for iOS 7 2013-09-16 17:26:48 -07:00
Andrew Grieve
9aecb3dd0c [CB-4417] Move cordova-plugin-splashscreen to its own Java package. 2013-08-14 15:52:33 -07:00
Shazron Abdullah
33f353d2e9 [CB-4355] Splashscreen plugin handles options incorrectly (the settings key is specified with upper case chars) 2013-07-24 15:48:59 -07:00
Benn Mapes
bd98d6ebec wp issue, removed bad reference to .cs file 2013-07-10 14:05:43 -07:00
Andrew Grieve
f717b491c7 [CB-4038] - Remove o.a.c.api namespace 2013-07-10 09:46:28 -04:00
Benn Mapes
efba1b1f74 [CB-3677] [CB-3676] Added windows phone splashscreen support 2013-07-09 17:10:13 -07:00
lorinbeer
49164dcfaa [CB-3634] splashscreen plugin breakout blackberry10 initial commit 2013-06-21 13:57:28 -07:00
Steven Gill
12b3d5ca99 added tests, docs, ios 2013-05-21 12:14:06 -07:00
Joe Bowser
28da32dac9 Initial Commit 2013-04-03 10:47:26 -07:00