change target of notification extention ios

This commit is contained in:
feruz 2023-10-12 09:21:39 +03:00
parent 0c18685c06
commit c8e8365b52
2 changed files with 4 additions and 2 deletions

View File

@ -1261,7 +1261,7 @@
INFOPLIST_FILE = ImageNotifi/Info.plist;
INFOPLIST_KEY_CFBundleDisplayName = ImageNotifi;
INFOPLIST_KEY_NSHumanReadableCopyright = "";
IPHONEOS_DEPLOYMENT_TARGET = 16.4;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
@ -1305,7 +1305,7 @@
INFOPLIST_FILE = ImageNotifi/Info.plist;
INFOPLIST_KEY_CFBundleDisplayName = ImageNotifi;
INFOPLIST_KEY_NSHumanReadableCopyright = "";
IPHONEOS_DEPLOYMENT_TARGET = 16.4;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",

View File

@ -22,6 +22,8 @@
self.bestAttemptContent = [request.content mutableCopy];
// Modify the notification content here...
self.bestAttemptContent.title = [NSString stringWithFormat:@"%@ [modified]", self.bestAttemptContent.title];
[[FIRMessaging extensionHelper] populateNotificationContent:self.bestAttemptContent withContentHandler:contentHandler];
}