Comments (7)
This is very intersesting, and I haven't ran into this before. You mentioned that you are using the CLI here (I think VS in the other scenerio) but when the project created VS or the CLI. Also, are you using a JSON manifest with the plugin, if so can you share?
from manifoldcordova.
Hi!
Keeps happening even when I create a new empty project with the plugin added directly via VS.
Steps to recreate:
- Create a new Cordova project with Visual Studio 2015 (with Visual Studio cordova tools installed)
- add a manifest.json: My test app's is as simple as this:
{
"lang": "en",
"name": "WebHost Platform Test",
"short_name": "WebHostPlatFormTest",
"icons": [
{
"src": "icon/lowres",
"sizes": "64x64",
"type": "image/webp"
},
{
"src": "icon/hd_small",
"sizes": "64x64"
},
{
"src": "icon/hd_hi",
"sizes": "128x128",
"density": 2
}
],
"scope": "/",
"start_url": "http://127.0.0.1:8000/",
"display": "fullscreen",
"orientation": "landscape",
"theme_color": "aliceblue"
}
- change config.xml (edit SOURCE) to include the plugin manually (as it's not listed in the prepopulated list):
<plugin name="cordova-plugin-hostedwebapp" version="0.3.1" />
-
In config.xml (NOT in edit source mode but normal double-click-on-file-mode), go to "Windows" tab and select Windows 10.0
-
In config.xml you can also make sure Platforms tab has Cordova 6.1.1 showing (Use globally Corodva version NOT ticked)
Hope this helps!
-Georg
from manifoldcordova.
Further investigation:
If I create a project and add the plugin via command line only (not using Visual Studio) then all works fine.
it's only when I try to create the project and add the plugin via Visual Studio 2015. Also I have to add the plugin directly into config.xml or via command line because when i try to add it via the config.xml visual designer, visual studio complains about not being able to read / parse plugin.xml
visual studio has the option to install plugins via id, git or local... none of the options worked.
from manifoldcordova.
we'll work with VS team to identify issue
from manifoldcordova.
Any news on this? I'm seeing the same issue.
from manifoldcordova.
Hi @aaronwjha and @ABPGeorg I wasn't able to recreate this before, but I'm seeing the same thing now. I'll reach out to the team. @jasonshortphd do you have any ideas? I think work around would be to manually move the wrapper.js file yourself but that's not a good solution.
from manifoldcordova.
The error Visual Studio gives you is because there are "<" characters in plugin.xml (in the version attribute):
<engine name="cordova-windows" version="<=4.3.9" />
<engine name="cordova-ios" version="<=4.1.9" />
<engine name="cordova-android" version="<=5.1.9" />
By replacing "<" with "<" Visual Studio will accept the file:
<engine name="cordova-windows" version="<=4.3.9" />
<engine name="cordova-ios" version="<=4.1.9" />
<engine name="cordova-android" version="<=5.1.9" />
from manifoldcordova.
Related Issues (20)
- Cookies cleared on app restart in Android release build HOT 3
- Release version with fix for #82
- HostedWebApp Plugin not working for iOS HOT 1
- Visual studio process
- cordova-plugin-file doesn't work with ManifoldCordova on Windows 10
- Is there a soon coming update? HOT 6
- Error: Cannot find module '../../node_modules/elementtree' HOT 7
- can't been installed in visual studio 2015, character '<' is illegal
- Ho do I handle no Internet case on application start? HOT 1
- missing cordova.js HOT 1
- How to deal with downloads?
- View doesn't shrink when soft keyboard is shown on Android
- Support android v 8.0.0. HOT 1
- Add platform: Invalid or unexpected token HOT 2
- iOS App - Opens safari - Incase url redirections from http to https Web URL HOT 1
- ErrorUrl not working / whitelist issue HOT 2
- Webview cache not being used (iOS) HOT 4
- Superfluous injection into child iframes (iOS) HOT 2
- Does not work with the latest cordova-ios version HOT 6
- Support for WKWebView on iOS HOT 6
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 manifoldcordova.