/** The name of the notification service */ export const NS_TARGET_NAME = 'IterableExpoRichPush'; /** The filename of the notification service's main file */ export const NS_MAIN_FILE_NAME = 'NotificationService.swift'; /** The filename of the notification service's Info.plist */ export const NS_PLIST_FILE_NAME = `${NS_TARGET_NAME}-Info.plist`; /** The filename of the notification service's entitlements */ export const NS_ENTITLEMENTS_FILE_NAME = `${NS_TARGET_NAME}.entitlements`; /** The files that are added to the notification service */ export const NS_FILES = [ NS_MAIN_FILE_NAME, NS_PLIST_FILE_NAME, NS_ENTITLEMENTS_FILE_NAME, ]; /** * The Iterable pod that is require for the notification service to process * Iterable push notifications. */ export const NS_POD = 'Iterable-iOS-AppExtensions'; /** The content of the notification service's main file */ export const NS_MAIN_FILE_CONTENT = `import UserNotifications import IterableAppExtensions class NotificationService: ITBNotificationServiceExtension {}`; /** The content of the notification service's Info.plist */ export const NS_PLIST_CONTENT = ` CFBundleDevelopmentRegion $(DEVELOPMENT_LANGUAGE) CFBundleDisplayName ${NS_TARGET_NAME} CFBundleExecutable $(EXECUTABLE_NAME) CFBundleIdentifier $(PRODUCT_BUNDLE_IDENTIFIER) CFBundleInfoDictionaryVersion 6.0 CFBundleName $(PRODUCT_NAME) CFBundleShortVersionString 1.0.0 CFBundleVersion 1 NSExtension NSExtensionPointIdentifier com.apple.usernotifications.service NSExtensionPrincipalClass $(PRODUCT_MODULE_NAME).NotificationService `; /** The content of the notification service's entitlements */ export const NS_ENTITLEMENTS_CONTENT = ` com.apple.security.app-sandbox com.apple.security.network.client `;