Commit 41b51ab6 by Sebastián Katzer

Update iOS platform

parent a02e1b72
...@@ -248,6 +248,7 @@ dependencies { ...@@ -248,6 +248,7 @@ dependencies {
// SUB-PROJECT DEPENDENCIES START // SUB-PROJECT DEPENDENCIES START
debugCompile project(path: ":CordovaLib", configuration: "debug") debugCompile project(path: ":CordovaLib", configuration: "debug")
releaseCompile project(path: ":CordovaLib", configuration: "release") releaseCompile project(path: ":CordovaLib", configuration: "release")
compile "com.android.support:support-v4:+"
// SUB-PROJECT DEPENDENCIES END // SUB-PROJECT DEPENDENCIES END
} }
......
...@@ -12,3 +12,4 @@ ...@@ -12,3 +12,4 @@
# Project target. # Project target.
target=android-22 target=android-22
android.library.reference.1=CordovaLib android.library.reference.1=CordovaLib
cordova.system.library.1=com.android.support:support-v4:+
\ No newline at end of file
// GENERATED FILE - DO NOT EDIT
include ":"
include ":CordovaLib"
...@@ -325,7 +325,7 @@ ...@@ -325,7 +325,7 @@
0867D690FE84028FC02AAC07 /* Project object */ = { 0867D690FE84028FC02AAC07 /* Project object */ = {
isa = PBXProject; isa = PBXProject;
attributes = { attributes = {
LastUpgradeCheck = 0510; LastUpgradeCheck = 0700;
}; };
buildConfigurationList = 1DEB922208733DC00010E9CD /* Build configuration list for PBXProject "CordovaLib" */; buildConfigurationList = 1DEB922208733DC00010E9CD /* Build configuration list for PBXProject "CordovaLib" */;
compatibilityVersion = "Xcode 3.2"; compatibilityVersion = "Xcode 3.2";
...@@ -432,6 +432,7 @@ ...@@ -432,6 +432,7 @@
CLANG_WARN_ENUM_CONVERSION = YES; CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INT_CONVERSION = YES; CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
ENABLE_TESTABILITY = YES;
GCC_C_LANGUAGE_STANDARD = c99; GCC_C_LANGUAGE_STANDARD = c99;
GCC_OPTIMIZATION_LEVEL = 0; GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = ""; GCC_PREPROCESSOR_DEFINITIONS = "";
......
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<Scheme <Scheme
LastUpgradeVersion = "0640" LastUpgradeVersion = "0700"
version = "1.3"> version = "1.3">
<BuildAction <BuildAction
parallelizeBuildables = "YES" parallelizeBuildables = "YES"
...@@ -23,21 +23,24 @@ ...@@ -23,21 +23,24 @@
</BuildActionEntries> </BuildActionEntries>
</BuildAction> </BuildAction>
<TestAction <TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES" shouldUseLaunchSchemeArgsEnv = "YES">
buildConfiguration = "Debug">
<Testables> <Testables>
</Testables> </Testables>
<AdditionalOptions>
</AdditionalOptions>
</TestAction> </TestAction>
<LaunchAction <LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0" launchStyle = "0"
useCustomWorkingDirectory = "NO" useCustomWorkingDirectory = "NO"
buildConfiguration = "Debug"
ignoresPersistentStateOnLaunch = "NO" ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES" debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES"> allowLocationSimulation = "YES">
<MacroExpansion> <MacroExpansion>
<BuildableReference <BuildableReference
...@@ -52,10 +55,10 @@ ...@@ -52,10 +55,10 @@
</AdditionalOptions> </AdditionalOptions>
</LaunchAction> </LaunchAction>
<ProfileAction <ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES" shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = "" savedToolIdentifier = ""
useCustomWorkingDirectory = "NO" useCustomWorkingDirectory = "NO"
buildConfiguration = "Release"
debugDocumentVersioning = "YES"> debugDocumentVersioning = "YES">
<MacroExpansion> <MacroExpansion>
<BuildableReference <BuildableReference
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDESourceControlProjectFavoriteDictionaryKey</key>
<false/>
<key>IDESourceControlProjectIdentifier</key>
<string>0B4D9F20-F7BE-4517-A3A6-1D92D25D9238</string>
<key>IDESourceControlProjectName</key>
<string>NotificationExample</string>
<key>IDESourceControlProjectOriginsDictionary</key>
<dict>
<key>E6A4395732CC1C6C7441E85472223F9AAF3A67CD</key>
<string>github.com:katzer/cordova-plugin-local-notifications.git</string>
</dict>
<key>IDESourceControlProjectPath</key>
<string>platforms/ios/NotificationExample.xcodeproj</string>
<key>IDESourceControlProjectRelativeInstallPathDictionary</key>
<dict>
<key>E6A4395732CC1C6C7441E85472223F9AAF3A67CD</key>
<string>../../../..</string>
</dict>
<key>IDESourceControlProjectURL</key>
<string>github.com:katzer/cordova-plugin-local-notifications.git</string>
<key>IDESourceControlProjectVersion</key>
<integer>111</integer>
<key>IDESourceControlProjectWCCIdentifier</key>
<string>E6A4395732CC1C6C7441E85472223F9AAF3A67CD</string>
<key>IDESourceControlProjectWCConfigurations</key>
<array>
<dict>
<key>IDESourceControlRepositoryExtensionIdentifierKey</key>
<string>public.vcs.git</string>
<key>IDESourceControlWCCIdentifierKey</key>
<string>E6A4395732CC1C6C7441E85472223F9AAF3A67CD</string>
<key>IDESourceControlWCCName</key>
<string>cordova-example-local-notifications</string>
</dict>
</array>
</dict>
</plist>
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<Scheme <Scheme
LastUpgradeVersion = "0640" LastUpgradeVersion = "0700"
version = "1.3"> version = "1.3">
<BuildAction <BuildAction
parallelizeBuildables = "YES" parallelizeBuildables = "YES"
...@@ -23,10 +23,10 @@ ...@@ -23,10 +23,10 @@
</BuildActionEntries> </BuildActionEntries>
</BuildAction> </BuildAction>
<TestAction <TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES" shouldUseLaunchSchemeArgsEnv = "YES">
buildConfiguration = "Debug">
<Testables> <Testables>
</Testables> </Testables>
<MacroExpansion> <MacroExpansion>
...@@ -38,15 +38,18 @@ ...@@ -38,15 +38,18 @@
ReferencedContainer = "container:NotificationExample.xcodeproj"> ReferencedContainer = "container:NotificationExample.xcodeproj">
</BuildableReference> </BuildableReference>
</MacroExpansion> </MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</TestAction> </TestAction>
<LaunchAction <LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0" launchStyle = "0"
useCustomWorkingDirectory = "NO" useCustomWorkingDirectory = "NO"
buildConfiguration = "Debug"
ignoresPersistentStateOnLaunch = "NO" ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES" debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES"> allowLocationSimulation = "YES">
<BuildableProductRunnable <BuildableProductRunnable
runnableDebuggingMode = "0"> runnableDebuggingMode = "0">
...@@ -62,10 +65,10 @@ ...@@ -62,10 +65,10 @@
</AdditionalOptions> </AdditionalOptions>
</LaunchAction> </LaunchAction>
<ProfileAction <ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES" shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = "" savedToolIdentifier = ""
useCustomWorkingDirectory = "NO" useCustomWorkingDirectory = "NO"
buildConfiguration = "Release"
debugDocumentVersioning = "YES"> debugDocumentVersioning = "YES">
<BuildableProductRunnable <BuildableProductRunnable
runnableDebuggingMode = "0"> runnableDebuggingMode = "0">
......
...@@ -46,7 +46,7 @@ NSString* const DEFAULT_SOUND = @"res://platform_default"; ...@@ -46,7 +46,7 @@ NSString* const DEFAULT_SOUND = @"res://platform_default";
*/ */
- (id) initWithDict:(NSDictionary*)dictionary - (id) initWithDict:(NSDictionary*)dictionary
{ {
self = [super init]; self = [self init];
self.dict = dictionary; self.dict = dictionary;
......
...@@ -41,7 +41,7 @@ NSInteger const APPLocalNotificationTypeTriggered = 2; ...@@ -41,7 +41,7 @@ NSInteger const APPLocalNotificationTypeTriggered = 2;
*/ */
- (id) initWithOptions:(NSDictionary*)dict - (id) initWithOptions:(NSDictionary*)dict
{ {
self = [super init]; self = [self init];
[self setUserInfo:dict]; [self setUserInfo:dict];
[self __init]; [self __init];
......
/*
*
* 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.
*
*/
module.exports = {
id: 'ios',
bootstrap: function() {
require('cordova/channel').onNativeReady.fire();
}
};
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
<!-- android --> <!-- android -->
<platform name="android"> <platform name="android">
<dependency id="android.support.v4" /> <framework src="com.android.support:support-v4:+" />
<config-file target="res/xml/config.xml" parent="/*"> <config-file target="res/xml/config.xml" parent="/*">
<feature name="LocalNotification"> <feature name="LocalNotification">
......
...@@ -29,7 +29,7 @@ NSString* const DEFAULT_SOUND = @"res://platform_default"; ...@@ -29,7 +29,7 @@ NSString* const DEFAULT_SOUND = @"res://platform_default";
@interface APPLocalNotificationOptions () @interface APPLocalNotificationOptions ()
// The dictionary which contains all notification properties // The dictionary which contains all notification properties
@property(readwrite, assign) NSDictionary* dict; @property(nonatomic, retain) NSDictionary* dict;
@end @end
...@@ -46,7 +46,7 @@ NSString* const DEFAULT_SOUND = @"res://platform_default"; ...@@ -46,7 +46,7 @@ NSString* const DEFAULT_SOUND = @"res://platform_default";
*/ */
- (id) initWithDict:(NSDictionary*)dictionary - (id) initWithDict:(NSDictionary*)dictionary
{ {
self = [super init]; self = [self init];
self.dict = dictionary; self.dict = dictionary;
......
...@@ -41,7 +41,7 @@ NSInteger const APPLocalNotificationTypeTriggered = 2; ...@@ -41,7 +41,7 @@ NSInteger const APPLocalNotificationTypeTriggered = 2;
*/ */
- (id) initWithOptions:(NSDictionary*)dict - (id) initWithOptions:(NSDictionary*)dict
{ {
self = [super init]; self = [self init];
[self setUserInfo:dict]; [self setUserInfo:dict];
[self __init]; [self __init];
......
...@@ -52,20 +52,28 @@ ...@@ -52,20 +52,28 @@
"is_top_level": true, "is_top_level": true,
"variables": {} "variables": {}
}, },
"de.appplant.cordova.plugin.local-notification": { "cordova-plugin-device": {
"source": { "source": {
"type": "local", "type": "registry",
"path": "/Users/sebastian/Documents/github/cordova-plugin-local-notifications" "id": "cordova-plugin-device"
}, },
"is_top_level": true, "is_top_level": false,
"variables": {} "variables": {}
}, },
"cordova-plugin-device": { "cordova-plugin-android-support-v4": {
"source": { "source": {
"type": "registry", "type": "registry",
"id": "cordova-plugin-device" "id": "cordova-plugin-android-support-v4"
}, },
"is_top_level": false, "is_top_level": false,
"variables": {} "variables": {}
},
"de.appplant.cordova.plugin.local-notification": {
"source": {
"type": "local",
"path": "/Users/sebastian/Documents/github/cordova-plugin-local-notifications"
},
"is_top_level": true,
"variables": {}
} }
} }
\ No newline at end of file
...@@ -5,6 +5,16 @@ ...@@ -5,6 +5,16 @@
}, },
"config_munge": { "config_munge": {
"files": { "files": {
"framework": {
"parents": {
"QuartzCore.framework": [
{
"xml": false,
"count": 1
}
]
}
},
"config.xml": { "config.xml": {
"parents": { "parents": {
"/*": [ "/*": [
...@@ -22,16 +32,6 @@ ...@@ -22,16 +32,6 @@
} }
] ]
} }
},
"framework": {
"parents": {
"QuartzCore.framework": [
{
"xml": false,
"count": 1
}
]
}
} }
} }
}, },
...@@ -46,12 +46,12 @@ ...@@ -46,12 +46,12 @@
"PACKAGE_NAME": "de.appplant.localnotification.example" "PACKAGE_NAME": "de.appplant.localnotification.example"
}, },
"de.appplant.cordova.plugin.local-notification": { "de.appplant.cordova.plugin.local-notification": {
"PACKAGE_NAME": "de.appplant.localnotification.example" "PACKAGE_NAME": "$(PRODUCT_BUNDLE_IDENTIFIER)"
} }
}, },
"dependent_plugins": { "dependent_plugins": {
"cordova-plugin-device": { "cordova-plugin-device": {
"PACKAGE_NAME": "de.appplant.localnotification.example" "PACKAGE_NAME": "$(PRODUCT_BUNDLE_IDENTIFIER)"
} }
} }
} }
\ 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