EddyVerbruggen / Custom-URL-scheme

:link: Launch your Cordova/PhoneGap app by a Custom URL scheme like mycoolapp://
1.03k stars 367 forks source link

Install on Windows wrecks the build (latest versions) #212

Closed msegers closed 7 years ago

msegers commented 7 years ago

Hi,

I checked on a new project it's very simple to reproduce. Make sure you install cordova latest

npm install -g cordova@latest

Then I did this:

Mathijs@DESKTOP-HO0SNN7 MINGW64 ~/projects
$ cordova create inappbrowser nl.msegers.test

You have been opted out of telemetry. To change this, run: cordova telemetry on.
Using detached cordova-create
Creating a new cordova project.

Mathijs@DESKTOP-HO0SNN7 MINGW64 ~/projects
$ cd inappbrowser/

Mathijs@DESKTOP-HO0SNN7 MINGW64 ~/projects/inappbrowser
$ cordova plugin add cordova-plugin-customurlscheme --variable nl.msegers.test

You have been opted out of telemetry. To change this, run: cordova telemetry on.
Error: invalid variable format: nl.msegers.test

Mathijs@DESKTOP-HO0SNN7 MINGW64 ~/projects/inappbrowser
$ cordova plugin add cordova-plugin-customurlscheme --variable URL_SCHEME=nl.msegers.test

You have been opted out of telemetry. To change this, run: cordova telemetry on.
Fetching plugin "cordova-plugin-customurlscheme" via npm

Mathijs@DESKTOP-HO0SNN7 MINGW64 ~/projects/inappbrowser
$ cordova platform add windows

You have been opted out of telemetry. To change this, run: cordova telemetry on.
Adding windows project...
Creating Cordova Windows Project:
        Path: platforms\windows
        Namespace: nl.msegers.test
        Name: HelloCordova
Windows project created with cordova-windows@4.4.3
Installing "cordova-plugin-customurlscheme" for windows
Error: ENOENT: no such file or directory, open 'C:\Users\Mathijs\projects\inappbrowser\platforms\windows\package.windows80.appxmanifest'

So create a new clean cordova project, add the Custom url scheme plugin, and everything is broken. The errors are not very clear and I'm not sure what I can do to fix this. (Except downgrade).

Could you look into this?

msegers commented 7 years ago

Allright it seems like this is fixed in the actual git branch. Though not in the version fetched by cordova