Commit c2505ca7 by Sebastián Katzer

WIP

parent 086fd02b
cordova-example-local-notifications
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CompilerConfiguration">
<resourceExtensions />
<wildcardResourcePatterns>
<entry name="!?*.java" />
<entry name="!?*.form" />
<entry name="!?*.class" />
<entry name="!?*.groovy" />
<entry name="!?*.scala" />
<entry name="!?*.flex" />
<entry name="!?*.kt" />
<entry name="!?*.clj" />
</wildcardResourcePatterns>
<annotationProcessing>
<profile default="true" name="Default" enabled="false">
<processorPath useClasspath="true" />
</profile>
</annotationProcessing>
</component>
</project>
\ No newline at end of file
<component name="CopyrightManager">
<copyright>
<option name="notice" value="Copyright (c) 2014-2015 by appPlant UG. All rights reserved.&#10;&#10;@APPPLANT_LICENSE_HEADER_START@&#10;&#10;This file contains Original Code and/or Modifications of Original Code&#10;as defined in and that are subject to the Apache License&#10;Version 2.0 (the 'License'). You may not use this file except in&#10;compliance with the License. Please obtain a copy of the License at&#10;http://opensource.org/licenses/Apache-2.0/ and read it before using this&#10;file.&#10;&#10;The Original Code and all software distributed under the License are&#10;distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER&#10;EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,&#10;INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,&#10;FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.&#10;Please see the License for the specific language governing rights and&#10;limitations under the License.&#10;&#10;@APPPLANT_LICENSE_HEADER_END@" />
<option name="keyword" value="@APPPLANT_LICENSE_HEADER_START@" />
<option name="allowReplaceKeyword" value="appPlant" />
<option name="myName" value="appPlant License" />
<option name="myLocal" value="true" />
</copyright>
</component>
\ No newline at end of file
<component name="CopyrightManager">
<settings default="appPlant License">
<module2copyright>
<element module="Project Files" copyright="appPlant License" />
</module2copyright>
</settings>
</component>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Encoding">
<file url="PROJECT" charset="UTF-8" />
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="GradleSettings">
<option name="linkedExternalProjectsSettings">
<GradleProjectSettings>
<option name="distributionType" value="LOCAL" />
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="gradleHome" value="$APPLICATION_HOME_DIR$/gradle/gradle-2.8" />
<option name="gradleJvm" value="1.7" />
<option name="modules">
<set>
<option value="$PROJECT_DIR$" />
</set>
</option>
</GradleProjectSettings>
</option>
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="GroovyCompilerProjectConfiguration">
<option name="invokeDynamic" value="true" />
</component>
<component name="ProjectDictionaryState">
<dictionary name="sebastian" />
</component>
<component name="ProjectInspectionProfilesVisibleTreeState">
<entry key="Project Default">
<profile-state>
<expanded-state>
<State>
<id />
</State>
</expanded-state>
<selected-state>
<State>
<id>Android</id>
</State>
</selected-state>
</profile-state>
</entry>
</component>
<component name="ProjectLevelVcsManager" settingsEditedManually="false">
<OptionsSetting value="true" id="Add" />
<OptionsSetting value="true" id="Remove" />
<OptionsSetting value="true" id="Checkout" />
<OptionsSetting value="true" id="Update" />
<OptionsSetting value="true" id="Status" />
<OptionsSetting value="true" id="Edit" />
<ConfirmationsSetting value="0" id="Add" />
<ConfirmationsSetting value="0" id="Remove" />
</component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_6" assert-keyword="true" jdk-15="true" project-jdk-name="1.7" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/build/classes" />
</component>
<component name="masterDetails">
<states>
<state key="Copyright.UI">
<settings>
<last-edited>appPlant License</last-edited>
<splitter-proportions>
<option name="proportions">
<list>
<option value="0.2" />
</list>
</option>
</splitter-proportions>
</settings>
</state>
<state key="ProjectJDKs.UI">
<settings>
<last-edited>1.7</last-edited>
<splitter-proportions>
<option name="proportions">
<list>
<option value="0.2" />
</list>
</option>
</splitter-proportions>
</settings>
</state>
<state key="ScopeChooserConfigurable.UI">
<settings>
<splitter-proportions>
<option name="proportions">
<list>
<option value="0.2" />
</list>
</option>
</splitter-proportions>
</settings>
</state>
</states>
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/cordova-example-local-notifications.iml" filepath="$PROJECT_DIR$/cordova-example-local-notifications.iml" />
</modules>
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
</component>
</project>
\ No newline at end of file
# Non-project-specific build files:
build.xml
local.properties
/gradlew
/gradlew.bat
/gradle
# Ant builds
ant-build
ant-gen
# Eclipse builds
# Ant builds
/gradlew.bat
gen
out
# Non-project-specific build files:
# Gradle builds
ant-build
/build
/gradlew
# Eclipse builds
/gradle
build.xml
/.idea/dictionaries
out
local.properties
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="EntryPointsManager">
<entry_points version="2.0" />
</component>
<component name="GroovyCompilerProjectConfiguration">
<option name="invokeDynamic" value="true" />
</component>
<component name="ProjectDictionaryState">
<dictionary name="sebastian" />
<component name="NullableNotNullManager">
<option name="myDefaultNullable" value="android.support.annotation.Nullable" />
<option name="myDefaultNotNull" value="android.support.annotation.NonNull" />
<option name="myNullables">
<value>
<list size="4">
<item index="0" class="java.lang.String" itemvalue="org.jetbrains.annotations.Nullable" />
<item index="1" class="java.lang.String" itemvalue="javax.annotation.Nullable" />
<item index="2" class="java.lang.String" itemvalue="edu.umd.cs.findbugs.annotations.Nullable" />
<item index="3" class="java.lang.String" itemvalue="android.support.annotation.Nullable" />
</list>
</value>
</option>
<option name="myNotNulls">
<value>
<list size="4">
<item index="0" class="java.lang.String" itemvalue="org.jetbrains.annotations.NotNull" />
<item index="1" class="java.lang.String" itemvalue="javax.annotation.Nonnull" />
<item index="2" class="java.lang.String" itemvalue="edu.umd.cs.findbugs.annotations.NonNull" />
<item index="3" class="java.lang.String" itemvalue="android.support.annotation.NonNull" />
</list>
</value>
</option>
</component>
<component name="ProjectInspectionProfilesVisibleTreeState">
<entry key="Project Default">
......
......@@ -82,7 +82,7 @@
"cordova-plugin-x-toast": {
"PACKAGE_NAME": "de.appplant.localnotification.example"
},
"de.appplant.cordova.common.registerusernotificationsettings": {
"cordova-plugin-registerusernotificationsettings": {
"PACKAGE_NAME": "de.appplant.localnotification.example"
},
"de.appplant.cordova.plugin.local-notification": {
......
......@@ -325,7 +325,7 @@
0867D690FE84028FC02AAC07 /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 0710;
LastUpgradeCheck = 0510;
};
buildConfigurationList = 1DEB922208733DC00010E9CD /* Build configuration list for PBXProject "CordovaLib" */;
compatibilityVersion = "Xcode 3.2";
......@@ -432,7 +432,6 @@
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
ENABLE_TESTABILITY = YES;
GCC_C_LANGUAGE_STANDARD = c99;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = "";
......
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0710"
LastUpgradeVersion = "0720"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
......
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0710"
LastUpgradeVersion = "0720"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
......
......@@ -2,6 +2,11 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleDisplayName</key>
......@@ -56,42 +61,20 @@
<string>${PRODUCT_NAME}</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>0.0.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>0.0.1</string>
<key>CFBundleShortVersionString</key>
<string>0.0.1</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
<key>NSExceptionDomains</key>
<dict>
<key>m.facebook.com</key>
<dict/>
<key>graph.facebook.com</key>
<dict/>
<key>api.facebook.com</key>
<dict/>
<key>fbcdn.net</key>
<dict>
<key>NSIncludesSubdomains</key>
<true/>
</dict>
<key>akamaihd.net</key>
<dict>
<key>NSIncludesSubdomains</key>
<true/>
</dict>
</dict>
</dict>
<key>NSMainNibFile</key>
<string/>
<key>NSMainNibFile~ipad</key>
<string/>
<key>UIRequiresFullScreen</key>
<true/>
<key>UILaunchImages</key>
<array>
<dict>
......@@ -195,7 +178,5 @@
<string>{768, 1024}</string>
</dict>
</array>
<key>UIRequiresFullScreen</key>
<true/>
</dict>
</plist>
\ No newline at end of file
/*
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
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
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
*/
#import <UIKit/UIKit.h>
#import <Cordova/CDVPlugin.h>
@interface CDVDevice : CDVPlugin
{}
+ (NSString*)cordovaVersion;
- (void)getDeviceInfo:(CDVInvokedUrlCommand*)command;
@end
../../../../../plugins/cordova-plugin-device/src/ios/CDVDevice.h
\ No newline at end of file
/*
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
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
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
*/
#include <sys/types.h>
#include <sys/sysctl.h>
#include "TargetConditionals.h"
#import <Cordova/CDV.h>
#import "CDVDevice.h"
@implementation UIDevice (ModelVersion)
- (NSString*)modelVersion
{
size_t size;
sysctlbyname("hw.machine", NULL, &size, NULL, 0);
char* machine = malloc(size);
sysctlbyname("hw.machine", machine, &size, NULL, 0);
NSString* platform = [NSString stringWithUTF8String:machine];
free(machine);
return platform;
}
@end
@interface CDVDevice () {}
@end
@implementation CDVDevice
- (NSString*)uniqueAppInstanceIdentifier:(UIDevice*)device
{
NSUserDefaults* userDefaults = [NSUserDefaults standardUserDefaults];
static NSString* UUID_KEY = @"CDVUUID";
// Check user defaults first to maintain backwards compaitibility with previous versions
// which didn't user identifierForVendor
NSString* app_uuid = [userDefaults stringForKey:UUID_KEY];
if (app_uuid == nil) {
app_uuid = [[device identifierForVendor] UUIDString];
[userDefaults setObject:app_uuid forKey:UUID_KEY];
[userDefaults synchronize];
}
return app_uuid;
}
- (void)getDeviceInfo:(CDVInvokedUrlCommand*)command
{
NSDictionary* deviceProperties = [self deviceProperties];
CDVPluginResult* pluginResult = [CDVPluginResult resultWithStatus:CDVCommandStatus_OK messageAsDictionary:deviceProperties];
[self.commandDelegate sendPluginResult:pluginResult callbackId:command.callbackId];
}
- (NSDictionary*)deviceProperties
{
UIDevice* device = [UIDevice currentDevice];
NSMutableDictionary* devProps = [NSMutableDictionary dictionaryWithCapacity:4];
[devProps setObject:@"Apple" forKey:@"manufacturer"];
[devProps setObject:[device modelVersion] forKey:@"model"];
[devProps setObject:@"iOS" forKey:@"platform"];
[devProps setObject:[device systemVersion] forKey:@"version"];
[devProps setObject:[self uniqueAppInstanceIdentifier:device] forKey:@"uuid"];
[devProps setObject:[[self class] cordovaVersion] forKey:@"cordova"];
[devProps setObject:@([self isVirtual]) forKey:@"isVirtual"];
NSDictionary* devReturn = [NSDictionary dictionaryWithDictionary:devProps];
return devReturn;
}
+ (NSString*)cordovaVersion
{
return CDV_VERSION;
}
- (BOOL)isVirtual
{
#if TARGET_OS_SIMULATOR
return true;
#elif TARGET_IPHONE_SIMULATOR
return true;
#else
return false;
#endif
}
@end
../../../../../plugins/cordova-plugin-device/src/ios/CDVDevice.m
\ No newline at end of file
../../../../../plugins/cordova-plugin-registerusernotificationsettings/src/ios/AppDelegate+APPRegisterUserNotificationSettings.h
\ No newline at end of file
../../../../../plugins/cordova-plugin-registerusernotificationsettings/src/ios/AppDelegate+APPRegisterUserNotificationSettings.m
\ No newline at end of file
#import <Foundation/Foundation.h>
#import <Cordova/CDV.h>
@interface UIView (Toast)
// each makeToast method creates a view and displays it as toast
- (void)makeToast:(NSString *)message;
- (void)makeToast:(NSString *)message duration:(NSTimeInterval)interval position:(id)position;
- (void)makeToast:(NSString *)message duration:(NSTimeInterval)duration position:(id)position addPixelsY:(int)addPixelsY data:(NSDictionary*)data commandDelegate:(id <CDVCommandDelegate>)commandDelegate callbackId:(NSString *)callbackId;
- (void)makeToast:(NSString *)message duration:(NSTimeInterval)interval position:(id)position image:(UIImage *)image;
- (void)makeToast:(NSString *)message duration:(NSTimeInterval)interval position:(id)position title:(NSString *)title;
- (void)makeToast:(NSString *)message duration:(NSTimeInterval)interval position:(id)position title:(NSString *)title image:(UIImage *)image;
- (void)hideToast;
// displays toast with an activity spinner
- (void)makeToastActivity;
- (void)makeToastActivity:(id)position;
- (void)hideToastActivity;
// the showToast methods display any view as toast
- (void)showToast:(UIView *)toast;
- (void)showToast:(UIView *)toast duration:(NSTimeInterval)interval position:(id)point ;
- (void)showToast:(UIView *)toast duration:(NSTimeInterval)interval position:(id)point addedPixelsY:(int)addPixelsY;
@end
../../../../../plugins/cordova-plugin-x-toast/src/ios/Toast+UIView.h
\ No newline at end of file
../../../../../plugins/cordova-plugin-x-toast/src/ios/Toast+UIView.m
\ No newline at end of file
#import <Cordova/CDV.h>
@interface Toast : CDVPlugin
- (void)show:(CDVInvokedUrlCommand*)command;
- (void)hide:(CDVInvokedUrlCommand*)command;
@end
\ No newline at end of file
../../../../../plugins/cordova-plugin-x-toast/src/ios/Toast.h
\ No newline at end of file
#import "Toast.h"
#import "Toast+UIView.h"
#import <Cordova/CDV.h>
@implementation Toast
- (void)show:(CDVInvokedUrlCommand*)command {
NSDictionary* options = [command.arguments objectAtIndex:0];
NSString *message = [options objectForKey:@"message"];
NSString *duration = [options objectForKey:@"duration"];
NSString *position = [options objectForKey:@"position"];
NSDictionary *data = [options objectForKey:@"data"];
NSNumber *addPixelsY = [options objectForKey:@"addPixelsY"];
if (![position isEqual: @"top"] && ![position isEqual: @"center"] && ![position isEqual: @"bottom"]) {
CDVPluginResult * pluginResult = [CDVPluginResult resultWithStatus:CDVCommandStatus_ERROR messageAsString:@"invalid position. valid options are 'top', 'center' and 'bottom'"];
[self.commandDelegate sendPluginResult:pluginResult callbackId:command.callbackId];
return;
}
NSInteger durationInt;
if ([duration isEqual: @"short"]) {
durationInt = 2;
} else if ([duration isEqual: @"long"]) {
durationInt = 5;
} else {
CDVPluginResult * pluginResult = [CDVPluginResult resultWithStatus:CDVCommandStatus_ERROR messageAsString:@"invalid duration. valid options are 'short' and 'long'"];
[self.commandDelegate sendPluginResult:pluginResult callbackId:command.callbackId];
return;
}
[self.webView makeToast:message
duration:durationInt
position:position
addPixelsY:addPixelsY == nil ? 0 : [addPixelsY intValue]
data:data
commandDelegate:self.commandDelegate
callbackId:command.callbackId];
CDVPluginResult* pluginResult = [CDVPluginResult resultWithStatus:CDVCommandStatus_OK];
pluginResult.keepCallback = [NSNumber numberWithBool:YES];
[self.commandDelegate sendPluginResult:pluginResult callbackId:command.callbackId];
}
- (void)hide:(CDVInvokedUrlCommand*)command {
[self.webView hideToast];
CDVPluginResult* pluginResult = [CDVPluginResult resultWithStatus:CDVCommandStatus_OK];
[self.commandDelegate sendPluginResult:pluginResult callbackId:command.callbackId];
}
@end
\ No newline at end of file
../../../../../plugins/cordova-plugin-x-toast/src/ios/Toast.m
\ No newline at end of file
../../../../../plugins/de.appplant.cordova.common.registerusernotificationsettings/src/ios/AppDelegate+APPRegisterUserNotificationSettings.h
\ No newline at end of file
../../../../../plugins/de.appplant.cordova.common.registerusernotificationsettings/src/ios/AppDelegate+APPRegisterUserNotificationSettings.m
\ No newline at end of file
......@@ -14,12 +14,12 @@
<feature name="LocalStorage">
<param name="ios-package" value="CDVLocalStorage" />
</feature>
<feature name="Toast">
<param name="ios-package" value="Toast" />
</feature>
<feature name="Device">
<param name="ios-package" value="CDVDevice" />
</feature>
<feature name="Toast">
<param name="ios-package" value="Toast" />
</feature>
<feature name="LocalNotification">
<param name="ios-package" onload="true" value="APPLocalNotification" />
<param name="onload" value="true" />
......
{
"QuartzCore.framework": 2,
"libsqlite3.dylib": 1,
"Social.framework": 1,
"Accounts.framework": 1,
"Security.framework": 1
"QuartzCore.framework": 1
}
\ No newline at end of file
......@@ -9,11 +9,11 @@
"parents": {
"/*": [
{
"xml": "<feature name=\"Toast\"><param name=\"ios-package\" value=\"Toast\" /></feature>",
"xml": "<feature name=\"Device\"><param name=\"ios-package\" value=\"CDVDevice\" /></feature>",
"count": 1
},
{
"xml": "<feature name=\"Device\"><param name=\"ios-package\" value=\"CDVDevice\" /></feature>",
"xml": "<feature name=\"Toast\"><param name=\"ios-package\" value=\"Toast\" /></feature>",
"count": 1
},
{
......@@ -22,24 +22,17 @@
}
]
}
},
"*-Info.plist": {
"parents": {
"FacebookAppID": [],
"FacebookDisplayName": [],
"CFBundleURLTypes": []
}
}
}
},
"installed_plugins": {
"cordova-plugin-x-toast": {
"cordova-plugin-device": {
"PACKAGE_NAME": "de.appplant.localnotification.example"
},
"cordova-plugin-device": {
"cordova-plugin-x-toast": {
"PACKAGE_NAME": "de.appplant.localnotification.example"
},
"de.appplant.cordova.common.registerusernotificationsettings": {
"cordova-plugin-registerusernotificationsettings": {
"PACKAGE_NAME": "de.appplant.localnotification.example"
},
"de.appplant.cordova.plugin.local-notification": {
......@@ -49,6 +42,14 @@
"dependent_plugins": {},
"modules": [
{
"file": "plugins/cordova-plugin-device/www/device.js",
"id": "cordova-plugin-device.device",
"pluginId": "cordova-plugin-device",
"clobbers": [
"device"
]
},
{
"file": "plugins/cordova-plugin-x-toast/www/Toast.js",
"id": "cordova-plugin-x-toast.Toast",
"pluginId": "cordova-plugin-x-toast",
......@@ -62,14 +63,6 @@
"pluginId": "cordova-plugin-x-toast"
},
{
"file": "plugins/cordova-plugin-device/www/device.js",
"id": "cordova-plugin-device.device",
"pluginId": "cordova-plugin-device",
"clobbers": [
"device"
]
},
{
"file": "plugins/de.appplant.cordova.plugin.local-notification/www/local-notification.js",
"id": "de.appplant.cordova.plugin.local-notification.LocalNotification",
"pluginId": "de.appplant.cordova.plugin.local-notification",
......@@ -98,9 +91,9 @@
}
],
"plugin_metadata": {
"cordova-plugin-x-toast": "2.3.1",
"cordova-plugin-device": "1.1.0",
"de.appplant.cordova.common.registerusernotificationsettings": "1.0.1",
"cordova-plugin-x-toast": "2.3.1",
"cordova-plugin-registerusernotificationsettings": "1.0.2",
"de.appplant.cordova.plugin.local-notification": "0.8.3-dev"
}
}
\ No newline at end of file
cordova.define('cordova/plugin_list', function(require, exports, module) {
module.exports = [
{
"file": "plugins/cordova-plugin-device/www/device.js",
"id": "cordova-plugin-device.device",
"pluginId": "cordova-plugin-device",
"clobbers": [
"device"
]
},
{
"file": "plugins/cordova-plugin-x-toast/www/Toast.js",
"id": "cordova-plugin-x-toast.Toast",
"pluginId": "cordova-plugin-x-toast",
......@@ -14,14 +22,6 @@ module.exports = [
"pluginId": "cordova-plugin-x-toast"
},
{
"file": "plugins/cordova-plugin-device/www/device.js",
"id": "cordova-plugin-device.device",
"pluginId": "cordova-plugin-device",
"clobbers": [
"device"
]
},
{
"file": "plugins/de.appplant.cordova.plugin.local-notification/www/local-notification.js",
"id": "de.appplant.cordova.plugin.local-notification.LocalNotification",
"pluginId": "de.appplant.cordova.plugin.local-notification",
......@@ -52,9 +52,9 @@ module.exports = [
module.exports.metadata =
// TOP OF METADATA
{
"cordova-plugin-x-toast": "2.3.1",
"cordova-plugin-device": "1.1.0",
"de.appplant.cordova.common.registerusernotificationsettings": "1.0.1",
"cordova-plugin-x-toast": "2.3.1",
"cordova-plugin-registerusernotificationsettings": "1.0.2",
"de.appplant.cordova.plugin.local-notification": "0.8.3-dev"
}
// BOTTOM OF METADATA
......
cordova.define('cordova/plugin_list', function(require, exports, module) {
module.exports = [
{
"file": "plugins/cordova-plugin-device/www/device.js",
"id": "cordova-plugin-device.device",
"pluginId": "cordova-plugin-device",
"clobbers": [
"device"
]
},
{
"file": "plugins/cordova-plugin-x-toast/www/Toast.js",
"id": "cordova-plugin-x-toast.Toast",
"pluginId": "cordova-plugin-x-toast",
......@@ -14,14 +22,6 @@ module.exports = [
"pluginId": "cordova-plugin-x-toast"
},
{
"file": "plugins/cordova-plugin-device/www/device.js",
"id": "cordova-plugin-device.device",
"pluginId": "cordova-plugin-device",
"clobbers": [
"device"
]
},
{
"file": "plugins/de.appplant.cordova.plugin.local-notification/www/local-notification.js",
"id": "de.appplant.cordova.plugin.local-notification.LocalNotification",
"pluginId": "de.appplant.cordova.plugin.local-notification",
......@@ -52,9 +52,9 @@ module.exports = [
module.exports.metadata =
// TOP OF METADATA
{
"cordova-plugin-x-toast": "2.3.1",
"cordova-plugin-device": "1.1.0",
"de.appplant.cordova.common.registerusernotificationsettings": "1.0.1",
"cordova-plugin-x-toast": "2.3.1",
"cordova-plugin-registerusernotificationsettings": "1.0.2",
"de.appplant.cordova.plugin.local-notification": "0.8.3-dev"
}
// BOTTOM OF METADATA
......
{
"ios": "3.9.2",
"android": "latest"
"android": "latest",
"ios": "3.9.2"
}
\ No newline at end of file
......@@ -86,6 +86,7 @@ module.exports.metadata =
{
"cordova-plugin-x-toast": "2.3.1",
"cordova-plugin-device": "1.1.0",
"cordova-plugin-registerusernotificationsettings": "1.0.2",
"de.appplant.cordova.plugin.local-notification": "0.8.3-dev"
}
// BOTTOM OF METADATA
......
......@@ -19,6 +19,9 @@
"cordova-plugin-device": {
"PACKAGE_NAME": "NotificationExample"
},
"cordova-plugin-registerusernotificationsettings": {
"PACKAGE_NAME": "NotificationExample"
},
"de.appplant.cordova.plugin.local-notification": {
"PACKAGE_NAME": "NotificationExample"
}
......@@ -109,6 +112,7 @@
"plugin_metadata": {
"cordova-plugin-x-toast": "2.3.1",
"cordova-plugin-device": "1.1.0",
"cordova-plugin-registerusernotificationsettings": "1.0.2",
"de.appplant.cordova.plugin.local-notification": "0.8.3-dev"
}
}
\ No newline at end of file
......@@ -86,6 +86,7 @@ module.exports.metadata =
{
"cordova-plugin-x-toast": "2.3.1",
"cordova-plugin-device": "1.1.0",
"cordova-plugin-registerusernotificationsettings": "1.0.2",
"de.appplant.cordova.plugin.local-notification": "0.8.3-dev"
}
// BOTTOM OF METADATA
......
......@@ -13,12 +13,13 @@
"cordova-plugin-x-toast": {
"PACKAGE_NAME": "de.appplant.localnotification.example"
},
"de.appplant.cordova.common.registerusernotificationsettings": {
"PACKAGE_NAME": "de.appplant.localnotification.example"
},
"de.appplant.cordova.plugin.local-notification": {
"PACKAGE_NAME": "de.appplant.localnotification.example"
}
},
"dependent_plugins": {}
"dependent_plugins": {
"cordova-plugin-registerusernotificationsettings": {
"PACKAGE_NAME": "de.appplant.localnotification.example"
}
}
}
\ No newline at end of file
[![npm version](https://badge.fury.io/js/cordova-common-registerusernotificationsettings.svg)](http://badge.fury.io/js/cordova-plugin-registerusernotificationsettings)
[![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")
Cordova RegisterUserNotificationSettings Plugin
===============================================
......@@ -22,4 +25,4 @@ Implements didRegisterUserNotificationSettings and broadcasts the event for list
{
...
}
```
\ No newline at end of file
```
{
"version": "1.0.1",
"name": "de.appplant.cordova.common.registerusernotificationsettings",
"cordova_name": "RegisterUserNotificationSettings",
"description": "Implements didRegisterUserNotificationSettings and broadcasts the event.",
"license": "Apache 2.0",
"repo": "https://github.com/katzer/cordova-common-registerusernotificationsettings",
"keywords": [
"appplant",
"didRegisterUserNotificationSettings"
],
"name": "cordova-plugin-registerusernotificationsettings",
"version": "1.0.2",
"description": "Implements didRegisterUserNotificationSettings and broadcasts the event.",
"cordova": {
"id": "cordova-plugin-registerusernotificationsettings",
"platforms": [
"ios"
],
"engines": [
{
"name": "cordova",
"version": ">=3.0.0"
}
"ios"
]
}
\ No newline at end of file
},
"repository": {
"type": "git",
"url": "git+https://github.com/katzer/cordova-common-registerusernotificationsettings.git"
},
"keywords": [
"appplant",
"ecosystem:cordova",
"cordova-ios"
],
"engines": [
{
"name": "cordova",
"version": ">=3.0.0"
}
],
"author": "Sebastián Katzer",
"license": "Apache 2.0",
"bugs": {
"url": "https://github.com/katzer/cordova-common-registerusernotificationsettings/issues"
},
"homepage": "https://github.com/katzer/cordova-common-registerusernotificationsettings#readme"
}
......@@ -2,8 +2,8 @@
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="de.appplant.cordova.common.registerusernotificationsettings"
version="1.0.1">
id="cordova-plugin-registerusernotificationsettings"
version="1.0.2">
<name>RegisterUserNotificationSettings</name>
......@@ -11,7 +11,7 @@
<repo>https://github.com/katzer/cordova-common-registerusernotificationsettings</repo>
<keywords>appplant, didRegisterUserNotificationSettings</keywords>
<keywords>appplant</keywords>
<license>Apache 2.0</license>
......
......@@ -56,6 +56,14 @@
"is_top_level": false,
"variables": {}
},
"cordova-plugin-registerusernotificationsettings": {
"source": {
"type": "registry",
"id": "cordova-plugin-registerusernotificationsettings"
},
"is_top_level": false,
"variables": {}
},
"de.appplant.cordova.common.registerusernotificationsettings": {
"source": {
"type": "registry",
......
......@@ -7,6 +7,9 @@
"files": {}
},
"installed_plugins": {
"cordova-plugin-device": {
"PACKAGE_NAME": "de.appplant.localnotification.example"
},
"cordova-plugin-x-toast": {
"PACKAGE_NAME": "de.appplant.localnotification.example"
},
......@@ -15,10 +18,7 @@
}
},
"dependent_plugins": {
"cordova-plugin-device": {
"PACKAGE_NAME": "de.appplant.localnotification.example"
},
"de.appplant.cordova.common.registerusernotificationsettings": {
"cordova-plugin-registerusernotificationsettings": {
"PACKAGE_NAME": "de.appplant.localnotification.example"
}
}
......
......@@ -17,6 +17,9 @@
"dependent_plugins": {
"cordova-plugin-device": {
"PACKAGE_NAME": "NotificationExample"
},
"cordova-plugin-registerusernotificationsettings": {
"PACKAGE_NAME": "NotificationExample"
}
}
}
\ No newline at end of file
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