diff --git a/Samples/iPhone-SWIFT/.gitignore b/Samples/iPhone-SWIFT/.gitignore
deleted file mode 100644
index 9bce6af3..00000000
--- a/Samples/iPhone-SWIFT/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-xcuserdata
diff --git a/Samples/iPhone-SWIFT/Cartfile b/Samples/iPhone-SWIFT/Cartfile
deleted file mode 100755
index 9c8ca1b2..00000000
--- a/Samples/iPhone-SWIFT/Cartfile
+++ /dev/null
@@ -1 +0,0 @@
-github "Pushwoosh/pushwoosh-ios-sdk" >= 5.0.1
diff --git a/Samples/iPhone-SWIFT/NotificationService/Info.plist b/Samples/iPhone-SWIFT/NotificationService/Info.plist
deleted file mode 100644
index c3c7aa34..00000000
--- a/Samples/iPhone-SWIFT/NotificationService/Info.plist
+++ /dev/null
@@ -1,42 +0,0 @@
-
-
-
-
- NSAppTransportSecurity
-
- NSAllowsArbitraryLoads
-
-
- NSHumanReadableCopyright
-
- CFBundleGetInfoString
-
- LSApplicationCategoryType
-
- CFBundleDevelopmentRegion
- en
- CFBundleDisplayName
- NotificationService
- CFBundleExecutable
- $(EXECUTABLE_NAME)
- CFBundleIdentifier
- $(PRODUCT_BUNDLE_IDENTIFIER)
- CFBundleInfoDictionaryVersion
- 6.0
- CFBundleName
- $(PRODUCT_NAME)
- CFBundlePackageType
- XPC!
- CFBundleShortVersionString
- 1.0
- CFBundleVersion
- 1
- NSExtension
-
- NSExtensionPointIdentifier
- com.apple.usernotifications.service
- NSExtensionPrincipalClass
- $(PRODUCT_MODULE_NAME).NotificationService
-
-
-
diff --git a/Samples/iPhone-SWIFT/NotificationService/NotificationService.entitlements b/Samples/iPhone-SWIFT/NotificationService/NotificationService.entitlements
deleted file mode 100644
index 28c29bf6..00000000
--- a/Samples/iPhone-SWIFT/NotificationService/NotificationService.entitlements
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
- aps-environment
- production
-
-
diff --git a/Samples/iPhone-SWIFT/NotificationService/NotificationService.swift b/Samples/iPhone-SWIFT/NotificationService/NotificationService.swift
deleted file mode 100644
index 8d4eea32..00000000
--- a/Samples/iPhone-SWIFT/NotificationService/NotificationService.swift
+++ /dev/null
@@ -1,74 +0,0 @@
-//
-// NotificationService.swift
-// Pushwoosh SDK
-// (c) Pushwoosh 2017
-//
-
-import UserNotifications
-
-class NotificationService: UNNotificationServiceExtension {
-
- var contentHandler: ((UNNotificationContent) -> Void)?
- var bestAttemptContent: UNMutableNotificationContent?
-
- override func didReceive(_ request: UNNotificationRequest, withContentHandler contentHandler: @escaping (UNNotificationContent) -> Void) {
- self.contentHandler = contentHandler
- bestAttemptContent = (request.content.mutableCopy() as? UNMutableNotificationContent)
-
- guard let bestAttemptContent = bestAttemptContent else {
- return
- }
- guard let attachmentUrlString = request.content.userInfo["attachment"] as? String else {
- return
- }
- guard let url = URL(string: attachmentUrlString) else {
- return
- }
-
- URLSession.shared.downloadTask(with: url, completionHandler: { (optLocation: URL?, optResponse: URLResponse?, error: Error?) -> Void in
- if error != nil {
- print("Download file error: \(String(describing: error))")
- return
- }
- guard let location = optLocation else {
- return
- }
- guard let response = optResponse else {
- return
- }
-
- do {
- let lastPathComponent = response.url?.lastPathComponent ?? ""
- var attachmentID = UUID.init().uuidString + lastPathComponent
-
- if response.suggestedFilename != nil {
- attachmentID = UUID.init().uuidString + response.suggestedFilename!
- }
-
- let tempDict = NSTemporaryDirectory()
- let tempFilePath = tempDict + attachmentID
-
- try FileManager.default.moveItem(atPath: location.path, toPath: tempFilePath)
- let attachment = try UNNotificationAttachment.init(identifier: attachmentID, url: URL.init(fileURLWithPath: tempFilePath))
-
- bestAttemptContent.attachments.append(attachment)
- }
- catch {
- print("Download file error: \(String(describing: error))")
- }
-
- OperationQueue.main.addOperation({() -> Void in
- self.contentHandler?(bestAttemptContent);
- })
- }).resume()
- }
-
- override func serviceExtensionTimeWillExpire() {
- // Called just before the extension will be terminated by the system.
- // Use this as an opportunity to deliver your "best attempt" at modified content, otherwise the original push payload will be used.
- if let contentHandler = contentHandler, let bestAttemptContent = bestAttemptContent {
- contentHandler(bestAttemptContent)
- }
- }
-
-}
diff --git a/Samples/iPhone-SWIFT/PushNotificationsApp.xcodeproj/project.pbxproj b/Samples/iPhone-SWIFT/PushNotificationsApp.xcodeproj/project.pbxproj
deleted file mode 100644
index b8ae40c9..00000000
--- a/Samples/iPhone-SWIFT/PushNotificationsApp.xcodeproj/project.pbxproj
+++ /dev/null
@@ -1,560 +0,0 @@
-// !$*UTF8*$!
-{
- archiveVersion = 1;
- classes = {
- };
- objectVersion = 46;
- objects = {
-
-/* Begin PBXBuildFile section */
- 4649F8531EDE756500D3D90C /* NotificationService.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4649F8521EDE756500D3D90C /* NotificationService.swift */; };
- 4649F8581EDE756500D3D90C /* NotificationService.appex in Embed App Extensions */ = {isa = PBXBuildFile; fileRef = 4649F8501EDE756500D3D90C /* NotificationService.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; };
- 465447DD1BE366A90048DC4B /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 465447DC1BE366A90048DC4B /* AppDelegate.swift */; };
- 465447DF1BE366A90048DC4B /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 465447DE1BE366A90048DC4B /* ViewController.swift */; };
- 465447E21BE366A90048DC4B /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 465447E01BE366A90048DC4B /* Main.storyboard */; };
- 465447E41BE366A90048DC4B /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 465447E31BE366A90048DC4B /* Assets.xcassets */; };
- 465447E71BE366A90048DC4B /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 465447E51BE366A90048DC4B /* LaunchScreen.storyboard */; };
- 465447EF1BE3675F0048DC4B /* libstdc++.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 465447EE1BE3675F0048DC4B /* libstdc++.tbd */; };
- 465447F41BE367AC0048DC4B /* libz.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 465447F31BE367AC0048DC4B /* libz.tbd */; };
- 465447F81BE367C90048DC4B /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 465447F71BE367C90048DC4B /* Security.framework */; };
- 465447FA1BE367D30048DC4B /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 465447F91BE367D30048DC4B /* CoreGraphics.framework */; };
- 465447FC1BE367DA0048DC4B /* CoreLocation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 465447FB1BE367DA0048DC4B /* CoreLocation.framework */; };
- 465447FE1BE367E20048DC4B /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 465447FD1BE367E20048DC4B /* UIKit.framework */; };
- 465448001BE367EA0048DC4B /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 465447FF1BE367EA0048DC4B /* Foundation.framework */; };
- 467E7FB31E3723AB001C2A4D /* Pushwoosh.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 467E7FB21E3723AB001C2A4D /* Pushwoosh.framework */; };
-/* End PBXBuildFile section */
-
-/* Begin PBXContainerItemProxy section */
- 4649F8551EDE756500D3D90C /* PBXContainerItemProxy */ = {
- isa = PBXContainerItemProxy;
- containerPortal = 465447D11BE366A90048DC4B /* Project object */;
- proxyType = 1;
- remoteGlobalIDString = 4649F84F1EDE756500D3D90C;
- remoteInfo = NotificationService;
- };
-/* End PBXContainerItemProxy section */
-
-/* Begin PBXCopyFilesBuildPhase section */
- 4649F8571EDE756500D3D90C /* Embed App Extensions */ = {
- isa = PBXCopyFilesBuildPhase;
- buildActionMask = 2147483647;
- dstPath = "";
- dstSubfolderSpec = 13;
- files = (
- 4649F8581EDE756500D3D90C /* NotificationService.appex in Embed App Extensions */,
- );
- name = "Embed App Extensions";
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXCopyFilesBuildPhase section */
-
-/* Begin PBXFileReference section */
- 4649F8501EDE756500D3D90C /* NotificationService.appex */ = {isa = PBXFileReference; explicitFileType = "wrapper.app-extension"; includeInIndex = 0; path = NotificationService.appex; sourceTree = BUILT_PRODUCTS_DIR; };
- 4649F8521EDE756500D3D90C /* NotificationService.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NotificationService.swift; sourceTree = ""; };
- 4649F8541EDE756500D3D90C /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
- 4649F85F1EDEB46300D3D90C /* NotificationService.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = NotificationService.entitlements; sourceTree = ""; };
- 465447D91BE366A90048DC4B /* PushNotificationsApp.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = PushNotificationsApp.app; sourceTree = BUILT_PRODUCTS_DIR; };
- 465447DC1BE366A90048DC4B /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; };
- 465447DE1BE366A90048DC4B /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; };
- 465447E11BE366A90048DC4B /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
- 465447E31BE366A90048DC4B /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
- 465447E61BE366A90048DC4B /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; };
- 465447E81BE366A90048DC4B /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
- 465447EE1BE3675F0048DC4B /* libstdc++.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = "libstdc++.tbd"; path = "usr/lib/libstdc++.tbd"; sourceTree = SDKROOT; };
- 465447F31BE367AC0048DC4B /* libz.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libz.tbd; path = usr/lib/libz.tbd; sourceTree = SDKROOT; };
- 465447F71BE367C90048DC4B /* Security.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Security.framework; path = System/Library/Frameworks/Security.framework; sourceTree = SDKROOT; };
- 465447F91BE367D30048DC4B /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
- 465447FB1BE367DA0048DC4B /* CoreLocation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreLocation.framework; path = System/Library/Frameworks/CoreLocation.framework; sourceTree = SDKROOT; };
- 465447FD1BE367E20048DC4B /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
- 465447FF1BE367EA0048DC4B /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
- 467E7F9D1E362548001C2A4D /* UserNotifications.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UserNotifications.framework; path = System/Library/Frameworks/UserNotifications.framework; sourceTree = SDKROOT; };
- 467E7FB21E3723AB001C2A4D /* Pushwoosh.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Pushwoosh.framework; path = Carthage/Build/iOS/Pushwoosh.framework; sourceTree = ""; };
- 469130571DD5F9B100BC95DC /* PushNotificationsApp.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = PushNotificationsApp.entitlements; sourceTree = ""; };
-/* End PBXFileReference section */
-
-/* Begin PBXFrameworksBuildPhase section */
- 4649F84D1EDE756500D3D90C /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- 465447D61BE366A90048DC4B /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 465448001BE367EA0048DC4B /* Foundation.framework in Frameworks */,
- 465447FE1BE367E20048DC4B /* UIKit.framework in Frameworks */,
- 465447FC1BE367DA0048DC4B /* CoreLocation.framework in Frameworks */,
- 465447FA1BE367D30048DC4B /* CoreGraphics.framework in Frameworks */,
- 465447F81BE367C90048DC4B /* Security.framework in Frameworks */,
- 465447F41BE367AC0048DC4B /* libz.tbd in Frameworks */,
- 465447EF1BE3675F0048DC4B /* libstdc++.tbd in Frameworks */,
- 467E7FB31E3723AB001C2A4D /* Pushwoosh.framework in Frameworks */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXFrameworksBuildPhase section */
-
-/* Begin PBXGroup section */
- 4649F8511EDE756500D3D90C /* NotificationService */ = {
- isa = PBXGroup;
- children = (
- 4649F85F1EDEB46300D3D90C /* NotificationService.entitlements */,
- 4649F8521EDE756500D3D90C /* NotificationService.swift */,
- 4649F8541EDE756500D3D90C /* Info.plist */,
- );
- path = NotificationService;
- sourceTree = "";
- };
- 465447D01BE366A90048DC4B = {
- isa = PBXGroup;
- children = (
- 465447F21BE367840048DC4B /* Frameworks */,
- 465447DB1BE366A90048DC4B /* PushNotificationsApp */,
- 4649F8511EDE756500D3D90C /* NotificationService */,
- 465447DA1BE366A90048DC4B /* Products */,
- );
- sourceTree = "";
- };
- 465447DA1BE366A90048DC4B /* Products */ = {
- isa = PBXGroup;
- children = (
- 465447D91BE366A90048DC4B /* PushNotificationsApp.app */,
- 4649F8501EDE756500D3D90C /* NotificationService.appex */,
- );
- name = Products;
- sourceTree = "";
- };
- 465447DB1BE366A90048DC4B /* PushNotificationsApp */ = {
- isa = PBXGroup;
- children = (
- 469130571DD5F9B100BC95DC /* PushNotificationsApp.entitlements */,
- 465447DC1BE366A90048DC4B /* AppDelegate.swift */,
- 465447DE1BE366A90048DC4B /* ViewController.swift */,
- 465447E01BE366A90048DC4B /* Main.storyboard */,
- 465447E31BE366A90048DC4B /* Assets.xcassets */,
- 465447E51BE366A90048DC4B /* LaunchScreen.storyboard */,
- 465447E81BE366A90048DC4B /* Info.plist */,
- );
- path = PushNotificationsApp;
- sourceTree = "";
- };
- 465447F21BE367840048DC4B /* Frameworks */ = {
- isa = PBXGroup;
- children = (
- 467E7FB21E3723AB001C2A4D /* Pushwoosh.framework */,
- 467E7F9D1E362548001C2A4D /* UserNotifications.framework */,
- 465447FF1BE367EA0048DC4B /* Foundation.framework */,
- 465447FD1BE367E20048DC4B /* UIKit.framework */,
- 465447FB1BE367DA0048DC4B /* CoreLocation.framework */,
- 465447F91BE367D30048DC4B /* CoreGraphics.framework */,
- 465447F71BE367C90048DC4B /* Security.framework */,
- 465447F31BE367AC0048DC4B /* libz.tbd */,
- 465447EE1BE3675F0048DC4B /* libstdc++.tbd */,
- );
- name = Frameworks;
- sourceTree = "";
- };
-/* End PBXGroup section */
-
-/* Begin PBXNativeTarget section */
- 4649F84F1EDE756500D3D90C /* NotificationService */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = 4649F85B1EDE756500D3D90C /* Build configuration list for PBXNativeTarget "NotificationService" */;
- buildPhases = (
- 4649F84C1EDE756500D3D90C /* Sources */,
- 4649F84D1EDE756500D3D90C /* Frameworks */,
- 4649F84E1EDE756500D3D90C /* Resources */,
- );
- buildRules = (
- );
- dependencies = (
- );
- name = NotificationService;
- productName = NotificationService;
- productReference = 4649F8501EDE756500D3D90C /* NotificationService.appex */;
- productType = "com.apple.product-type.app-extension";
- };
- 465447D81BE366A90048DC4B /* PushNotificationsApp */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = 465447EB1BE366A90048DC4B /* Build configuration list for PBXNativeTarget "PushNotificationsApp" */;
- buildPhases = (
- 465447D51BE366A90048DC4B /* Sources */,
- 465447D61BE366A90048DC4B /* Frameworks */,
- 465447D71BE366A90048DC4B /* Resources */,
- 467E7F9F1E36270F001C2A4D /* Run Script */,
- 4649F8571EDE756500D3D90C /* Embed App Extensions */,
- );
- buildRules = (
- );
- dependencies = (
- 4649F8561EDE756500D3D90C /* PBXTargetDependency */,
- );
- name = PushNotificationsApp;
- productName = PushNotificationsApp;
- productReference = 465447D91BE366A90048DC4B /* PushNotificationsApp.app */;
- productType = "com.apple.product-type.application";
- };
-/* End PBXNativeTarget section */
-
-/* Begin PBXProject section */
- 465447D11BE366A90048DC4B /* Project object */ = {
- isa = PBXProject;
- attributes = {
- LastSwiftUpdateCheck = 0830;
- LastUpgradeCheck = 0710;
- TargetAttributes = {
- 4649F84F1EDE756500D3D90C = {
- CreatedOnToolsVersion = 8.3.2;
- DevelopmentTeam = 9YV8BDW6YQ;
- ProvisioningStyle = Manual;
- SystemCapabilities = {
- com.apple.Push = {
- enabled = 1;
- };
- };
- };
- 465447D81BE366A90048DC4B = {
- CreatedOnToolsVersion = 7.1;
- DevelopmentTeam = 9YV8BDW6YQ;
- LastSwiftMigration = 0800;
- ProvisioningStyle = Manual;
- SystemCapabilities = {
- com.apple.BackgroundModes = {
- enabled = 1;
- };
- com.apple.InAppPurchase = {
- enabled = 0;
- };
- com.apple.Push = {
- enabled = 1;
- };
- };
- };
- };
- };
- buildConfigurationList = 465447D41BE366A90048DC4B /* Build configuration list for PBXProject "PushNotificationsApp" */;
- compatibilityVersion = "Xcode 3.2";
- developmentRegion = English;
- hasScannedForEncodings = 0;
- knownRegions = (
- en,
- Base,
- );
- mainGroup = 465447D01BE366A90048DC4B;
- productRefGroup = 465447DA1BE366A90048DC4B /* Products */;
- projectDirPath = "";
- projectRoot = "";
- targets = (
- 465447D81BE366A90048DC4B /* PushNotificationsApp */,
- 4649F84F1EDE756500D3D90C /* NotificationService */,
- );
- };
-/* End PBXProject section */
-
-/* Begin PBXResourcesBuildPhase section */
- 4649F84E1EDE756500D3D90C /* Resources */ = {
- isa = PBXResourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- 465447D71BE366A90048DC4B /* Resources */ = {
- isa = PBXResourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 465447E71BE366A90048DC4B /* LaunchScreen.storyboard in Resources */,
- 465447E41BE366A90048DC4B /* Assets.xcassets in Resources */,
- 465447E21BE366A90048DC4B /* Main.storyboard in Resources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXResourcesBuildPhase section */
-
-/* Begin PBXShellScriptBuildPhase section */
- 467E7F9F1E36270F001C2A4D /* Run Script */ = {
- isa = PBXShellScriptBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- inputPaths = (
- "$(SRCROOT)/Carthage/Build/iOS/Pushwoosh.framework",
- );
- name = "Run Script";
- outputPaths = (
- );
- runOnlyForDeploymentPostprocessing = 0;
- shellPath = /bin/sh;
- shellScript = "/usr/local/bin/carthage copy-frameworks";
- };
-/* End PBXShellScriptBuildPhase section */
-
-/* Begin PBXSourcesBuildPhase section */
- 4649F84C1EDE756500D3D90C /* Sources */ = {
- isa = PBXSourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 4649F8531EDE756500D3D90C /* NotificationService.swift in Sources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- 465447D51BE366A90048DC4B /* Sources */ = {
- isa = PBXSourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 465447DF1BE366A90048DC4B /* ViewController.swift in Sources */,
- 465447DD1BE366A90048DC4B /* AppDelegate.swift in Sources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXSourcesBuildPhase section */
-
-/* Begin PBXTargetDependency section */
- 4649F8561EDE756500D3D90C /* PBXTargetDependency */ = {
- isa = PBXTargetDependency;
- target = 4649F84F1EDE756500D3D90C /* NotificationService */;
- targetProxy = 4649F8551EDE756500D3D90C /* PBXContainerItemProxy */;
- };
-/* End PBXTargetDependency section */
-
-/* Begin PBXVariantGroup section */
- 465447E01BE366A90048DC4B /* Main.storyboard */ = {
- isa = PBXVariantGroup;
- children = (
- 465447E11BE366A90048DC4B /* Base */,
- );
- name = Main.storyboard;
- sourceTree = "";
- };
- 465447E51BE366A90048DC4B /* LaunchScreen.storyboard */ = {
- isa = PBXVariantGroup;
- children = (
- 465447E61BE366A90048DC4B /* Base */,
- );
- name = LaunchScreen.storyboard;
- sourceTree = "";
- };
-/* End PBXVariantGroup section */
-
-/* Begin XCBuildConfiguration section */
- 4649F8591EDE756500D3D90C /* Debug */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- CLANG_ANALYZER_NONNULL = YES;
- CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
- CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
- CLANG_WARN_INFINITE_RECURSION = YES;
- CLANG_WARN_SUSPICIOUS_MOVE = YES;
- CODE_SIGN_ENTITLEMENTS = NotificationService/NotificationService.entitlements;
- CODE_SIGN_IDENTITY = "iPhone Developer";
- DEVELOPMENT_TEAM = 9YV8BDW6YQ;
- INFOPLIST_FILE = NotificationService/Info.plist;
- IPHONEOS_DEPLOYMENT_TARGET = 10.0;
- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks";
- PRODUCT_BUNDLE_IDENTIFIER = com.pushwoosh.demoapp.NotificationService;
- PRODUCT_NAME = "$(TARGET_NAME)";
- PROVISIONING_PROFILE = "0bd1b1dd-325a-4238-9e40-8e91b1d6e75e";
- PROVISIONING_PROFILE_SPECIFIER = "Universal Development";
- SKIP_INSTALL = YES;
- SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
- };
- name = Debug;
- };
- 4649F85A1EDE756500D3D90C /* Release */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- CLANG_ANALYZER_NONNULL = YES;
- CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
- CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
- CLANG_WARN_INFINITE_RECURSION = YES;
- CLANG_WARN_SUSPICIOUS_MOVE = YES;
- CODE_SIGN_ENTITLEMENTS = NotificationService/NotificationService.entitlements;
- CODE_SIGN_IDENTITY = "iPhone Distribution";
- DEVELOPMENT_TEAM = 9YV8BDW6YQ;
- INFOPLIST_FILE = NotificationService/Info.plist;
- IPHONEOS_DEPLOYMENT_TARGET = 10.0;
- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks";
- PRODUCT_BUNDLE_IDENTIFIER = com.pushwoosh.demoapp.NotificationService;
- PRODUCT_NAME = "$(TARGET_NAME)";
- PROVISIONING_PROFILE = "fe82c4fb-569e-43b6-a507-2a8c16462afe";
- PROVISIONING_PROFILE_SPECIFIER = "Universal In House";
- SKIP_INSTALL = YES;
- SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
- };
- name = Release;
- };
- 465447E91BE366A90048DC4B /* Debug */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
- CLANG_CXX_LIBRARY = "libc++";
- CLANG_ENABLE_MODULES = YES;
- CLANG_ENABLE_OBJC_ARC = YES;
- CLANG_WARN_BOOL_CONVERSION = YES;
- CLANG_WARN_CONSTANT_CONVERSION = YES;
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
- CLANG_WARN_EMPTY_BODY = YES;
- CLANG_WARN_ENUM_CONVERSION = YES;
- CLANG_WARN_INT_CONVERSION = YES;
- CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
- CLANG_WARN_UNREACHABLE_CODE = YES;
- CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
- COPY_PHASE_STRIP = NO;
- DEBUG_INFORMATION_FORMAT = dwarf;
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- ENABLE_TESTABILITY = YES;
- GCC_C_LANGUAGE_STANDARD = gnu99;
- GCC_DYNAMIC_NO_PIC = NO;
- GCC_NO_COMMON_BLOCKS = YES;
- GCC_OPTIMIZATION_LEVEL = 0;
- GCC_PREPROCESSOR_DEFINITIONS = (
- "DEBUG=1",
- "$(inherited)",
- );
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
- GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
- GCC_WARN_UNDECLARED_SELECTOR = YES;
- GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
- GCC_WARN_UNUSED_FUNCTION = YES;
- GCC_WARN_UNUSED_VARIABLE = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 9.1;
- MTL_ENABLE_DEBUG_INFO = YES;
- ONLY_ACTIVE_ARCH = YES;
- SDKROOT = iphoneos;
- SWIFT_OPTIMIZATION_LEVEL = "-Onone";
- SWIFT_VERSION = 4.2;
- TARGETED_DEVICE_FAMILY = "1,2";
- };
- name = Debug;
- };
- 465447EA1BE366A90048DC4B /* Release */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
- CLANG_CXX_LIBRARY = "libc++";
- CLANG_ENABLE_MODULES = YES;
- CLANG_ENABLE_OBJC_ARC = YES;
- CLANG_WARN_BOOL_CONVERSION = YES;
- CLANG_WARN_CONSTANT_CONVERSION = YES;
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
- CLANG_WARN_EMPTY_BODY = YES;
- CLANG_WARN_ENUM_CONVERSION = YES;
- CLANG_WARN_INT_CONVERSION = YES;
- CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
- CLANG_WARN_UNREACHABLE_CODE = YES;
- CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
- COPY_PHASE_STRIP = NO;
- DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
- ENABLE_NS_ASSERTIONS = NO;
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- GCC_C_LANGUAGE_STANDARD = gnu99;
- GCC_NO_COMMON_BLOCKS = YES;
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
- GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
- GCC_WARN_UNDECLARED_SELECTOR = YES;
- GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
- GCC_WARN_UNUSED_FUNCTION = YES;
- GCC_WARN_UNUSED_VARIABLE = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 9.1;
- MTL_ENABLE_DEBUG_INFO = NO;
- SDKROOT = iphoneos;
- SWIFT_VERSION = 4.2;
- TARGETED_DEVICE_FAMILY = "1,2";
- VALIDATE_PRODUCT = YES;
- };
- name = Release;
- };
- 465447EC1BE366A90048DC4B /* Debug */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
- ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
- CLANG_ENABLE_MODULES = YES;
- CODE_SIGN_ENTITLEMENTS = PushNotificationsApp/PushNotificationsApp.entitlements;
- CODE_SIGN_IDENTITY = "iPhone Developer";
- DEVELOPMENT_TEAM = 9YV8BDW6YQ;
- FRAMEWORK_SEARCH_PATHS = (
- "$(inherited)",
- "$(PROJECT_DIR)",
- "$(PROJECT_DIR)/Carthage/Build/iOS",
- );
- INFOPLIST_FILE = PushNotificationsApp/Info.plist;
- IPHONEOS_DEPLOYMENT_TARGET = 8.0;
- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
- OTHER_LDFLAGS = "-ObjC";
- PRODUCT_BUNDLE_IDENTIFIER = com.pushwoosh.demoapp;
- PRODUCT_NAME = "$(TARGET_NAME)";
- PROVISIONING_PROFILE = "42c7ddb9-8261-4d0a-8ff7-3c628b5cf564";
- PROVISIONING_PROFILE_SPECIFIER = "Universal Development";
- SWIFT_OBJC_BRIDGING_HEADER = "";
- SWIFT_OPTIMIZATION_LEVEL = "-Onone";
- };
- name = Debug;
- };
- 465447ED1BE366A90048DC4B /* Release */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
- ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
- CLANG_ENABLE_MODULES = YES;
- CODE_SIGN_ENTITLEMENTS = PushNotificationsApp/PushNotificationsApp.entitlements;
- CODE_SIGN_IDENTITY = "iPhone Distribution";
- DEVELOPMENT_TEAM = 9YV8BDW6YQ;
- FRAMEWORK_SEARCH_PATHS = (
- "$(inherited)",
- "$(PROJECT_DIR)",
- "$(PROJECT_DIR)/Carthage/Build/iOS",
- );
- INFOPLIST_FILE = PushNotificationsApp/Info.plist;
- IPHONEOS_DEPLOYMENT_TARGET = 8.0;
- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
- OTHER_LDFLAGS = "-ObjC";
- PRODUCT_BUNDLE_IDENTIFIER = com.pushwoosh.demoapp;
- PRODUCT_NAME = "$(TARGET_NAME)";
- PROVISIONING_PROFILE = "3653de08-dd87-4b8d-8061-5beef66215c6";
- PROVISIONING_PROFILE_SPECIFIER = "Universal In House";
- SWIFT_OBJC_BRIDGING_HEADER = "";
- };
- name = Release;
- };
-/* End XCBuildConfiguration section */
-
-/* Begin XCConfigurationList section */
- 4649F85B1EDE756500D3D90C /* Build configuration list for PBXNativeTarget "NotificationService" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 4649F8591EDE756500D3D90C /* Debug */,
- 4649F85A1EDE756500D3D90C /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
- 465447D41BE366A90048DC4B /* Build configuration list for PBXProject "PushNotificationsApp" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 465447E91BE366A90048DC4B /* Debug */,
- 465447EA1BE366A90048DC4B /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
- 465447EB1BE366A90048DC4B /* Build configuration list for PBXNativeTarget "PushNotificationsApp" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 465447EC1BE366A90048DC4B /* Debug */,
- 465447ED1BE366A90048DC4B /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
-/* End XCConfigurationList section */
- };
- rootObject = 465447D11BE366A90048DC4B /* Project object */;
-}
diff --git a/Samples/iPhone-SWIFT/PushNotificationsApp.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Samples/iPhone-SWIFT/PushNotificationsApp.xcodeproj/project.xcworkspace/contents.xcworkspacedata
deleted file mode 100644
index eecfe0c0..00000000
--- a/Samples/iPhone-SWIFT/PushNotificationsApp.xcodeproj/project.xcworkspace/contents.xcworkspacedata
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
diff --git a/Samples/iPhone-SWIFT/PushNotificationsApp.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/Samples/iPhone-SWIFT/PushNotificationsApp.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
deleted file mode 100644
index 18d98100..00000000
--- a/Samples/iPhone-SWIFT/PushNotificationsApp.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
- IDEDidComputeMac32BitWarning
-
-
-
diff --git a/Samples/iPhone-SWIFT/PushNotificationsApp.xcodeproj/project.xcworkspace/xcshareddata/PushNotificationsApp.xcscmblueprint b/Samples/iPhone-SWIFT/PushNotificationsApp.xcodeproj/project.xcworkspace/xcshareddata/PushNotificationsApp.xcscmblueprint
deleted file mode 100644
index 35be6821..00000000
--- a/Samples/iPhone-SWIFT/PushNotificationsApp.xcodeproj/project.xcworkspace/xcshareddata/PushNotificationsApp.xcscmblueprint
+++ /dev/null
@@ -1,30 +0,0 @@
-{
- "DVTSourceControlWorkspaceBlueprintPrimaryRemoteRepositoryKey" : "9A6B1F8AF6402B2D7FE9756C18CEF92D93BFDB49",
- "DVTSourceControlWorkspaceBlueprintWorkingCopyRepositoryLocationsKey" : {
-
- },
- "DVTSourceControlWorkspaceBlueprintWorkingCopyStatesKey" : {
- "9A6B1F8AF6402B2D7FE9756C18CEF92D93BFDB49" : 9223372036854775807,
- "57B7C22775B1135D344C2EF50476FDC20F884776" : 9223372036854775807
- },
- "DVTSourceControlWorkspaceBlueprintIdentifierKey" : "D54D872B-1F4C-41C3-BD5D-2CD1CA358E69",
- "DVTSourceControlWorkspaceBlueprintWorkingCopyPathsKey" : {
- "9A6B1F8AF6402B2D7FE9756C18CEF92D93BFDB49" : "PublicSDK\/",
- "57B7C22775B1135D344C2EF50476FDC20F884776" : ""
- },
- "DVTSourceControlWorkspaceBlueprintNameKey" : "PushNotificationsApp",
- "DVTSourceControlWorkspaceBlueprintVersion" : 204,
- "DVTSourceControlWorkspaceBlueprintRelativePathToProjectKey" : "Samples\/iPhone-SWIFT\/PushNotificationsApp.xcodeproj",
- "DVTSourceControlWorkspaceBlueprintRemoteRepositoriesKey" : [
- {
- "DVTSourceControlWorkspaceBlueprintRemoteRepositoryURLKey" : "https:\/\/gitlab.corp.pushwoosh.com\/SDK\/iOS.git",
- "DVTSourceControlWorkspaceBlueprintRemoteRepositorySystemKey" : "com.apple.dt.Xcode.sourcecontrol.Git",
- "DVTSourceControlWorkspaceBlueprintRemoteRepositoryIdentifierKey" : "57B7C22775B1135D344C2EF50476FDC20F884776"
- },
- {
- "DVTSourceControlWorkspaceBlueprintRemoteRepositoryURLKey" : "github.com:Pushwoosh\/pushwoosh-ios-sdk.git",
- "DVTSourceControlWorkspaceBlueprintRemoteRepositorySystemKey" : "com.apple.dt.Xcode.sourcecontrol.Git",
- "DVTSourceControlWorkspaceBlueprintRemoteRepositoryIdentifierKey" : "9A6B1F8AF6402B2D7FE9756C18CEF92D93BFDB49"
- }
- ]
-}
\ No newline at end of file
diff --git a/Samples/iPhone-SWIFT/PushNotificationsApp/AppDelegate.swift b/Samples/iPhone-SWIFT/PushNotificationsApp/AppDelegate.swift
deleted file mode 100644
index 22357e0f..00000000
--- a/Samples/iPhone-SWIFT/PushNotificationsApp/AppDelegate.swift
+++ /dev/null
@@ -1,54 +0,0 @@
-//
-// AppDelegate.swift
-// PushNotificationsApp
-//
-// Created by User on 30/10/15.
-//
-//
-
-import UIKit
-import Pushwoosh
-
-@UIApplicationMain
-class AppDelegate: UIResponder, UIApplicationDelegate, PWMessagingDelegate {
-
- var window: UIWindow?
-
- func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
- //initialization code
- //set custom delegate for push handling, in our case AppDelegate
- Pushwoosh.sharedInstance()?.delegate = self;
-
- //register for push notifications!
- Pushwoosh.sharedInstance()?.registerForPushNotifications()
-
- return true
- }
-
- //handle token received from APNS
- func application(_ application: UIApplication, didRegisterForRemoteNotificationsWithDeviceToken deviceToken: Data) {
- Pushwoosh.sharedInstance()?.handlePushRegistration(deviceToken)
- }
-
- //handle token receiving error
- func application(_ application: UIApplication, didFailToRegisterForRemoteNotificationsWithError error: Error) {
- Pushwoosh.sharedInstance()?.handlePushRegistrationFailure(error);
- }
-
- //this is for iOS < 10 and for silent push notifications
- func application(_ application: UIApplication, didReceiveRemoteNotification userInfo: [AnyHashable : Any], fetchCompletionHandler completionHandler: @escaping (UIBackgroundFetchResult) -> Void) {
- Pushwoosh.sharedInstance()?.handlePushReceived(userInfo)
- completionHandler(.noData)
- }
-
- //this event is fired when the push gets received
- func pushwoosh(_ pushwoosh: Pushwoosh!, onMessageReceived message: PWMessage!) {
- print("onMessageReceived: ", message.payload.description)
- }
-
- //this event is fired when user taps the notification
- func pushwoosh(_ pushwoosh: Pushwoosh!, onMessageOpened message: PWMessage!) {
- print("onMessageOpened: ", message.payload.description)
- }
-}
-
diff --git a/Samples/iPhone-SWIFT/PushNotificationsApp/Assets.xcassets/AppIcon.appiconset/Contents.json b/Samples/iPhone-SWIFT/PushNotificationsApp/Assets.xcassets/AppIcon.appiconset/Contents.json
deleted file mode 100644
index 9221b9bb..00000000
--- a/Samples/iPhone-SWIFT/PushNotificationsApp/Assets.xcassets/AppIcon.appiconset/Contents.json
+++ /dev/null
@@ -1,98 +0,0 @@
-{
- "images" : [
- {
- "idiom" : "iphone",
- "scale" : "2x",
- "size" : "20x20"
- },
- {
- "idiom" : "iphone",
- "scale" : "3x",
- "size" : "20x20"
- },
- {
- "idiom" : "iphone",
- "scale" : "2x",
- "size" : "29x29"
- },
- {
- "idiom" : "iphone",
- "scale" : "3x",
- "size" : "29x29"
- },
- {
- "idiom" : "iphone",
- "scale" : "2x",
- "size" : "40x40"
- },
- {
- "idiom" : "iphone",
- "scale" : "3x",
- "size" : "40x40"
- },
- {
- "idiom" : "iphone",
- "scale" : "2x",
- "size" : "60x60"
- },
- {
- "idiom" : "iphone",
- "scale" : "3x",
- "size" : "60x60"
- },
- {
- "idiom" : "ipad",
- "scale" : "1x",
- "size" : "20x20"
- },
- {
- "idiom" : "ipad",
- "scale" : "2x",
- "size" : "20x20"
- },
- {
- "idiom" : "ipad",
- "scale" : "1x",
- "size" : "29x29"
- },
- {
- "idiom" : "ipad",
- "scale" : "2x",
- "size" : "29x29"
- },
- {
- "idiom" : "ipad",
- "scale" : "1x",
- "size" : "40x40"
- },
- {
- "idiom" : "ipad",
- "scale" : "2x",
- "size" : "40x40"
- },
- {
- "idiom" : "ipad",
- "scale" : "1x",
- "size" : "76x76"
- },
- {
- "idiom" : "ipad",
- "scale" : "2x",
- "size" : "76x76"
- },
- {
- "idiom" : "ipad",
- "scale" : "2x",
- "size" : "83.5x83.5"
- },
- {
- "idiom" : "ios-marketing",
- "scale" : "1x",
- "size" : "1024x1024"
- }
- ],
- "info" : {
- "author" : "xcode",
- "version" : 1
- }
-}
diff --git a/Samples/iPhone-SWIFT/PushNotificationsApp/Assets.xcassets/Contents.json b/Samples/iPhone-SWIFT/PushNotificationsApp/Assets.xcassets/Contents.json
deleted file mode 100644
index 73c00596..00000000
--- a/Samples/iPhone-SWIFT/PushNotificationsApp/Assets.xcassets/Contents.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "info" : {
- "author" : "xcode",
- "version" : 1
- }
-}
diff --git a/Samples/iPhone-SWIFT/PushNotificationsApp/Assets.xcassets/logo.imageset/Contents.json b/Samples/iPhone-SWIFT/PushNotificationsApp/Assets.xcassets/logo.imageset/Contents.json
deleted file mode 100644
index 46c2f4e0..00000000
--- a/Samples/iPhone-SWIFT/PushNotificationsApp/Assets.xcassets/logo.imageset/Contents.json
+++ /dev/null
@@ -1,21 +0,0 @@
-{
- "images" : [
- {
- "idiom" : "universal",
- "scale" : "1x"
- },
- {
- "filename" : "logo@2x.png",
- "idiom" : "universal",
- "scale" : "2x"
- },
- {
- "idiom" : "universal",
- "scale" : "3x"
- }
- ],
- "info" : {
- "author" : "xcode",
- "version" : 1
- }
-}
diff --git a/Samples/iPhone-SWIFT/PushNotificationsApp/Assets.xcassets/logo.imageset/logo@2x.png b/Samples/iPhone-SWIFT/PushNotificationsApp/Assets.xcassets/logo.imageset/logo@2x.png
deleted file mode 100644
index c3273ec5..00000000
Binary files a/Samples/iPhone-SWIFT/PushNotificationsApp/Assets.xcassets/logo.imageset/logo@2x.png and /dev/null differ
diff --git a/Samples/iPhone-SWIFT/PushNotificationsApp/Base.lproj/LaunchScreen.storyboard b/Samples/iPhone-SWIFT/PushNotificationsApp/Base.lproj/LaunchScreen.storyboard
deleted file mode 100644
index 2e721e18..00000000
--- a/Samples/iPhone-SWIFT/PushNotificationsApp/Base.lproj/LaunchScreen.storyboard
+++ /dev/null
@@ -1,27 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/Samples/iPhone-SWIFT/PushNotificationsApp/Base.lproj/Main.storyboard b/Samples/iPhone-SWIFT/PushNotificationsApp/Base.lproj/Main.storyboard
deleted file mode 100644
index 99e14fcc..00000000
--- a/Samples/iPhone-SWIFT/PushNotificationsApp/Base.lproj/Main.storyboard
+++ /dev/null
@@ -1,41 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/Samples/iPhone-SWIFT/PushNotificationsApp/Info.plist b/Samples/iPhone-SWIFT/PushNotificationsApp/Info.plist
deleted file mode 100644
index a8e1472f..00000000
--- a/Samples/iPhone-SWIFT/PushNotificationsApp/Info.plist
+++ /dev/null
@@ -1,58 +0,0 @@
-
-
-
-
- CFBundleDevelopmentRegion
- en
- CFBundleExecutable
- $(EXECUTABLE_NAME)
- CFBundleIdentifier
- $(PRODUCT_BUNDLE_IDENTIFIER)
- CFBundleInfoDictionaryVersion
- 6.0
- CFBundleName
- $(PRODUCT_NAME)
- CFBundlePackageType
- APPL
- CFBundleShortVersionString
- 1.0
- CFBundleSignature
- ????
- CFBundleVersion
- 1
- LSRequiresIPhoneOS
-
- NSAppTransportSecurity
-
- NSAllowsArbitraryLoads
-
-
- Pushwoosh_APPID
- YOUR_APPLICATION_CODE
- UIBackgroundModes
-
- remote-notification
-
- UILaunchStoryboardName
- LaunchScreen
- UIMainStoryboardFile
- Main
- UIRequiredDeviceCapabilities
-
- armv7
-
- UISupportedInterfaceOrientations
-
- UIInterfaceOrientationPortrait
- UIInterfaceOrientationLandscapeLeft
- UIInterfaceOrientationLandscapeRight
-
- UISupportedInterfaceOrientations~ipad
-
- UIInterfaceOrientationPortrait
- UIInterfaceOrientationPortraitUpsideDown
- UIInterfaceOrientationLandscapeLeft
- UIInterfaceOrientationLandscapeRight
-
-
-
diff --git a/Samples/iPhone-SWIFT/PushNotificationsApp/PushNotificationsApp.entitlements b/Samples/iPhone-SWIFT/PushNotificationsApp/PushNotificationsApp.entitlements
deleted file mode 100644
index 28c29bf6..00000000
--- a/Samples/iPhone-SWIFT/PushNotificationsApp/PushNotificationsApp.entitlements
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
- aps-environment
- production
-
-
diff --git a/Samples/iPhone-SWIFT/PushNotificationsApp/ViewController.swift b/Samples/iPhone-SWIFT/PushNotificationsApp/ViewController.swift
deleted file mode 100644
index 696cbbe9..00000000
--- a/Samples/iPhone-SWIFT/PushNotificationsApp/ViewController.swift
+++ /dev/null
@@ -1,25 +0,0 @@
-//
-// ViewController.swift
-// PushNotificationsApp
-//
-// Created by User on 30/10/15.
-//
-//
-
-import UIKit
-
-class ViewController: UIViewController {
-
- override func viewDidLoad() {
- super.viewDidLoad()
- // Do any additional setup after loading the view, typically from a nib.
- }
-
- override func didReceiveMemoryWarning() {
- super.didReceiveMemoryWarning()
- // Dispose of any resources that can be recreated.
- }
-
-
-}
-
diff --git a/Samples/iPhone/.gitignore b/Samples/iPhone/.gitignore
deleted file mode 100644
index 9bce6af3..00000000
--- a/Samples/iPhone/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-xcuserdata
diff --git a/Samples/iPhone/114.png b/Samples/iPhone/114.png
deleted file mode 100644
index a3a859fc..00000000
Binary files a/Samples/iPhone/114.png and /dev/null differ
diff --git a/Samples/iPhone/120.png b/Samples/iPhone/120.png
deleted file mode 100644
index e71172e7..00000000
Binary files a/Samples/iPhone/120.png and /dev/null differ
diff --git a/Samples/iPhone/57.png b/Samples/iPhone/57.png
deleted file mode 100644
index 5d70fba9..00000000
Binary files a/Samples/iPhone/57.png and /dev/null differ
diff --git a/Samples/iPhone/Classes/AppDelegate.h b/Samples/iPhone/Classes/AppDelegate.h
deleted file mode 100644
index bc0330c7..00000000
--- a/Samples/iPhone/Classes/AppDelegate.h
+++ /dev/null
@@ -1,14 +0,0 @@
-//
-// PushNotificationsApp
-//
-// (c) Pushwoosh 2020
-//
-
-#import "ViewController.h"
-
-@interface AppDelegate : UIResponder
-
-@property (nonatomic, strong) UIWindow *window;
-@property (nonatomic, strong) ViewController *viewController;
-
-@end
diff --git a/Samples/iPhone/Classes/AppDelegate.m b/Samples/iPhone/Classes/AppDelegate.m
deleted file mode 100644
index 982b4ac6..00000000
--- a/Samples/iPhone/Classes/AppDelegate.m
+++ /dev/null
@@ -1,67 +0,0 @@
-//
-// PushNotificationsApp
-//
-// (c) Pushwoosh 2020
-//
-
-#import "AppDelegate.h"
-#import
-
-@interface AppDelegate ()
-
-@end
-
-@implementation AppDelegate
-
-#pragma mark -
-#pragma mark Application lifecycle
-
-- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
- self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
- // Override point for customization after application launch.
- self.viewController = [[ViewController alloc] initWithNibName:@"ViewController" bundle:nil];
-
- self.window.rootViewController = self.viewController;
- [self.window makeKeyAndVisible];
-
- //-----------PUSHWOOSH PART-----------
-
- // set custom delegate for push handling, in our case AppDelegate
- [Pushwoosh sharedInstance].delegate = self;
-
- //register for push notifications!
- [[Pushwoosh sharedInstance] registerForPushNotifications];
-
- return YES;
-}
-
-//handle token received from APNS
-- (void)application:(UIApplication *)application
- didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken {
- [[Pushwoosh sharedInstance] handlePushRegistration:deviceToken];
-}
-
-//handle token receiving error
-- (void)application:(UIApplication *)application didFailToRegisterForRemoteNotificationsWithError:(NSError *)error {
- [[Pushwoosh sharedInstance] handlePushRegistrationFailure:error];
-}
-
-//this is for iOS < 10 and for silent push notifications
-- (void)application:(UIApplication *)application
- didReceiveRemoteNotification:(NSDictionary *)userInfo
- fetchCompletionHandler:(void (^)(UIBackgroundFetchResult))completionHandler {
- [[Pushwoosh sharedInstance] handlePushReceived:userInfo];
- completionHandler(UIBackgroundFetchResultNoData);
-}
-
-//this event is fired when the push gets received
-- (void)pushwoosh:(Pushwoosh *)pushwoosh onMessageReceived:(PWMessage *)message {
- NSLog(@"onMessageReceived: %@", message.payload);
-}
-
-//this event is fired when user taps the notification
-- (void)pushwoosh:(Pushwoosh *)pushwoosh onMessageOpened:(PWMessage *)message {
- NSLog(@"onMessageOpened: %@", message.payload);
-}
-
-@end
diff --git a/Samples/iPhone/Classes/ViewController.h b/Samples/iPhone/Classes/ViewController.h
deleted file mode 100644
index 5ac696ee..00000000
--- a/Samples/iPhone/Classes/ViewController.h
+++ /dev/null
@@ -1,11 +0,0 @@
-//
-// PushNotificationsApp
-//
-// (c) Pushwoosh 2020
-//
-
-#import
-
-@interface ViewController : UIViewController
-
-@end
diff --git a/Samples/iPhone/Classes/ViewController.m b/Samples/iPhone/Classes/ViewController.m
deleted file mode 100644
index a5829ced..00000000
--- a/Samples/iPhone/Classes/ViewController.m
+++ /dev/null
@@ -1,12 +0,0 @@
-//
-// PushNotificationsApp
-//
-// (c) Pushwoosh 2020
-//
-
-#import "ViewController.h"
-
-@implementation ViewController
-
-
-@end
diff --git a/Samples/iPhone/Default-568h@2x.png b/Samples/iPhone/Default-568h@2x.png
deleted file mode 100644
index 179f8d15..00000000
Binary files a/Samples/iPhone/Default-568h@2x.png and /dev/null differ
diff --git a/Samples/iPhone/Default.png b/Samples/iPhone/Default.png
deleted file mode 100644
index 74236a13..00000000
Binary files a/Samples/iPhone/Default.png and /dev/null differ
diff --git a/Samples/iPhone/Default@2x.png b/Samples/iPhone/Default@2x.png
deleted file mode 100644
index 7170285d..00000000
Binary files a/Samples/iPhone/Default@2x.png and /dev/null differ
diff --git a/Samples/iPhone/NotificationService/Info.plist b/Samples/iPhone/NotificationService/Info.plist
deleted file mode 100644
index 6a93e91a..00000000
--- a/Samples/iPhone/NotificationService/Info.plist
+++ /dev/null
@@ -1,38 +0,0 @@
-
-
-
-
- CFBundleDevelopmentRegion
- en
- CFBundleDisplayName
- NotificationService
- CFBundleExecutable
- $(EXECUTABLE_NAME)
- CFBundleIdentifier
- $(PRODUCT_BUNDLE_IDENTIFIER)
- CFBundleInfoDictionaryVersion
- 6.0
- CFBundleName
- $(PRODUCT_NAME)
- CFBundlePackageType
- XPC!
- CFBundleShortVersionString
- 1.0
- CFBundleVersion
- 1
- LSApplicationCategoryType
-
- NSAppTransportSecurity
-
- NSAllowsArbitraryLoads
-
-
- NSExtension
-
- NSExtensionPointIdentifier
- com.apple.usernotifications.service
- NSExtensionPrincipalClass
- NotificationService
-
-
-
diff --git a/Samples/iPhone/NotificationService/NotificationService.entitlements b/Samples/iPhone/NotificationService/NotificationService.entitlements
deleted file mode 100644
index 903def2a..00000000
--- a/Samples/iPhone/NotificationService/NotificationService.entitlements
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
- aps-environment
- development
-
-
diff --git a/Samples/iPhone/NotificationService/NotificationService.h b/Samples/iPhone/NotificationService/NotificationService.h
deleted file mode 100644
index 5ab84534..00000000
--- a/Samples/iPhone/NotificationService/NotificationService.h
+++ /dev/null
@@ -1,13 +0,0 @@
-//
-// NotificationService.h
-// NotificationService
-//
-// Created by User on 29/09/16.
-//
-//
-
-#import
-
-@interface NotificationService : UNNotificationServiceExtension
-
-@end
diff --git a/Samples/iPhone/NotificationService/NotificationService.m b/Samples/iPhone/NotificationService/NotificationService.m
deleted file mode 100644
index db62127a..00000000
--- a/Samples/iPhone/NotificationService/NotificationService.m
+++ /dev/null
@@ -1,68 +0,0 @@
-//
-// NotificationService.m
-// NotificationService
-//
-// Created by User on 29/09/16.
-//
-//
-
-#import "NotificationService.h"
-
-@interface NotificationService ()
-
-@property (nonatomic, strong) void (^contentHandler)(UNNotificationContent *contentToDeliver);
-@property (nonatomic, strong) UNMutableNotificationContent *bestAttemptContent;
-
-@end
-
-@implementation NotificationService
-
-- (void)didReceiveNotificationRequest:(UNNotificationRequest *)request withContentHandler:(void (^)(UNNotificationContent * _Nonnull))contentHandler {
- self.contentHandler = contentHandler;
- self.bestAttemptContent = [request.content mutableCopy];
- NSString *attachmentUrlString = [request.content.userInfo objectForKey:@"attachment"];
-
- if (![attachmentUrlString isKindOfClass:[NSString class]])
- return;
-
- NSURL *url = [NSURL URLWithString:attachmentUrlString];
- if (!url)
- return;
-
- [[[NSURLSession sharedSession] downloadTaskWithURL:url completionHandler:^(NSURL * _Nullable location, NSURLResponse * _Nullable response, NSError * _Nullable error) {
- if (!error) {
- NSString *tempDict = NSTemporaryDirectory();
- NSString *attachmentID = [[[NSUUID UUID] UUIDString] stringByAppendingString:[response.URL.absoluteString lastPathComponent]];
-
- if(response.suggestedFilename)
- attachmentID = [[[NSUUID UUID] UUIDString] stringByAppendingString:response.suggestedFilename];
-
- NSString *tempFilePath = [tempDict stringByAppendingPathComponent:attachmentID];
-
- if ([[NSFileManager defaultManager] moveItemAtPath:location.path toPath:tempFilePath error:&error]) {
- UNNotificationAttachment *attachment = [UNNotificationAttachment attachmentWithIdentifier:attachmentID URL:[NSURL fileURLWithPath:tempFilePath] options:nil error:&error];
-
- if (!attachment) {
- NSLog(@"Create attachment error: %@", error);
- } else {
- _bestAttemptContent.attachments = [_bestAttemptContent.attachments arrayByAddingObject:attachment];
- }
- } else {
- NSLog(@"Move file error: %@", error);
- }
- } else {
- NSLog(@"Download file error: %@", error);
- }
-
- [[NSOperationQueue mainQueue] addOperationWithBlock:^{
- self.contentHandler(self.bestAttemptContent);
- }];
- }] resume];
-}
-- (void)serviceExtensionTimeWillExpire {
- // Called just before the extension will be terminated by the system.
- // Use this as an opportunity to deliver your "best attempt" at modified content, otherwise the original push payload will be used.
- self.contentHandler(self.bestAttemptContent);
-}
-
-@end
diff --git a/Samples/iPhone/PushNotificationsApp-Info.plist b/Samples/iPhone/PushNotificationsApp-Info.plist
deleted file mode 100644
index 0e26a339..00000000
--- a/Samples/iPhone/PushNotificationsApp-Info.plist
+++ /dev/null
@@ -1,81 +0,0 @@
-
-
-
-
- CFBundleDevelopmentRegion
- en
- CFBundleDisplayName
- ${PRODUCT_NAME}
- CFBundleExecutable
- ${EXECUTABLE_NAME}
- CFBundleIcons
-
- CFBundlePrimaryIcon
-
- CFBundleIconFiles
-
- 120
- 114
- 57
-
-
-
- CFBundleIdentifier
- $(PRODUCT_BUNDLE_IDENTIFIER)
- CFBundleInfoDictionaryVersion
- 6.0
- CFBundleName
- ${PRODUCT_NAME}
- CFBundlePackageType
- APPL
- CFBundleShortVersionString
- 1.0
- CFBundleSignature
- ????
- CFBundleURLTypes
-
-
- CFBundleTypeRole
- Editor
- CFBundleURLName
- com.pushwoosh.scheme
- CFBundleURLSchemes
-
- pw-4FC89B6D14A655.46488481
-
-
-
- CFBundleVersion
- 1.0
- LSRequiresIPhoneOS
-
- NSAppTransportSecurity
-
- NSAllowsArbitraryLoads
-
-
- NSLocationAlwaysUsageDescription
- This demo uses location services for Pushwoosh Geozones and Beacons
- Pushwoosh_APPID
- YOUR_APPLICATION_CODE
- UIBackgroundModes
-
- remote-notification
-
- UIRequiredDeviceCapabilities
-
- armv7
-
- UISupportedInterfaceOrientations
-
- UIInterfaceOrientationPortrait
-
- UISupportedInterfaceOrientations~ipad
-
- UIInterfaceOrientationPortrait
- UIInterfaceOrientationPortraitUpsideDown
- UIInterfaceOrientationLandscapeLeft
- UIInterfaceOrientationLandscapeRight
-
-
-
diff --git a/Samples/iPhone/PushNotificationsApp.entitlements b/Samples/iPhone/PushNotificationsApp.entitlements
deleted file mode 100644
index 28c29bf6..00000000
--- a/Samples/iPhone/PushNotificationsApp.entitlements
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
- aps-environment
- production
-
-
diff --git a/Samples/iPhone/PushNotificationsApp.xcodeproj/project.pbxproj b/Samples/iPhone/PushNotificationsApp.xcodeproj/project.pbxproj
deleted file mode 100755
index 25fe60e2..00000000
--- a/Samples/iPhone/PushNotificationsApp.xcodeproj/project.pbxproj
+++ /dev/null
@@ -1,625 +0,0 @@
-// !$*UTF8*$!
-{
- archiveVersion = 1;
- classes = {
- };
- objectVersion = 46;
- objects = {
-
-/* Begin PBXBuildFile section */
- 1B6C1702194EC48900E12C46 /* CoreLocation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1B6C1701194EC48900E12C46 /* CoreLocation.framework */; };
- 1B6C1704194EC48F00E12C46 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1B6C1703194EC48F00E12C46 /* CoreGraphics.framework */; };
- 1B6C1706194EC49400E12C46 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1B6C1705194EC49400E12C46 /* Security.framework */; };
- 1D60589B0D05DD56006BFB54 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 29B97316FDCFA39411CA2CEA /* main.m */; };
- 1D60589F0D05DD5A006BFB54 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1D30AB110D05D00D00671497 /* Foundation.framework */; };
- 1DF5F4E00D08C38300B7A737 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1DF5F4DF0D08C38300B7A737 /* UIKit.framework */; };
- 46E0B46F1D9CDFC4004908AF /* NotificationService.m in Sources */ = {isa = PBXBuildFile; fileRef = 46E0B46E1D9CDFC4004908AF /* NotificationService.m */; };
- 46E0B4731D9CDFC4004908AF /* NotificationService.appex in Embed App Extensions */ = {isa = PBXBuildFile; fileRef = 46E0B46B1D9CDFC4004908AF /* NotificationService.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; };
- 46F5159A1C21A561009AB76E /* libstdc++.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 46F515991C21A561009AB76E /* libstdc++.tbd */; };
- 46F5159C1C21A569009AB76E /* libz.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 46F5159B1C21A569009AB76E /* libz.tbd */; };
- 50A9809015E7AC2F003579A4 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 50A9808F15E7AC2F003579A4 /* ViewController.m */; };
- 50A9809315E7ACB6003579A4 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 50A9809215E7ACB6003579A4 /* AppDelegate.m */; };
- 50A9809915E7AD67003579A4 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 50A9809515E7AD67003579A4 /* InfoPlist.strings */; };
- 50A9809A15E7AD67003579A4 /* ViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 50A9809715E7AD67003579A4 /* ViewController.xib */; };
- 50F4B0791641438D00424547 /* logo.png in Resources */ = {isa = PBXBuildFile; fileRef = 50F4B0781641438D00424547 /* logo.png */; };
- 5D5896D7182BA17C00D6C9D1 /* 57.png in Resources */ = {isa = PBXBuildFile; fileRef = 5D5896CF182BA17C00D6C9D1 /* 57.png */; };
- 5D5896DA182BA17C00D6C9D1 /* 114.png in Resources */ = {isa = PBXBuildFile; fileRef = 5D5896D2182BA17C00D6C9D1 /* 114.png */; };
- 5D5896DB182BA17C00D6C9D1 /* 120.png in Resources */ = {isa = PBXBuildFile; fileRef = 5D5896D3182BA17C00D6C9D1 /* 120.png */; };
- 5DB7447624655F7E004B0228 /* Pushwoosh.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5DB7447524655F7E004B0228 /* Pushwoosh.framework */; };
- 73C12A0217A90C9100CA9627 /* Default-568h@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 73C129FF17A90C9100CA9627 /* Default-568h@2x.png */; };
- 73C12A0317A90C9100CA9627 /* Default.png in Resources */ = {isa = PBXBuildFile; fileRef = 73C12A0017A90C9100CA9627 /* Default.png */; };
- 73C12A0417A90C9100CA9627 /* Default@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 73C12A0117A90C9100CA9627 /* Default@2x.png */; };
- 73C12A0617A9134500CA9627 /* logo@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 73C12A0517A9134500CA9627 /* logo@2x.png */; };
- 73C12A9317ABD7B600CA9627 /* bubble.wav in Resources */ = {isa = PBXBuildFile; fileRef = 73C12A9117ABD7B600CA9627 /* bubble.wav */; };
- 73C12A9417ABD7B600CA9627 /* silence.wav in Resources */ = {isa = PBXBuildFile; fileRef = 73C12A9217ABD7B600CA9627 /* silence.wav */; };
-/* End PBXBuildFile section */
-
-/* Begin PBXContainerItemProxy section */
- 46E0B4711D9CDFC4004908AF /* PBXContainerItemProxy */ = {
- isa = PBXContainerItemProxy;
- containerPortal = 29B97313FDCFA39411CA2CEA /* Project object */;
- proxyType = 1;
- remoteGlobalIDString = 46E0B46A1D9CDFC4004908AF;
- remoteInfo = NotificationService;
- };
-/* End PBXContainerItemProxy section */
-
-/* Begin PBXCopyFilesBuildPhase section */
- 46E0B4771D9CDFC4004908AF /* Embed App Extensions */ = {
- isa = PBXCopyFilesBuildPhase;
- buildActionMask = 2147483647;
- dstPath = "";
- dstSubfolderSpec = 13;
- files = (
- 46E0B4731D9CDFC4004908AF /* NotificationService.appex in Embed App Extensions */,
- );
- name = "Embed App Extensions";
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXCopyFilesBuildPhase section */
-
-/* Begin PBXFileReference section */
- 1B6C1701194EC48900E12C46 /* CoreLocation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreLocation.framework; path = System/Library/Frameworks/CoreLocation.framework; sourceTree = SDKROOT; };
- 1B6C1703194EC48F00E12C46 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
- 1B6C1705194EC49400E12C46 /* Security.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Security.framework; path = System/Library/Frameworks/Security.framework; sourceTree = SDKROOT; };
- 1D30AB110D05D00D00671497 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
- 1D6058910D05DD3D006BFB54 /* PushNotificationsApp.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = PushNotificationsApp.app; sourceTree = BUILT_PRODUCTS_DIR; };
- 1DF5F4DF0D08C38300B7A737 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
- 28A0AAE50D9B0CCF005BE974 /* PushNotificationsApp_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PushNotificationsApp_Prefix.pch; sourceTree = ""; };
- 29B97316FDCFA39411CA2CEA /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; };
- 46E0B4641D9B7BA5004908AF /* PushNotificationsApp.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = PushNotificationsApp.entitlements; sourceTree = ""; };
- 46E0B46B1D9CDFC4004908AF /* NotificationService.appex */ = {isa = PBXFileReference; explicitFileType = "wrapper.app-extension"; includeInIndex = 0; path = NotificationService.appex; sourceTree = BUILT_PRODUCTS_DIR; };
- 46E0B46D1D9CDFC4004908AF /* NotificationService.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = NotificationService.h; sourceTree = ""; };
- 46E0B46E1D9CDFC4004908AF /* NotificationService.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = NotificationService.m; sourceTree = ""; };
- 46E0B4701D9CDFC4004908AF /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
- 46E0B4781D9CE1C5004908AF /* NotificationService.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = NotificationService.entitlements; sourceTree = ""; };
- 46F515991C21A561009AB76E /* libstdc++.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = "libstdc++.tbd"; path = "usr/lib/libstdc++.tbd"; sourceTree = SDKROOT; };
- 46F5159B1C21A569009AB76E /* libz.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libz.tbd; path = usr/lib/libz.tbd; sourceTree = SDKROOT; };
- 50A9808E15E7AC2F003579A4 /* ViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; };
- 50A9808F15E7AC2F003579A4 /* ViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; };
- 50A9809115E7ACB6003579A4 /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; };
- 50A9809215E7ACB6003579A4 /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; };
- 50A9809615E7AD67003579A4 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = InfoPlist.strings; sourceTree = ""; };
- 50A9809815E7AD67003579A4 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = ViewController.xib; sourceTree = ""; };
- 50F4B0781641438D00424547 /* logo.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = logo.png; sourceTree = ""; };
- 5D5896CF182BA17C00D6C9D1 /* 57.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = 57.png; sourceTree = ""; };
- 5D5896D2182BA17C00D6C9D1 /* 114.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = 114.png; sourceTree = ""; };
- 5D5896D3182BA17C00D6C9D1 /* 120.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = 120.png; sourceTree = ""; };
- 5DB7447524655F7E004B0228 /* Pushwoosh.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = Pushwoosh.framework; sourceTree = ""; };
- 73C129FF17A90C9100CA9627 /* Default-568h@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default-568h@2x.png"; sourceTree = ""; };
- 73C12A0017A90C9100CA9627 /* Default.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Default.png; sourceTree = ""; };
- 73C12A0117A90C9100CA9627 /* Default@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default@2x.png"; sourceTree = ""; };
- 73C12A0517A9134500CA9627 /* logo@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "logo@2x.png"; sourceTree = ""; };
- 73C12A9117ABD7B600CA9627 /* bubble.wav */ = {isa = PBXFileReference; lastKnownFileType = audio.wav; path = bubble.wav; sourceTree = ""; };
- 73C12A9217ABD7B600CA9627 /* silence.wav */ = {isa = PBXFileReference; lastKnownFileType = audio.wav; path = silence.wav; sourceTree = ""; };
- 8D1107310486CEB800E47090 /* PushNotificationsApp-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "PushNotificationsApp-Info.plist"; plistStructureDefinitionIdentifier = "com.apple.xcode.plist.structure-definition.iphone.info-plist"; sourceTree = ""; };
-/* End PBXFileReference section */
-
-/* Begin PBXFrameworksBuildPhase section */
- 1D60588F0D05DD3D006BFB54 /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 46F5159C1C21A569009AB76E /* libz.tbd in Frameworks */,
- 46F5159A1C21A561009AB76E /* libstdc++.tbd in Frameworks */,
- 1B6C1706194EC49400E12C46 /* Security.framework in Frameworks */,
- 1B6C1704194EC48F00E12C46 /* CoreGraphics.framework in Frameworks */,
- 1B6C1702194EC48900E12C46 /* CoreLocation.framework in Frameworks */,
- 1D60589F0D05DD5A006BFB54 /* Foundation.framework in Frameworks */,
- 1DF5F4E00D08C38300B7A737 /* UIKit.framework in Frameworks */,
- 5DB7447624655F7E004B0228 /* Pushwoosh.framework in Frameworks */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- 46E0B4681D9CDFC4004908AF /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXFrameworksBuildPhase section */
-
-/* Begin PBXGroup section */
- 080E96DDFE201D6D7F000001 /* Classes */ = {
- isa = PBXGroup;
- children = (
- 50A9809115E7ACB6003579A4 /* AppDelegate.h */,
- 50A9809215E7ACB6003579A4 /* AppDelegate.m */,
- 50A9808E15E7AC2F003579A4 /* ViewController.h */,
- 50A9808F15E7AC2F003579A4 /* ViewController.m */,
- 50A9809715E7AD67003579A4 /* ViewController.xib */,
- );
- path = Classes;
- sourceTree = "";
- };
- 19C28FACFE9D520D11CA2CBB /* Products */ = {
- isa = PBXGroup;
- children = (
- 1D6058910D05DD3D006BFB54 /* PushNotificationsApp.app */,
- 46E0B46B1D9CDFC4004908AF /* NotificationService.appex */,
- );
- name = Products;
- sourceTree = "";
- };
- 29B97314FDCFA39411CA2CEA /* CustomTemplate */ = {
- isa = PBXGroup;
- children = (
- 46E0B4641D9B7BA5004908AF /* PushNotificationsApp.entitlements */,
- 080E96DDFE201D6D7F000001 /* Classes */,
- 50A9809415E7AD67003579A4 /* en.lproj */,
- 29B97315FDCFA39411CA2CEA /* Other Sources */,
- 29B97317FDCFA39411CA2CEA /* Resources */,
- 46E0B46C1D9CDFC4004908AF /* NotificationService */,
- 29B97323FDCFA39411CA2CEA /* Frameworks */,
- 19C28FACFE9D520D11CA2CBB /* Products */,
- );
- name = CustomTemplate;
- sourceTree = "";
- };
- 29B97315FDCFA39411CA2CEA /* Other Sources */ = {
- isa = PBXGroup;
- children = (
- 28A0AAE50D9B0CCF005BE974 /* PushNotificationsApp_Prefix.pch */,
- 29B97316FDCFA39411CA2CEA /* main.m */,
- );
- name = "Other Sources";
- sourceTree = "";
- };
- 29B97317FDCFA39411CA2CEA /* Resources */ = {
- isa = PBXGroup;
- children = (
- 5D5896DF182BA18000D6C9D1 /* Icons */,
- 73C12A9117ABD7B600CA9627 /* bubble.wav */,
- 73C12A9217ABD7B600CA9627 /* silence.wav */,
- 73C129FF17A90C9100CA9627 /* Default-568h@2x.png */,
- 73C12A0017A90C9100CA9627 /* Default.png */,
- 73C12A0117A90C9100CA9627 /* Default@2x.png */,
- 50F4B0781641438D00424547 /* logo.png */,
- 73C12A0517A9134500CA9627 /* logo@2x.png */,
- 8D1107310486CEB800E47090 /* PushNotificationsApp-Info.plist */,
- );
- name = Resources;
- sourceTree = "";
- };
- 29B97323FDCFA39411CA2CEA /* Frameworks */ = {
- isa = PBXGroup;
- children = (
- 5DB7447524655F7E004B0228 /* Pushwoosh.framework */,
- 46F5159B1C21A569009AB76E /* libz.tbd */,
- 46F515991C21A561009AB76E /* libstdc++.tbd */,
- 1B6C1705194EC49400E12C46 /* Security.framework */,
- 1B6C1703194EC48F00E12C46 /* CoreGraphics.framework */,
- 1B6C1701194EC48900E12C46 /* CoreLocation.framework */,
- 1DF5F4DF0D08C38300B7A737 /* UIKit.framework */,
- 1D30AB110D05D00D00671497 /* Foundation.framework */,
- );
- name = Frameworks;
- sourceTree = "";
- };
- 46E0B46C1D9CDFC4004908AF /* NotificationService */ = {
- isa = PBXGroup;
- children = (
- 46E0B4781D9CE1C5004908AF /* NotificationService.entitlements */,
- 46E0B46D1D9CDFC4004908AF /* NotificationService.h */,
- 46E0B46E1D9CDFC4004908AF /* NotificationService.m */,
- 46E0B4701D9CDFC4004908AF /* Info.plist */,
- );
- path = NotificationService;
- sourceTree = "";
- };
- 50A9809415E7AD67003579A4 /* en.lproj */ = {
- isa = PBXGroup;
- children = (
- 50A9809515E7AD67003579A4 /* InfoPlist.strings */,
- );
- path = en.lproj;
- sourceTree = "";
- };
- 5D5896DF182BA18000D6C9D1 /* Icons */ = {
- isa = PBXGroup;
- children = (
- 5D5896CF182BA17C00D6C9D1 /* 57.png */,
- 5D5896D2182BA17C00D6C9D1 /* 114.png */,
- 5D5896D3182BA17C00D6C9D1 /* 120.png */,
- );
- name = Icons;
- sourceTree = "";
- };
-/* End PBXGroup section */
-
-/* Begin PBXNativeTarget section */
- 1D6058900D05DD3D006BFB54 /* PushNotificationsApp */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = 1D6058960D05DD3E006BFB54 /* Build configuration list for PBXNativeTarget "PushNotificationsApp" */;
- buildPhases = (
- 1D60588D0D05DD3D006BFB54 /* Resources */,
- 1D60588E0D05DD3D006BFB54 /* Sources */,
- 1D60588F0D05DD3D006BFB54 /* Frameworks */,
- 46E0B4771D9CDFC4004908AF /* Embed App Extensions */,
- );
- buildRules = (
- );
- dependencies = (
- 46E0B4721D9CDFC4004908AF /* PBXTargetDependency */,
- );
- name = PushNotificationsApp;
- productName = PushNotificationsApp;
- productReference = 1D6058910D05DD3D006BFB54 /* PushNotificationsApp.app */;
- productType = "com.apple.product-type.application";
- };
- 46E0B46A1D9CDFC4004908AF /* NotificationService */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = 46E0B4741D9CDFC4004908AF /* Build configuration list for PBXNativeTarget "NotificationService" */;
- buildPhases = (
- 46E0B4671D9CDFC4004908AF /* Sources */,
- 46E0B4681D9CDFC4004908AF /* Frameworks */,
- 46E0B4691D9CDFC4004908AF /* Resources */,
- );
- buildRules = (
- );
- dependencies = (
- );
- name = NotificationService;
- productName = NotificationService;
- productReference = 46E0B46B1D9CDFC4004908AF /* NotificationService.appex */;
- productType = "com.apple.product-type.app-extension";
- };
-/* End PBXNativeTarget section */
-
-/* Begin PBXProject section */
- 29B97313FDCFA39411CA2CEA /* Project object */ = {
- isa = PBXProject;
- attributes = {
- LastUpgradeCheck = 0510;
- TargetAttributes = {
- 1D6058900D05DD3D006BFB54 = {
- DevelopmentTeam = 9YV8BDW6YQ;
- ProvisioningStyle = Manual;
- SystemCapabilities = {
- com.apple.BackgroundModes = {
- enabled = 1;
- };
- com.apple.InAppPurchase = {
- enabled = 0;
- };
- com.apple.Push = {
- enabled = 1;
- };
- };
- };
- 46E0B46A1D9CDFC4004908AF = {
- CreatedOnToolsVersion = 8.0;
- DevelopmentTeam = 9YV8BDW6YQ;
- ProvisioningStyle = Manual;
- SystemCapabilities = {
- com.apple.Push = {
- enabled = 1;
- };
- };
- };
- };
- };
- buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "PushNotificationsApp" */;
- compatibilityVersion = "Xcode 3.2";
- developmentRegion = English;
- hasScannedForEncodings = 1;
- knownRegions = (
- English,
- Japanese,
- French,
- German,
- en,
- );
- mainGroup = 29B97314FDCFA39411CA2CEA /* CustomTemplate */;
- projectDirPath = "";
- projectRoot = "";
- targets = (
- 1D6058900D05DD3D006BFB54 /* PushNotificationsApp */,
- 46E0B46A1D9CDFC4004908AF /* NotificationService */,
- );
- };
-/* End PBXProject section */
-
-/* Begin PBXResourcesBuildPhase section */
- 1D60588D0D05DD3D006BFB54 /* Resources */ = {
- isa = PBXResourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 5D5896DA182BA17C00D6C9D1 /* 114.png in Resources */,
- 5D5896DB182BA17C00D6C9D1 /* 120.png in Resources */,
- 5D5896D7182BA17C00D6C9D1 /* 57.png in Resources */,
- 50A9809915E7AD67003579A4 /* InfoPlist.strings in Resources */,
- 50A9809A15E7AD67003579A4 /* ViewController.xib in Resources */,
- 50F4B0791641438D00424547 /* logo.png in Resources */,
- 73C12A0217A90C9100CA9627 /* Default-568h@2x.png in Resources */,
- 73C12A0317A90C9100CA9627 /* Default.png in Resources */,
- 73C12A0417A90C9100CA9627 /* Default@2x.png in Resources */,
- 73C12A0617A9134500CA9627 /* logo@2x.png in Resources */,
- 73C12A9317ABD7B600CA9627 /* bubble.wav in Resources */,
- 73C12A9417ABD7B600CA9627 /* silence.wav in Resources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- 46E0B4691D9CDFC4004908AF /* Resources */ = {
- isa = PBXResourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXResourcesBuildPhase section */
-
-/* Begin PBXSourcesBuildPhase section */
- 1D60588E0D05DD3D006BFB54 /* Sources */ = {
- isa = PBXSourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 1D60589B0D05DD56006BFB54 /* main.m in Sources */,
- 50A9809015E7AC2F003579A4 /* ViewController.m in Sources */,
- 50A9809315E7ACB6003579A4 /* AppDelegate.m in Sources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- 46E0B4671D9CDFC4004908AF /* Sources */ = {
- isa = PBXSourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 46E0B46F1D9CDFC4004908AF /* NotificationService.m in Sources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXSourcesBuildPhase section */
-
-/* Begin PBXTargetDependency section */
- 46E0B4721D9CDFC4004908AF /* PBXTargetDependency */ = {
- isa = PBXTargetDependency;
- target = 46E0B46A1D9CDFC4004908AF /* NotificationService */;
- targetProxy = 46E0B4711D9CDFC4004908AF /* PBXContainerItemProxy */;
- };
-/* End PBXTargetDependency section */
-
-/* Begin PBXVariantGroup section */
- 50A9809515E7AD67003579A4 /* InfoPlist.strings */ = {
- isa = PBXVariantGroup;
- children = (
- 50A9809615E7AD67003579A4 /* en */,
- );
- name = InfoPlist.strings;
- sourceTree = "";
- };
- 50A9809715E7AD67003579A4 /* ViewController.xib */ = {
- isa = PBXVariantGroup;
- children = (
- 50A9809815E7AD67003579A4 /* en */,
- );
- name = ViewController.xib;
- path = ../en.lproj;
- sourceTree = "";
- };
-/* End PBXVariantGroup section */
-
-/* Begin XCBuildConfiguration section */
- 1D6058940D05DD3E006BFB54 /* Debug */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- CODE_SIGN_ENTITLEMENTS = PushNotificationsApp.entitlements;
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
- COPY_PHASE_STRIP = NO;
- DEVELOPMENT_TEAM = 9YV8BDW6YQ;
- FRAMEWORK_SEARCH_PATHS = (
- "$(inherited)",
- "$(PROJECT_DIR)",
- );
- GCC_DYNAMIC_NO_PIC = NO;
- GCC_OPTIMIZATION_LEVEL = 0;
- GCC_PRECOMPILE_PREFIX_HEADER = YES;
- GCC_PREFIX_HEADER = PushNotificationsApp_Prefix.pch;
- INFOPLIST_FILE = "PushNotificationsApp-Info.plist";
- OTHER_LDFLAGS = (
- "-ObjC",
- "-all_load",
- );
- PRODUCT_BUNDLE_IDENTIFIER = com.pushwoosh.demoapp;
- PRODUCT_NAME = PushNotificationsApp;
- PROVISIONING_PROFILE = "42c7ddb9-8261-4d0a-8ff7-3c628b5cf564";
- PROVISIONING_PROFILE_SPECIFIER = "Pushwoosh Demo Development";
- TARGETED_DEVICE_FAMILY = "1,2";
- };
- name = Debug;
- };
- 1D6058950D05DD3E006BFB54 /* Release */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- CODE_SIGN_ENTITLEMENTS = PushNotificationsApp.entitlements;
- CODE_SIGN_IDENTITY = "iPhone Distribution";
- COPY_PHASE_STRIP = YES;
- DEVELOPMENT_TEAM = 9YV8BDW6YQ;
- FRAMEWORK_SEARCH_PATHS = (
- "$(inherited)",
- "$(PROJECT_DIR)",
- );
- GCC_PRECOMPILE_PREFIX_HEADER = YES;
- GCC_PREFIX_HEADER = PushNotificationsApp_Prefix.pch;
- INFOPLIST_FILE = "PushNotificationsApp-Info.plist";
- OTHER_LDFLAGS = (
- "-ObjC",
- "-all_load",
- );
- PRODUCT_BUNDLE_IDENTIFIER = com.pushwoosh.demoapp;
- PRODUCT_NAME = PushNotificationsApp;
- PROVISIONING_PROFILE = "3653de08-dd87-4b8d-8061-5beef66215c6";
- PROVISIONING_PROFILE_SPECIFIER = "Universal In House";
- TARGETED_DEVICE_FAMILY = "1,2";
- VALIDATE_PRODUCT = YES;
- };
- name = Release;
- };
- 46E0B4751D9CDFC4004908AF /* Debug */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- CLANG_ANALYZER_NONNULL = YES;
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
- CLANG_CXX_LIBRARY = "libc++";
- CLANG_ENABLE_MODULES = YES;
- CLANG_WARN_BOOL_CONVERSION = YES;
- CLANG_WARN_CONSTANT_CONVERSION = YES;
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
- CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
- CLANG_WARN_EMPTY_BODY = YES;
- CLANG_WARN_ENUM_CONVERSION = YES;
- CLANG_WARN_INFINITE_RECURSION = YES;
- CLANG_WARN_INT_CONVERSION = YES;
- CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
- CLANG_WARN_SUSPICIOUS_MOVES = YES;
- CLANG_WARN_UNREACHABLE_CODE = YES;
- CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
- CODE_SIGN_ENTITLEMENTS = NotificationService/NotificationService.entitlements;
- COPY_PHASE_STRIP = NO;
- DEBUG_INFORMATION_FORMAT = dwarf;
- DEVELOPMENT_TEAM = 9YV8BDW6YQ;
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- ENABLE_TESTABILITY = YES;
- GCC_C_LANGUAGE_STANDARD = gnu99;
- GCC_DYNAMIC_NO_PIC = NO;
- GCC_NO_COMMON_BLOCKS = YES;
- GCC_OPTIMIZATION_LEVEL = 0;
- GCC_PREPROCESSOR_DEFINITIONS = (
- "DEBUG=1",
- "$(inherited)",
- );
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
- GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
- GCC_WARN_UNDECLARED_SELECTOR = YES;
- GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
- GCC_WARN_UNUSED_FUNCTION = YES;
- INFOPLIST_FILE = NotificationService/Info.plist;
- IPHONEOS_DEPLOYMENT_TARGET = 10.0;
- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks";
- MTL_ENABLE_DEBUG_INFO = YES;
- PRODUCT_BUNDLE_IDENTIFIER = com.pushwoosh.demoapp.NotificationService;
- PRODUCT_NAME = "$(TARGET_NAME)";
- PROVISIONING_PROFILE = "0bd1b1dd-325a-4238-9e40-8e91b1d6e75e";
- PROVISIONING_PROFILE_SPECIFIER = "Universal Development";
- SKIP_INSTALL = YES;
- };
- name = Debug;
- };
- 46E0B4761D9CDFC4004908AF /* Release */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- CLANG_ANALYZER_NONNULL = YES;
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
- CLANG_CXX_LIBRARY = "libc++";
- CLANG_ENABLE_MODULES = YES;
- CLANG_WARN_BOOL_CONVERSION = YES;
- CLANG_WARN_CONSTANT_CONVERSION = YES;
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
- CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
- CLANG_WARN_EMPTY_BODY = YES;
- CLANG_WARN_ENUM_CONVERSION = YES;
- CLANG_WARN_INFINITE_RECURSION = YES;
- CLANG_WARN_INT_CONVERSION = YES;
- CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
- CLANG_WARN_SUSPICIOUS_MOVES = YES;
- CLANG_WARN_UNREACHABLE_CODE = YES;
- CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
- CODE_SIGN_ENTITLEMENTS = NotificationService/NotificationService.entitlements;
- CODE_SIGN_IDENTITY = "iPhone Distribution";
- COPY_PHASE_STRIP = NO;
- DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
- DEVELOPMENT_TEAM = 9YV8BDW6YQ;
- ENABLE_NS_ASSERTIONS = NO;
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- GCC_C_LANGUAGE_STANDARD = gnu99;
- GCC_NO_COMMON_BLOCKS = YES;
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
- GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
- GCC_WARN_UNDECLARED_SELECTOR = YES;
- GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
- GCC_WARN_UNUSED_FUNCTION = YES;
- INFOPLIST_FILE = NotificationService/Info.plist;
- IPHONEOS_DEPLOYMENT_TARGET = 10.0;
- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks";
- MTL_ENABLE_DEBUG_INFO = NO;
- PRODUCT_BUNDLE_IDENTIFIER = com.pushwoosh.demoapp.NotificationService;
- PRODUCT_NAME = "$(TARGET_NAME)";
- PROVISIONING_PROFILE = "3653de08-dd87-4b8d-8061-5beef66215c6";
- PROVISIONING_PROFILE_SPECIFIER = "Universal In House";
- SKIP_INSTALL = YES;
- VALIDATE_PRODUCT = YES;
- };
- name = Release;
- };
- C01FCF4F08A954540054247B /* Debug */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- CLANG_ENABLE_OBJC_ARC = YES;
- CODE_SIGN_IDENTITY = "iPhone Developer";
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
- FRAMEWORK_SEARCH_PATHS = "./**";
- GCC_WARN_ABOUT_RETURN_TYPE = YES;
- GCC_WARN_UNUSED_VARIABLE = YES;
- HEADER_SEARCH_PATHS = "Classes/**";
- IPHONEOS_DEPLOYMENT_TARGET = 8.0;
- ONLY_ACTIVE_ARCH = YES;
- OTHER_LDFLAGS = "-ObjC";
- SDKROOT = iphoneos;
- };
- name = Debug;
- };
- C01FCF5008A954540054247B /* Release */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- CLANG_ENABLE_OBJC_ARC = YES;
- CODE_SIGN_IDENTITY = "iPhone Developer";
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
- FRAMEWORK_SEARCH_PATHS = "./**";
- GCC_WARN_ABOUT_RETURN_TYPE = YES;
- GCC_WARN_UNUSED_VARIABLE = YES;
- HEADER_SEARCH_PATHS = "Classes/**";
- IPHONEOS_DEPLOYMENT_TARGET = 8.0;
- OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1";
- OTHER_LDFLAGS = "-ObjC";
- SDKROOT = iphoneos;
- };
- name = Release;
- };
-/* End XCBuildConfiguration section */
-
-/* Begin XCConfigurationList section */
- 1D6058960D05DD3E006BFB54 /* Build configuration list for PBXNativeTarget "PushNotificationsApp" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 1D6058940D05DD3E006BFB54 /* Debug */,
- 1D6058950D05DD3E006BFB54 /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
- 46E0B4741D9CDFC4004908AF /* Build configuration list for PBXNativeTarget "NotificationService" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 46E0B4751D9CDFC4004908AF /* Debug */,
- 46E0B4761D9CDFC4004908AF /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
- C01FCF4E08A954540054247B /* Build configuration list for PBXProject "PushNotificationsApp" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- C01FCF4F08A954540054247B /* Debug */,
- C01FCF5008A954540054247B /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
-/* End XCConfigurationList section */
- };
- rootObject = 29B97313FDCFA39411CA2CEA /* Project object */;
-}
diff --git a/Samples/iPhone/PushNotificationsApp.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Samples/iPhone/PushNotificationsApp.xcodeproj/project.xcworkspace/contents.xcworkspacedata
deleted file mode 100644
index 919434a6..00000000
--- a/Samples/iPhone/PushNotificationsApp.xcodeproj/project.xcworkspace/contents.xcworkspacedata
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
diff --git a/Samples/iPhone/PushNotificationsApp.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/Samples/iPhone/PushNotificationsApp.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
deleted file mode 100644
index 18d98100..00000000
--- a/Samples/iPhone/PushNotificationsApp.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
- IDEDidComputeMac32BitWarning
-
-
-
diff --git a/Samples/iPhone/PushNotificationsApp_Prefix.pch b/Samples/iPhone/PushNotificationsApp_Prefix.pch
deleted file mode 100644
index b75c1e85..00000000
--- a/Samples/iPhone/PushNotificationsApp_Prefix.pch
+++ /dev/null
@@ -1,16 +0,0 @@
-//
-// PushNotificationsApp
-//
-// (c) Pushwoosh 2014
-//
-
-#import
-
-#ifndef __IPHONE_4_0
- #warning "This project uses features only available in iOS SDK 4.0 and later."
-#endif
-
-#ifdef __OBJC__
- #import
- #import
-#endif
diff --git a/Samples/iPhone/Pushwoosh.framework b/Samples/iPhone/Pushwoosh.framework
deleted file mode 120000
index d5ddf24b..00000000
--- a/Samples/iPhone/Pushwoosh.framework
+++ /dev/null
@@ -1 +0,0 @@
-../../Framework/Pushwoosh.framework/
\ No newline at end of file
diff --git a/Samples/iPhone/bubble.wav b/Samples/iPhone/bubble.wav
deleted file mode 100644
index aa50d51b..00000000
Binary files a/Samples/iPhone/bubble.wav and /dev/null differ
diff --git a/Samples/iPhone/en.lproj/InfoPlist.strings b/Samples/iPhone/en.lproj/InfoPlist.strings
deleted file mode 100644
index 477b28ff..00000000
--- a/Samples/iPhone/en.lproj/InfoPlist.strings
+++ /dev/null
@@ -1,2 +0,0 @@
-/* Localized versions of Info.plist keys */
-
diff --git a/Samples/iPhone/en.lproj/ViewController.xib b/Samples/iPhone/en.lproj/ViewController.xib
deleted file mode 100644
index e36f8890..00000000
--- a/Samples/iPhone/en.lproj/ViewController.xib
+++ /dev/null
@@ -1,35 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/Samples/iPhone/logo.png b/Samples/iPhone/logo.png
deleted file mode 100644
index fbe8cb82..00000000
Binary files a/Samples/iPhone/logo.png and /dev/null differ
diff --git a/Samples/iPhone/logo@2x.png b/Samples/iPhone/logo@2x.png
deleted file mode 100644
index c3273ec5..00000000
Binary files a/Samples/iPhone/logo@2x.png and /dev/null differ
diff --git a/Samples/iPhone/main.m b/Samples/iPhone/main.m
deleted file mode 100644
index d54afca1..00000000
--- a/Samples/iPhone/main.m
+++ /dev/null
@@ -1,13 +0,0 @@
-//
-// PushNotificationsApp
-//
-// (c) Pushwoosh 2014
-//
-
-#import "AppDelegate.h"
-
-int main(int argc, char *argv[]) {
- @autoreleasepool {
- return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
- }
-}
diff --git a/Samples/iPhone/silence.wav b/Samples/iPhone/silence.wav
deleted file mode 100644
index 3cdca0be..00000000
Binary files a/Samples/iPhone/silence.wav and /dev/null differ