Skip to content

Commit c26c244

Browse files
uap namespace fix
1 parent 2130d44 commit c26c244

File tree

1 file changed

+24
-23
lines changed

1 file changed

+24
-23
lines changed

plugin.xml

Lines changed: 24 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
<?xml version="1.0" encoding="UTF-8"?>
1+
<?xml version='1.0' encoding='utf-8'?>
22
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
33
xmlns:android="http://schemas.android.com/apk/res/android"
4+
xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"
45
id="cordova-plugin-customurlscheme"
56
version="4.3.0">
67

@@ -123,27 +124,27 @@
123124
</platform>
124125

125126
<!-- wp8 -->
126-
<platform name="wp8">
127-
<config-file target="config.xml" parent="/*">
128-
<feature name="CustomUriMapperCommand">
129-
<param name="wp-package" value="CustomUriMapperCommand"/>
130-
<param name="onload" value="true" />
131-
</feature>
132-
</config-file>
133-
134-
<config-file target="Properties/WMAppManifest.xml" parent="/Deployment/App" after="Tokens">
135-
<Extensions>
136-
<Protocol Name="$URL_SCHEME" NavUriFragment="encodedLaunchUri=%s" TaskID="_default" />
137-
</Extensions>
138-
</config-file>
139-
140-
<source-file src="src/wp8/CompositeUriMapper.cs" />
141-
<source-file src="src/wp8/ICustomUriMapper.cs" />
142-
<source-file src="src/wp8/CustomUriMapperCommand.cs" />
143-
<js-module src="www/wp8/LaunchMyApp.js" name="LaunchMyApp">
144-
<clobbers target="window.plugins.launchmyapp" />
145-
</js-module>
146-
<hook type="after_plugin_install" src="src/wp8/hooks/add-uri-mapper.js" />
147-
</platform>
127+
<platform name="wp8">
128+
<config-file target="config.xml" parent="/*">
129+
<feature name="CustomUriMapperCommand">
130+
<param name="wp-package" value="CustomUriMapperCommand"/>
131+
<param name="onload" value="true" />
132+
</feature>
133+
</config-file>
134+
135+
<config-file target="Properties/WMAppManifest.xml" parent="/Deployment/App" after="Tokens">
136+
<Extensions>
137+
<Protocol Name="$URL_SCHEME" NavUriFragment="encodedLaunchUri=%s" TaskID="_default" />
138+
</Extensions>
139+
</config-file>
140+
141+
<source-file src="src/wp8/CompositeUriMapper.cs" />
142+
<source-file src="src/wp8/ICustomUriMapper.cs" />
143+
<source-file src="src/wp8/CustomUriMapperCommand.cs" />
144+
<js-module src="www/wp8/LaunchMyApp.js" name="LaunchMyApp">
145+
<clobbers target="window.plugins.launchmyapp" />
146+
</js-module>
147+
<hook type="after_plugin_install" src="src/wp8/hooks/add-uri-mapper.js" />
148+
</platform>
148149

149150
</plugin>

0 commit comments

Comments
 (0)