Skip to content

Commit

Permalink
test(ios): use launch storyboards to fill iPhone X screen
Browse files Browse the repository at this point in the history
  • Loading branch information
bitjson committed May 17, 2018
1 parent 610a004 commit 3496708
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions tests/project/config.xml
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
<?xml version='1.0' encoding='utf-8'?>
<widget id="test.qrscanner.t{{TIMESTAMP}}" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<widget id="test.qrscanner.t{{TIMESTAMP}}"
xmlns="http://www.w3.org/ns/widgets"
xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>CvQRScnTst</name>
<description>
A test application for the cordova-plugin-qrscanner package.
</description>
<author email="[email protected]" href="https://bitpay.com">
BitPay
</author>
<description>A test application for the cordova-plugin-qrscanner package.</description>
<author email="[email protected]" href="https://bitpay.com">BitPay</author>
<content src="cdvtests/index.html" />
<plugin name="cordova-plugin-whitelist" spec="1" />
<access origin="*" />
Expand All @@ -24,6 +22,9 @@
<preference name="orientation" value="all" />
<allow-intent href="itms:*" />
<allow-intent href="itms-apps:*" />
<!-- using the new launch storyboard feature allows the app to use the full screen on iPhone X -->
<splash src="resources/Default@2x~universal~anyany.png" />
<splash src="resources/Default@3x~universal~anyany.png" />
</platform>
<plugin name="cordova-plugin-qrscanner" spec="../../cordova-plugin-qrscanner" />
<plugin name="cordova-plugin-qrscanner-tests" spec="../../cordova-plugin-qrscanner/tests" />
Expand All @@ -34,4 +35,4 @@
<engine name="ios" spec="~4.1.1" />
<engine name="android" spec="~5.1.1" />
<engine name="windows" spec="~5.0.0" />
</widget>
</widget>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 3496708

Please sign in to comment.