Comments (5)
you can repro it now using:
<?xml version='1.0' encoding='utf-8'?>
<widget id="io.cordova.hellocordova" version="1.0.0">
<name>HelloCordova</name>
<splash src="splash.jpg" width="7000" height="1200" />
</widget>
n.b. the splash file must exist
from cordova-windows.
I just raised PR #301 which should resolve this issue.
Long term solution (in a major release) may be to drop the lines after "Fall back on find by size for old non-MRT syntax" in getTargetForImage
.
from cordova-windows.
P.S. This issue was introduced in 973fe6d.
from cordova-windows.
@goya Do you still know how to recreate this? It would be best if we could add a test case on our side to avoid this popping up again.
from cordova-windows.
Confirmed fixed:
E:\Projects\throwaway\cordovaWindows299 ([email protected])
λ cordova platform add windows
Using cordova-fetch for cordova-windows@^7.0.0
Adding windows project...
Creating Cordova Windows Project:
Path: platforms\windows
Namespace: io.cordova.hellocordova
Name: HelloCordova
cp: no such file or directory: E:\Projects\throwaway\cordovaWindows299\node_modules\cordova-windows\node_modules\winjs\js\base.js
cp: no such file or directory: E:\Projects\throwaway\cordovaWindows299\node_modules\cordova-windows\node_modules\winjs\js\base.js
Windows project created with [email protected]
Plugin 'cordova-plugin-whitelist' found in config.xml... Migrating it to package.json
Discovered saved plugin "cordova-plugin-whitelist". Adding it to the project
Installing "cordova-plugin-whitelist" for windows
Adding cordova-plugin-whitelist to package.json
E:\Projects\throwaway\cordovaWindows299 ([email protected])
λ cordova prepare windows
The following image was skipped because it has an unsupported size (7000x1200): splash.png
Cannot read property 'targetProject' of null
E:\Projects\throwaway\cordovaWindows299 ([email protected])
λ cordova platform rm windows
Removing windows from cordova.platforms array in package.json
E:\Projects\throwaway\cordovaWindows299 ([email protected])
λ cordova platform add github:apache/cordova-windows
Using cordova-fetch for github:apache/cordova-windows
Warning: using prerelease platform [email protected].
Use 'cordova platform add windows@latest' to add the latest published version instead.
Adding windows project...
Creating Cordova Windows Project:
Path: platforms\windows
Namespace: io.cordova.hellocordova
Name: HelloCordova
Windows project created with [email protected]
The following image was skipped because it has an unsupported size (7000x1200): splash.png
Installing "cordova-plugin-whitelist" for windows
The following image was skipped because it has an unsupported size (7000x1200): splash.png
E:\Projects\throwaway\cordovaWindows299 ([email protected])
λ cordova prepare windows
The following image was skipped because it has an unsupported size (7000x1200): splash.png
E:\Projects\throwaway\cordovaWindows299 ([email protected])
λ
But tbh no idea how to turn this into a test.
from cordova-windows.
Related Issues (20)
- JavaScript UWP development from VS 2019 not supported HOT 1
- JavaScript UWP development from Visual Studio 2019 not supported HOT 1
- Can't cordova build or run platform windows with Visual Studio 2017 HOT 3
- use @cordova/eslint-config HOT 1
- META: start major release 8.0.0 with some breaking changes HOT 1
- Can we use target minimum windows SDK version 10.0.16299.0 HOT 1
- Error: WebGL not supported HOT 2
- Windows: uap capability included when building for 8.1 HOT 1
- Using Chrome-based webview as rendering backend for Cordova for Windows instead of EdgeHTML HOT 2
- comma as decimal separator on ```<input type="number"> ``` HOT 1
- window.alert , prompt, confirm not working, please help me it is an emergency. Please please help me urgently.🙏🏻🙏🏻🙏🏻🙏🏻 HOT 1
- The following navigation rule had an invalid URI scheme and will be ignored: "*". HOT 1
- Microsoft Surface hybrid touch events HOT 1
- Absolute (root relative) paths do not resolve to www folder, instead point to C:\... HOT 3
- Cordova installation problem HOT 2
- Running HelloWorld throws an error HOT 2
- package.windows10.appxmanifest does not set the correct descriptions as in config.xml HOT 1
- instructions from https://cordova.apache.org for platform Windows erroneous HOT 1
- The processor architecture of your project 'arm' doesn’t match the processor architecture 'x86' of the referenced project 'SQLite3.UWP'. HOT 1
- shelljs 0.5.3 is vulnerable HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cordova-windows.