Commit 293e5acd by Sebastián Katzer

Update project

parent 8b967508
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ReferenceCachePath>C:\Users\sebastian\AppData\Local\Temp\oe2z1w2e_CordovaApp.Phone_refcache</ReferenceCachePath>
</PropertyGroup>
</Project>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ReferenceCachePath>C:\Users\sebastian\AppData\Local\Temp\ja4qltd2_CordovaApp.Windows_refcache</ReferenceCachePath>
</PropertyGroup>
</Project>
\ No newline at end of file
......@@ -25,8 +25,8 @@
Weitere Informationen zu Paketmanifestdateien finden Sie unter http://go.microsoft.com/fwlink/?LinkID=241727
-->
<Identity Name="c05631e0-de03-11e4-96be-cfbf5b6cb232" Version="1.0.0.0" Publisher="CN=$username$" ProcessorArchitecture="neutral" />
<mp:PhoneIdentity PhoneProductId="c05631e0-de03-11e4-96be-cfbf5b6cb232" PhonePublisherId="db093ed5-53b1-45f7-af72-751e8f36ab80" />
<Identity Name="1482d0c0-f943-11e4-ad39-81ab0f14e62c" Version="1.0.0.0" Publisher="CN=$username$" ProcessorArchitecture="neutral" />
<mp:PhoneIdentity PhoneProductId="1482d0c0-f943-11e4-ad39-81ab0f14e62c" PhonePublisherId="db093ed5-53b1-45f7-af72-751e8f36ab80" />
<Properties>
<DisplayName>NotificationExample</DisplayName>
<PublisherDisplayName>$username$</PublisherDisplayName>
......
......@@ -6,7 +6,7 @@
<TargetPlatformIdentifier>WindowsPhoneApp</TargetPlatformIdentifier>
<SolutionConfiguration>Debug|AnyCPU</SolutionConfiguration>
<PackageArchitecture>neutral</PackageArchitecture>
<PackageIdentityName>c05631e0-de03-11e4-96be-cfbf5b6cb232</PackageIdentityName>
<PackageIdentityName>1482d0c0-f943-11e4-ad39-81ab0f14e62c</PackageIdentityName>
<IntermediateOutputPath>Y:\Documents\github\cordova-example-local-notifications\platforms\windows\build\phone\bld\</IntermediateOutputPath>
</PropertyGroup>
<ItemGroup>
......
......@@ -18,8 +18,8 @@
under the License.
-->
<Package xmlns="http://schemas.microsoft.com/appx/2010/manifest" xmlns:m2="http://schemas.microsoft.com/appx/2013/manifest" xmlns:m3="http://schemas.microsoft.com/appx/2014/manifest" xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest">
<Identity Name="c05631e0-de03-11e4-96be-cfbf5b6cb232" Version="1.0.0.0" Publisher="CN=$username$" />
<mp:PhoneIdentity PhoneProductId="c05631e0-de03-11e4-96be-cfbf5b6cb232" PhonePublisherId="db093ed5-53b1-45f7-af72-751e8f36ab80" />
<Identity Name="1482d0c0-f943-11e4-ad39-81ab0f14e62c" Version="1.0.0.0" Publisher="CN=$username$" />
<mp:PhoneIdentity PhoneProductId="1482d0c0-f943-11e4-ad39-81ab0f14e62c" PhonePublisherId="db093ed5-53b1-45f7-af72-751e8f36ab80" />
<Properties>
<DisplayName>NotificationExample</DisplayName>
<PublisherDisplayName>$username$</PublisherDisplayName>
......
......@@ -18,7 +18,7 @@
under the License.
-->
<Package xmlns="http://schemas.microsoft.com/appx/2010/manifest" xmlns:m2="http://schemas.microsoft.com/appx/2013/manifest">
<Identity Name="c05631e0-de03-11e4-96be-cfbf5b6cb232" Version="1.0.0.0" Publisher="CN=$username$" />
<Identity Name="1482d0c0-f943-11e4-ad39-81ab0f14e62c" Version="1.0.0.0" Publisher="CN=$username$" />
<Properties>
<DisplayName>NotificationExample</DisplayName>
<PublisherDisplayName>$username$</PublisherDisplayName>
......
......@@ -18,7 +18,7 @@
under the License.
-->
<Package xmlns="http://schemas.microsoft.com/appx/2010/manifest">
<Identity Name="c05631e0-de03-11e4-96be-cfbf5b6cb232" Version="1.0.0.0" Publisher="CN=$username$" />
<Identity Name="1482d0c0-f943-11e4-ad39-81ab0f14e62c" Version="1.0.0.0" Publisher="CN=$username$" />
<Properties>
<DisplayName>NotificationExample</DisplayName>
<PublisherDisplayName>$username$</PublisherDisplayName>
......
......@@ -8,9 +8,9 @@
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
......@@ -178,7 +178,6 @@ var cordova = {
version:PLATFORM_VERSION_BUILD_LABEL,
platformVersion:PLATFORM_VERSION_BUILD_LABEL,
platformId:platform.id,
env:{},
/**
* Methods to add/remove your own addEventListener hijacking on document + window.
*/
......@@ -1260,7 +1259,7 @@ exports.reset();
define("cordova/platform", function(require, exports, module) {
module.exports = {
// for backward compatibility we report 'windows8' when run on Windows 8.0 and
// for backward compatibility we report 'windows8' when run on Windows 8.0 and
// 'windows' for Windows 8.1 and Windows Phone 8.1
id: (navigator.appVersion.indexOf("MSAppHost/1.0") !== -1) ? 'windows8' : 'windows',
bootstrap:function() {
......@@ -1282,15 +1281,9 @@ module.exports = {
cordova.fireDocumentEvent('resume',null,true);
};
var activationHandler = function activationHandler(e) {
cordova.env = (cordova.env || { });
cordova.env.args = e.detail;
};
app.addEventListener("checkpoint", checkpointHandler);
Windows.UI.WebUI.WebUIApplication.addEventListener("resuming", resumingHandler, false);
var activatedHandler = function (args) {channel.deviceready.subscribe(function () {app.queueEvent(args);});};app.addEventListener('activated', activatedHandler, false);document.addEventListener('deviceready', function () {app.removeEventListener('activated', activatedHandler);}, false);
app.addEventListener('activated', activationHandler);
var activatedHandler = function (args) {channel.deviceready.subscribe(function () {app.queueEvent(args);});};app.addEventListener('activated', activatedHandler, false);document.addEventListener('deviceready', function () {app.removeEventListener('activated', activatedHandler);}, false);
app.start();
};
......
cordova.define('cordova/plugin_list', function(require, exports, module) {
module.exports = [
{
"file": "plugins/nl.x-services.plugins.toast/www/Toast.js",
"id": "nl.x-services.plugins.toast.Toast",
"clobbers": [
"window.plugins.toast"
]
},
{
"file": "plugins/nl.x-services.plugins.toast/test/tests.js",
"id": "nl.x-services.plugins.toast.tests"
},
{
"file": "plugins/de.appplant.cordova.plugin.local-notification/www/local-notification.js",
"id": "de.appplant.cordova.plugin.local-notification.LocalNotification",
"clobbers": [
......@@ -57,6 +46,17 @@ module.exports = [
]
},
{
"file": "plugins/nl.x-services.plugins.toast/www/Toast.js",
"id": "nl.x-services.plugins.toast.Toast",
"clobbers": [
"window.plugins.toast"
]
},
{
"file": "plugins/nl.x-services.plugins.toast/test/tests.js",
"id": "nl.x-services.plugins.toast.tests"
},
{
"file": "plugins/org.apache.cordova.device/www/device.js",
"id": "org.apache.cordova.device.device",
"clobbers": [
......@@ -74,8 +74,10 @@ module.exports = [
module.exports.metadata =
// TOP OF METADATA
{
"nl.x-services.plugins.toast": "2.0.3",
"android.support.v4": "21.0.1",
"de.appplant.cordova.common.registerusernotificationsettings": "1.0.1",
"de.appplant.cordova.plugin.local-notification": "0.8.2dev",
"nl.x-services.plugins.toast": "2.0.3",
"org.apache.cordova.device": "0.3.0"
}
// BOTTOM OF METADATA
......
......@@ -189,7 +189,7 @@ exports.buildToastTemplate = function (options) {
// template with Image
if (imageNode !== '') {
templateName = "ToastImageAndText";
};
}
} else {
imageNode = "";
}
......@@ -390,7 +390,7 @@ exports.fireEvent = function (event, notification) {
args = [event, state];
}
if (this.isReady) {
if (this.isReady && plugin) {
plugin.fireEvent.apply(plugin, args);
} else {
this.eventQueue.push(args);
......
[![PayPayl donate button](https://img.shields.io/badge/paypal-donate-yellow.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=L3HKQCD9UA35A "Donate once-off to this project using Paypal")
#### :bangbang: Please vote for that cordova-windows issue :bangbang:
https://issues.apache.org/jira/browse/CB-8674
#### :bangbang: Please vote for these cordova-windows issues :bangbang:
1. https://issues.apache.org/jira/browse/CB-8674 _(Missing launch arguments)_
2. https://issues.apache.org/jira/browse/CB-8946 _(Missing ToastCapable flag)_
Thanks a lot!
......
......@@ -189,7 +189,7 @@ exports.buildToastTemplate = function (options) {
// template with Image
if (imageNode !== '') {
templateName = "ToastImageAndText";
};
}
} else {
imageNode = "";
}
......@@ -390,7 +390,7 @@ exports.fireEvent = function (event, notification) {
args = [event, state];
}
if (this.isReady) {
if (this.isReady && plugin) {
plugin.fireEvent.apply(plugin, args);
} else {
this.eventQueue.push(args);
......
......@@ -4,20 +4,20 @@
"uninstalled": []
},
"config_munge": {
"files": {
"config.xml": {
"parents": {
"/*": []
}
}
}
"files": {}
},
"installed_plugins": {
"nl.x-services.plugins.toast": {
"android.support.v4": {
"PACKAGE_NAME": "NotificationExample"
},
"de.appplant.cordova.common.registerusernotificationsettings": {
"PACKAGE_NAME": "NotificationExample"
},
"de.appplant.cordova.plugin.local-notification": {
"PACKAGE_NAME": "NotificationExample"
},
"nl.x-services.plugins.toast": {
"PACKAGE_NAME": "NotificationExample"
}
},
"dependent_plugins": {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment