-
Notifications
You must be signed in to change notification settings - Fork 984
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CB-13143: Integrate and replace SplashScreens with Launch Storyboard #790
Conversation
@dpogue I pushed an update to remove the unit tests that I forgot to remove in the commit that you cherry picked. Locally I saw another error but from the Objective-C tests. |
37e76bc
to
e1fbb8a
Compare
@erisu FYI I rebased and squashed your Jasmine test fix commit into the one where the prepare code was removed. This should hopefully pass all the Obj-C tests too |
Codecov Report
@@ Coverage Diff @@
## master #790 +/- ##
==========================================
+ Coverage 74.2% 74.63% +0.43%
==========================================
Files 13 13
Lines 1849 1770 -79
==========================================
- Hits 1372 1321 -51
+ Misses 477 449 -28
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
f18db9e
to
f27f4cb
Compare
f27f4cb
to
a1d5c03
Compare
During testing, this PR will also no longer provide or display the default Cordova splashscreen as designed. Same behaviour as Android platform to not show a default splashscreen. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code LGTM 👍 . Simple test was successfull (if you read the instructions about the iOS simulator in the splashscreen repo :-)). The loading circle in the splashscreen is gone, too.
Does documentation need to move to this repo as well?
Documentation would need to go into Only the plugin documentation were written within its own repos and then the |
Co-authored-by: Erisu <ellis.bryan@gmail.com>
Codecov Report
@@ Coverage Diff @@
## master #790 +/- ##
==========================================
+ Coverage 74.40% 74.85% +0.44%
==========================================
Files 13 13
Lines 1821 1742 -79
==========================================
- Hits 1355 1304 -51
+ Misses 466 438 -28
Continue to review full report at Codecov.
|
This displays an empty screen for me (transparent, unless backgroundcolor is set). The storyboard is loaded and ok, but the view returned from |
/** | ||
Method to be called from the plugin JavaScript to show or hide the launch screen. | ||
*/ | ||
- (void)showLaunchScreen:(BOOL)visible |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This method delays showing the splash screen by SplashScreenDelay
ms when visible = YES
.
@kanongil Please test against nightly or master. The Issue you are mentioning sound relatively similar to what has already been reported and fixed in master.
If you have any issues please open a new ticket instead of messaging inside a PR which has already been merged and released. |
Platforms affected
iOS
Motivation and Context
Apple is deprecating Launch Images and will require Launch Storyboards for all apps as of April 2020 (Closes Use storyboards & default split screens support - required from July 2020 #770).
As per the decisions resulting from the plugin audit, CB-13143 intends to integrate the SplashScreen plugin API into each native platform and deprecate the plugin.
Description
prepare
stepCDVViewController
Testing
Checklist