diff --git a/SessionPushNotificationExtension/Meta/Info.plist b/SessionNotificationServiceExtension/Meta/Info.plist
similarity index 95%
rename from SessionPushNotificationExtension/Meta/Info.plist
rename to SessionNotificationServiceExtension/Meta/Info.plist
index 28d809d22..b3c8b67ea 100644
--- a/SessionPushNotificationExtension/Meta/Info.plist
+++ b/SessionNotificationServiceExtension/Meta/Info.plist
@@ -5,7 +5,7 @@
CFBundleDevelopmentRegion
$(DEVELOPMENT_LANGUAGE)
CFBundleDisplayName
- SessionPushNotificationExtension
+ SessionNotificationServiceExtension
CFBundleExecutable
$(EXECUTABLE_NAME)
CFBundleIdentifier
diff --git a/SessionPushNotificationExtension/Meta/SessionPushNotificationExtension.entitlements b/SessionNotificationServiceExtension/Meta/SessionNotificationServiceExtension.entitlements
similarity index 88%
rename from SessionPushNotificationExtension/Meta/SessionPushNotificationExtension.entitlements
rename to SessionNotificationServiceExtension/Meta/SessionNotificationServiceExtension.entitlements
index f10895535..758088249 100644
--- a/SessionPushNotificationExtension/Meta/SessionPushNotificationExtension.entitlements
+++ b/SessionNotificationServiceExtension/Meta/SessionNotificationServiceExtension.entitlements
@@ -2,6 +2,8 @@
+ aps-environment
+ development
com.apple.security.application-groups
group.com.loki-project.loki-messenger
diff --git a/SessionPushNotificationExtension/NotificationServiceExtension.swift b/SessionNotificationServiceExtension/NotificationServiceExtension.swift
similarity index 91%
rename from SessionPushNotificationExtension/NotificationServiceExtension.swift
rename to SessionNotificationServiceExtension/NotificationServiceExtension.swift
index 335df69e1..844b37895 100644
--- a/SessionPushNotificationExtension/NotificationServiceExtension.swift
+++ b/SessionNotificationServiceExtension/NotificationServiceExtension.swift
@@ -4,7 +4,7 @@ import SignalUtilitiesKit
// TODO: Group notifications
-final class NotificationServiceExtension : UNNotificationServiceExtension {
+public final class NotificationServiceExtension : UNNotificationServiceExtension {
private var didPerformSetup = false
private var areVersionMigrationsComplete = false
private var contentHandler: ((UNNotificationContent) -> Void)?
@@ -13,7 +13,7 @@ final class NotificationServiceExtension : UNNotificationServiceExtension {
private static let isFromRemoteKey = "remote"
private static let threadIdKey = "Signal.AppNotificationsUserInfoKey.threadId"
- override func didReceive(_ request: UNNotificationRequest, withContentHandler contentHandler: @escaping (UNNotificationContent) -> Void) {
+ override public func didReceive(_ request: UNNotificationRequest, withContentHandler contentHandler: @escaping (UNNotificationContent) -> Void) {
self.contentHandler = contentHandler
self.notificationContent = request.content.mutableCopy() as? UNMutableNotificationContent
@@ -71,7 +71,7 @@ final class NotificationServiceExtension : UNNotificationServiceExtension {
}
}
- func setUpIfNecessary(completion: @escaping () -> Void) {
+ private func setUpIfNecessary(completion: @escaping () -> Void) {
AssertIsOnMainThread()
// The NSE will often re-use the same process, so if we're
@@ -113,7 +113,7 @@ final class NotificationServiceExtension : UNNotificationServiceExtension {
NotificationCenter.default.addObserver(self, selector: #selector(storageIsReady), name: .StorageIsReady, object: nil)
}
- override func serviceExtensionTimeWillExpire() {
+ override public 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.
let userInfo: [String:Any] = [ NotificationServiceExtension.isFromRemoteKey : true ]
@@ -126,7 +126,7 @@ final class NotificationServiceExtension : UNNotificationServiceExtension {
}
@objc
- func versionMigrationsDidComplete() {
+ private func versionMigrationsDidComplete() {
AssertIsOnMainThread()
areVersionMigrationsComplete = true
@@ -135,14 +135,14 @@ final class NotificationServiceExtension : UNNotificationServiceExtension {
}
@objc
- func storageIsReady() {
+ private func storageIsReady() {
AssertIsOnMainThread()
checkIsAppReady()
}
@objc
- func checkIsAppReady() {
+ private func checkIsAppReady() {
AssertIsOnMainThread()
// Only mark the app as ready once.
@@ -157,15 +157,15 @@ final class NotificationServiceExtension : UNNotificationServiceExtension {
AppReadiness.setAppIsReady()
}
- func completeSilenty() {
+ private func completeSilenty() {
contentHandler!(.init())
}
- func handleSuccess(for content: UNMutableNotificationContent) {
+ private func handleSuccess(for content: UNMutableNotificationContent) {
contentHandler!(content)
}
- func handleFailure(for content: UNMutableNotificationContent) {
+ private func handleFailure(for content: UNMutableNotificationContent) {
content.body = "New Message"
content.title = "Session"
let userInfo: [String:Any] = [ NotificationServiceExtension.isFromRemoteKey : true ]
diff --git a/SessionPushNotificationExtension/NotificationServiceExtensionContext.swift b/SessionNotificationServiceExtension/NotificationServiceExtensionContext.swift
similarity index 100%
rename from SessionPushNotificationExtension/NotificationServiceExtensionContext.swift
rename to SessionNotificationServiceExtension/NotificationServiceExtensionContext.swift
diff --git a/SessionShareExtension/Meta/Info.plist b/SessionShareExtension/Meta/Info.plist
index de9b79680..dd54da13e 100644
--- a/SessionShareExtension/Meta/Info.plist
+++ b/SessionShareExtension/Meta/Info.plist
@@ -5,7 +5,7 @@
CFBundleDevelopmentRegion
$(DEVELOPMENT_LANGUAGE)
CFBundleDisplayName
- Signal
+ SessionShareExtension
CFBundleExecutable
$(EXECUTABLE_NAME)
CFBundleIdentifier
diff --git a/Signal.xcodeproj/project.pbxproj b/Signal.xcodeproj/project.pbxproj
index 1fc8e2184..bf82e05af 100644
--- a/Signal.xcodeproj/project.pbxproj
+++ b/Signal.xcodeproj/project.pbxproj
@@ -182,7 +182,6 @@
4CA485BB2232339F004B9E7D /* PhotoCaptureViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4CA485BA2232339F004B9E7D /* PhotoCaptureViewController.swift */; };
4CB5F26720F6E1E2004D1B42 /* MenuActionsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4CFF4C0920F55BBA005DA313 /* MenuActionsViewController.swift */; };
4CB5F26920F7D060004D1B42 /* MessageActions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4CB5F26820F7D060004D1B42 /* MessageActions.swift */; };
- 4CC1ECF9211A47CE00CC13BE /* StoreKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4CC1ECF8211A47CD00CC13BE /* StoreKit.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
4CC1ECFB211A553000CC13BE /* AppUpdateNag.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4CC1ECFA211A553000CC13BE /* AppUpdateNag.swift */; };
4CC613362227A00400E21A3A /* ConversationSearch.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4CC613352227A00400E21A3A /* ConversationSearch.swift */; };
4CEB78C92178EBAB00F315D2 /* OWSSessionResetJobRecord.m in Sources */ = {isa = PBXBuildFile; fileRef = 4CEB78C82178EBAB00F315D2 /* OWSSessionResetJobRecord.m */; };
@@ -193,7 +192,7 @@
76C87F19181EFCE600C4ACAB /* MediaPlayer.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 76C87F18181EFCE600C4ACAB /* MediaPlayer.framework */; };
76EB054018170B33006006FC /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 76EB03C318170B33006006FC /* AppDelegate.m */; };
7BC01A3E241F40AB00BC7C55 /* NotificationServiceExtension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7BC01A3D241F40AB00BC7C55 /* NotificationServiceExtension.swift */; };
- 7BC01A42241F40AB00BC7C55 /* SessionPushNotificationExtension.appex in Embed App Extensions */ = {isa = PBXBuildFile; fileRef = 7BC01A3B241F40AB00BC7C55 /* SessionPushNotificationExtension.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; };
+ 7BC01A42241F40AB00BC7C55 /* SessionNotificationServiceExtension.appex in Embed App Extensions */ = {isa = PBXBuildFile; fileRef = 7BC01A3B241F40AB00BC7C55 /* SessionNotificationServiceExtension.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; };
7BDCFC08242186E700641C39 /* NotificationServiceExtensionContext.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7BDCFC07242186E700641C39 /* NotificationServiceExtensionContext.swift */; };
7BDCFC0B2421EB7600641C39 /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = B6F509951AA53F760068F56A /* Localizable.strings */; };
8E10697B10CBC965F052A4CB /* Pods_SessionPushNotificationExtension.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D9E02BC2732E07195B5AFA75 /* Pods_SessionPushNotificationExtension.framework */; };
@@ -1021,7 +1020,7 @@
dstPath = "";
dstSubfolderSpec = 13;
files = (
- 7BC01A42241F40AB00BC7C55 /* SessionPushNotificationExtension.appex in Embed App Extensions */,
+ 7BC01A42241F40AB00BC7C55 /* SessionNotificationServiceExtension.appex in Embed App Extensions */,
453518721FC635DD00210559 /* SessionShareExtension.appex in Embed App Extensions */,
);
name = "Embed App Extensions";
@@ -1281,7 +1280,6 @@
4CA46F4B219CCC630038ABDE /* CaptionView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CaptionView.swift; sourceTree = ""; };
4CA485BA2232339F004B9E7D /* PhotoCaptureViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PhotoCaptureViewController.swift; sourceTree = ""; };
4CB5F26820F7D060004D1B42 /* MessageActions.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MessageActions.swift; sourceTree = ""; };
- 4CC1ECF8211A47CD00CC13BE /* StoreKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = StoreKit.framework; path = System/Library/Frameworks/StoreKit.framework; sourceTree = SDKROOT; };
4CC1ECFA211A553000CC13BE /* AppUpdateNag.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppUpdateNag.swift; sourceTree = ""; };
4CC613352227A00400E21A3A /* ConversationSearch.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ConversationSearch.swift; sourceTree = ""; };
4CEB78C72178EBAB00F315D2 /* OWSSessionResetJobRecord.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = OWSSessionResetJobRecord.h; sourceTree = ""; };
@@ -1300,10 +1298,10 @@
76C87F18181EFCE600C4ACAB /* MediaPlayer.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MediaPlayer.framework; path = System/Library/Frameworks/MediaPlayer.framework; sourceTree = SDKROOT; };
76EB03C218170B33006006FC /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; };
76EB03C318170B33006006FC /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; };
- 7BC01A3B241F40AB00BC7C55 /* SessionPushNotificationExtension.appex */ = {isa = PBXFileReference; explicitFileType = "wrapper.app-extension"; includeInIndex = 0; path = SessionPushNotificationExtension.appex; sourceTree = BUILT_PRODUCTS_DIR; };
+ 7BC01A3B241F40AB00BC7C55 /* SessionNotificationServiceExtension.appex */ = {isa = PBXFileReference; explicitFileType = "wrapper.app-extension"; includeInIndex = 0; path = SessionNotificationServiceExtension.appex; sourceTree = BUILT_PRODUCTS_DIR; };
7BC01A3D241F40AB00BC7C55 /* NotificationServiceExtension.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NotificationServiceExtension.swift; sourceTree = ""; };
7BC01A3F241F40AB00BC7C55 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
- 7BDCFC0424206E7300641C39 /* SessionPushNotificationExtension.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = SessionPushNotificationExtension.entitlements; sourceTree = ""; };
+ 7BDCFC0424206E7300641C39 /* SessionNotificationServiceExtension.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = SessionNotificationServiceExtension.entitlements; sourceTree = ""; };
7BDCFC07242186E700641C39 /* NotificationServiceExtensionContext.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NotificationServiceExtensionContext.swift; sourceTree = ""; };
7DD180F770F8518B4E8796F2 /* Pods-SessionUtilitiesKit.app store release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SessionUtilitiesKit.app store release.xcconfig"; path = "Pods/Target Support Files/Pods-SessionUtilitiesKit/Pods-SessionUtilitiesKit.app store release.xcconfig"; sourceTree = ""; };
8981C8F64D94D3C52EB67A2C /* Pods-SignalTests.test.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SignalTests.test.xcconfig"; path = "Pods/Target Support Files/Pods-SignalTests/Pods-SignalTests.test.xcconfig"; sourceTree = ""; };
@@ -2160,7 +2158,6 @@
C37F54DC255BB84A002AEA92 /* SessionSnodeKit.framework in Frameworks */,
C37F54CB255BB53F002AEA92 /* SessionProtocolKit.framework in Frameworks */,
C37F5414255BAFA7002AEA92 /* SignalUtilitiesKit.framework in Frameworks */,
- 4CC1ECF9211A47CE00CC13BE /* StoreKit.framework in Frameworks */,
455A16DD1F1FEA0000F86704 /* Metal.framework in Frameworks */,
455A16DE1F1FEA0000F86704 /* MetalKit.framework in Frameworks */,
45847E871E4283C30080EAB3 /* Intents.framework in Frameworks */,
@@ -2478,14 +2475,14 @@
path = Signal;
sourceTree = "";
};
- 7BC01A3C241F40AB00BC7C55 /* SessionPushNotificationExtension */ = {
+ 7BC01A3C241F40AB00BC7C55 /* SessionNotificationServiceExtension */ = {
isa = PBXGroup;
children = (
C31C219B255BC92200EC2D66 /* Meta */,
7BDCFC07242186E700641C39 /* NotificationServiceExtensionContext.swift */,
7BC01A3D241F40AB00BC7C55 /* NotificationServiceExtension.swift */,
);
- path = SessionPushNotificationExtension;
+ path = SessionNotificationServiceExtension;
sourceTree = "";
};
9404664EC513585B05DF1350 /* Pods */ = {
@@ -2706,7 +2703,7 @@
isa = PBXGroup;
children = (
7BC01A3F241F40AB00BC7C55 /* Info.plist */,
- 7BDCFC0424206E7300641C39 /* SessionPushNotificationExtension.entitlements */,
+ 7BDCFC0424206E7300641C39 /* SessionNotificationServiceExtension.entitlements */,
);
path = Meta;
sourceTree = "";
@@ -3814,7 +3811,7 @@
children = (
D221A093169C9E5E00537ABF /* Session */,
453518691FC635DD00210559 /* SessionShareExtension */,
- 7BC01A3C241F40AB00BC7C55 /* SessionPushNotificationExtension */,
+ 7BC01A3C241F40AB00BC7C55 /* SessionNotificationServiceExtension */,
C33FD9AC255A548A00E217F9 /* SignalUtilitiesKit */,
C331FF1C2558F9D300070591 /* SessionUIKit */,
C3C2A6F125539DE700C340D1 /* SessionMessagingKit */,
@@ -3832,7 +3829,7 @@
children = (
D221A089169C9E5E00537ABF /* Session.app */,
453518681FC635DD00210559 /* SessionShareExtension.appex */,
- 7BC01A3B241F40AB00BC7C55 /* SessionPushNotificationExtension.appex */,
+ 7BC01A3B241F40AB00BC7C55 /* SessionNotificationServiceExtension.appex */,
C3C2A59F255385C100C340D1 /* SessionSnodeKit.framework */,
C3C2A679255388CC00C340D1 /* SessionUtilitiesKit.framework */,
C3C2A6F025539DE700C340D1 /* SessionMessagingKit.framework */,
@@ -3850,7 +3847,6 @@
B847570023D568EB00759540 /* SignalServiceKit.framework */,
3496955F21A2FC8100DCFE74 /* CloudKit.framework */,
4C9CA25C217E676900607C63 /* ZXingObjC.framework */,
- 4CC1ECF8211A47CD00CC13BE /* StoreKit.framework */,
455A16DB1F1FEA0000F86704 /* Metal.framework */,
455A16DC1F1FEA0000F86704 /* MetalKit.framework */,
45847E861E4283C30080EAB3 /* Intents.framework */,
@@ -4162,9 +4158,9 @@
productReference = 453518681FC635DD00210559 /* SessionShareExtension.appex */;
productType = "com.apple.product-type.app-extension";
};
- 7BC01A3A241F40AB00BC7C55 /* SessionPushNotificationExtension */ = {
+ 7BC01A3A241F40AB00BC7C55 /* SessionNotificationServiceExtension */ = {
isa = PBXNativeTarget;
- buildConfigurationList = 7BC01A45241F40AB00BC7C55 /* Build configuration list for PBXNativeTarget "SessionPushNotificationExtension" */;
+ buildConfigurationList = 7BC01A45241F40AB00BC7C55 /* Build configuration list for PBXNativeTarget "SessionNotificationServiceExtension" */;
buildPhases = (
4B4609DACEC6E462A2394D2F /* [CP] Check Pods Manifest.lock */,
7BC01A37241F40AB00BC7C55 /* Sources */,
@@ -4176,9 +4172,9 @@
dependencies = (
C3D90A7125773A44002C9DF5 /* PBXTargetDependency */,
);
- name = SessionPushNotificationExtension;
+ name = SessionNotificationServiceExtension;
productName = LokiPushNotificationService;
- productReference = 7BC01A3B241F40AB00BC7C55 /* SessionPushNotificationExtension.appex */;
+ productReference = 7BC01A3B241F40AB00BC7C55 /* SessionNotificationServiceExtension.appex */;
productType = "com.apple.product-type.app-extension";
};
C331FF1A2558F9D300070591 /* SessionUIKit */ = {
@@ -4457,7 +4453,7 @@
targets = (
D221A088169C9E5E00537ABF /* Session */,
453518671FC635DD00210559 /* SessionShareExtension */,
- 7BC01A3A241F40AB00BC7C55 /* SessionPushNotificationExtension */,
+ 7BC01A3A241F40AB00BC7C55 /* SessionNotificationServiceExtension */,
C33FD9AA255A548A00E217F9 /* SignalUtilitiesKit */,
C331FF1A2558F9D300070591 /* SessionUIKit */,
C3C2A6EF25539DE700C340D1 /* SessionMessagingKit */,
@@ -5558,7 +5554,7 @@
};
7BC01A41241F40AB00BC7C55 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
- target = 7BC01A3A241F40AB00BC7C55 /* SessionPushNotificationExtension */;
+ target = 7BC01A3A241F40AB00BC7C55 /* SessionNotificationServiceExtension */;
targetProxy = 7BC01A40241F40AB00BC7C55 /* PBXContainerItemProxy */;
};
C331FF212558F9D300070591 /* PBXTargetDependency */ = {
@@ -5790,7 +5786,7 @@
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
- CODE_SIGN_ENTITLEMENTS = SessionPushNotificationExtension/Meta/SessionPushNotificationExtension.entitlements;
+ CODE_SIGN_ENTITLEMENTS = SessionNotificationServiceExtension/Meta/SessionNotificationServiceExtension.entitlements;
CODE_SIGN_IDENTITY = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CODE_SIGN_STYLE = Automatic;
@@ -5811,13 +5807,13 @@
);
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
- INFOPLIST_FILE = SessionPushNotificationExtension/Meta/Info.plist;
+ INFOPLIST_FILE = SessionNotificationServiceExtension/Meta/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks";
MARKETING_VERSION = 1.6.5;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
- PRODUCT_BUNDLE_IDENTIFIER = "com.loki-project.loki-messenger.push-notification-service";
+ PRODUCT_BUNDLE_IDENTIFIER = "com.loki-project.loki-messenger.NotificationServiceExtension";
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
@@ -5861,7 +5857,7 @@
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
- CODE_SIGN_ENTITLEMENTS = SessionPushNotificationExtension/Meta/SessionPushNotificationExtension.entitlements;
+ CODE_SIGN_ENTITLEMENTS = SessionNotificationServiceExtension/Meta/SessionNotificationServiceExtension.entitlements;
CODE_SIGN_IDENTITY = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CODE_SIGN_STYLE = Automatic;
@@ -5887,13 +5883,13 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
- INFOPLIST_FILE = SessionPushNotificationExtension/Meta/Info.plist;
+ INFOPLIST_FILE = SessionNotificationServiceExtension/Meta/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks";
MARKETING_VERSION = 1.6.5;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
- PRODUCT_BUNDLE_IDENTIFIER = "com.loki-project.loki-messenger.push-notification-service";
+ PRODUCT_BUNDLE_IDENTIFIER = "com.loki-project.loki-messenger.NotificationServiceExtension";
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = iphoneos;
SKIP_INSTALL = YES;
@@ -7006,7 +7002,7 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = "App Store Release";
};
- 7BC01A45241F40AB00BC7C55 /* Build configuration list for PBXNativeTarget "SessionPushNotificationExtension" */ = {
+ 7BC01A45241F40AB00BC7C55 /* Build configuration list for PBXNativeTarget "SessionNotificationServiceExtension" */ = {
isa = XCConfigurationList;
buildConfigurations = (
7BC01A43241F40AB00BC7C55 /* Debug */,
diff --git a/Signal.xcodeproj/xcshareddata/xcschemes/SessionPushNotificationExtension.xcscheme b/Signal.xcodeproj/xcshareddata/xcschemes/SessionNotificationServiceExtension.xcscheme
similarity index 90%
rename from Signal.xcodeproj/xcshareddata/xcschemes/SessionPushNotificationExtension.xcscheme
rename to Signal.xcodeproj/xcshareddata/xcschemes/SessionNotificationServiceExtension.xcscheme
index f92a82fc5..2d7587516 100644
--- a/Signal.xcodeproj/xcshareddata/xcschemes/SessionPushNotificationExtension.xcscheme
+++ b/Signal.xcodeproj/xcshareddata/xcschemes/SessionNotificationServiceExtension.xcscheme
@@ -2,7 +2,7 @@
+ version = "2.0">
@@ -16,8 +16,8 @@
@@ -50,13 +50,14 @@
selectedDebuggerIdentifier = ""
selectedLauncherIdentifier = "Xcode.IDEFoundation.Launcher.PosixSpawn"
launchStyle = "0"
+ askForAppToLaunch = "Yes"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
- allowLocationSimulation = "YES">
-
+ allowLocationSimulation = "YES"
+ launchAutomaticallySubstyle = "2">
+
-
+