diff --git a/example/flutter_example/.gitignore b/example/flutter_example/.gitignore
index 3965723e..f72845b7 100644
--- a/example/flutter_example/.gitignore
+++ b/example/flutter_example/.gitignore
@@ -43,4 +43,8 @@ app.*.map.json
/android/app/release
/android/app/google-services.json
-/android/app/agconnect-services.json
\ No newline at end of file
+/android/app/agconnect-services.json
+
+# iOS
+/ios/Pods/
+/ios/Podfile.lock
diff --git a/example/flutter_example/ios/MindboxNotificationContentExtension/Info.plist b/example/flutter_example/ios/MindboxNotificationContentExtension/Info.plist
index 307dc1a4..c8c18306 100644
--- a/example/flutter_example/ios/MindboxNotificationContentExtension/Info.plist
+++ b/example/flutter_example/ios/MindboxNotificationContentExtension/Info.plist
@@ -4,19 +4,19 @@
NSExtension
- NSExtensionPrincipalClass
- MindboxNotificationContentExtension.NotificationViewController
NSExtensionAttributes
- UNNotificationExtensionUserInteractionEnabled
- 1
UNNotificationExtensionCategory
MindBoxCategoryIdentifier
UNNotificationExtensionInitialContentSizeRatio
0.0001
+ UNNotificationExtensionUserInteractionEnabled
+ 1
NSExtensionPointIdentifier
com.apple.usernotifications.content-extension
+ NSExtensionPrincipalClass
+ MindboxNotificationContentExtension.NotificationViewController
diff --git a/example/flutter_example/ios/MindboxNotificationContentExtension/MindboxNotificationContentExtension.entitlements b/example/flutter_example/ios/MindboxNotificationContentExtension/MindboxNotificationContentExtension.entitlements
index 3e3fa954..d88122b9 100644
--- a/example/flutter_example/ios/MindboxNotificationContentExtension/MindboxNotificationContentExtension.entitlements
+++ b/example/flutter_example/ios/MindboxNotificationContentExtension/MindboxNotificationContentExtension.entitlements
@@ -4,7 +4,7 @@
com.apple.security.application-groups
- group.cloud.Mindbox.cloud.mindbox.flutterExample
+ group.cloud.Mindbox.mindbox.Flutter.Example
diff --git a/example/flutter_example/ios/MindboxNotificationServiceExtension/Info.plist b/example/flutter_example/ios/MindboxNotificationServiceExtension/Info.plist
index 8fa4b86c..a7e496d0 100644
--- a/example/flutter_example/ios/MindboxNotificationServiceExtension/Info.plist
+++ b/example/flutter_example/ios/MindboxNotificationServiceExtension/Info.plist
@@ -10,10 +10,10 @@
$(PRODUCT_MODULE_NAME).NotificationService
UIBackgroundModes
-
- fetch
- processing
- remote-notification
-
+
+ fetch
+ processing
+ remote-notification
+
diff --git a/example/flutter_example/ios/MindboxNotificationServiceExtension/MindboxNotificationServiceExtension.entitlements b/example/flutter_example/ios/MindboxNotificationServiceExtension/MindboxNotificationServiceExtension.entitlements
index 53861740..e9b79a08 100644
--- a/example/flutter_example/ios/MindboxNotificationServiceExtension/MindboxNotificationServiceExtension.entitlements
+++ b/example/flutter_example/ios/MindboxNotificationServiceExtension/MindboxNotificationServiceExtension.entitlements
@@ -6,7 +6,7 @@
development
com.apple.security.application-groups
- group.cloud.Mindbox.cloud.mindbox.flutterExample
+ group.cloud.Mindbox.mindbox.Flutter.Example
diff --git a/example/flutter_example/ios/Runner.xcodeproj/project.pbxproj b/example/flutter_example/ios/Runner.xcodeproj/project.pbxproj
index 4e553a05..fe218f6c 100644
--- a/example/flutter_example/ios/Runner.xcodeproj/project.pbxproj
+++ b/example/flutter_example/ios/Runner.xcodeproj/project.pbxproj
@@ -705,7 +705,7 @@
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
- DEVELOPMENT_TEAM = N39VVWZXXP;
+ DEVELOPMENT_TEAM = 622436AMYX;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
@@ -713,7 +713,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
- PRODUCT_BUNDLE_IDENTIFIER = cloud.mindbox.flutterExample;
+ PRODUCT_BUNDLE_IDENTIFIER = mindbox.Flutter.Example;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_VERSION = 5.0;
@@ -888,7 +888,7 @@
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
- DEVELOPMENT_TEAM = N39VVWZXXP;
+ DEVELOPMENT_TEAM = 622436AMYX;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
@@ -896,7 +896,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
- PRODUCT_BUNDLE_IDENTIFIER = cloud.mindbox.flutterExample;
+ PRODUCT_BUNDLE_IDENTIFIER = mindbox.Flutter.Example;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
@@ -914,7 +914,7 @@
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
- DEVELOPMENT_TEAM = N39VVWZXXP;
+ DEVELOPMENT_TEAM = 622436AMYX;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
@@ -922,7 +922,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
- PRODUCT_BUNDLE_IDENTIFIER = cloud.mindbox.flutterExample;
+ PRODUCT_BUNDLE_IDENTIFIER = mindbox.Flutter.Example;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_VERSION = 5.0;
@@ -942,9 +942,10 @@
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CODE_SIGN_ENTITLEMENTS = MindboxNotificationServiceExtension/MindboxNotificationServiceExtension.entitlements;
+ CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
- DEVELOPMENT_TEAM = N39VVWZXXP;
+ DEVELOPMENT_TEAM = 622436AMYX;
ENABLE_USER_SCRIPT_SANDBOXING = YES;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
@@ -972,8 +973,9 @@
MARKETING_VERSION = 1.0;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
- PRODUCT_BUNDLE_IDENTIFIER = cloud.mindbox.flutterExample.MindboxNotificationServiceExtension;
+ PRODUCT_BUNDLE_IDENTIFIER = mindbox.Flutter.Example.ServiceExtension;
PRODUCT_NAME = "$(TARGET_NAME)";
+ PROVISIONING_PROFILE_SPECIFIER = "";
SKIP_INSTALL = YES;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)";
SWIFT_EMIT_LOC_STRINGS = YES;
@@ -996,9 +998,10 @@
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CODE_SIGN_ENTITLEMENTS = MindboxNotificationServiceExtension/MindboxNotificationServiceExtension.entitlements;
+ CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
- DEVELOPMENT_TEAM = N39VVWZXXP;
+ DEVELOPMENT_TEAM = 622436AMYX;
ENABLE_USER_SCRIPT_SANDBOXING = YES;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
@@ -1026,8 +1029,9 @@
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
MARKETING_VERSION = 1.0;
MTL_FAST_MATH = YES;
- PRODUCT_BUNDLE_IDENTIFIER = cloud.mindbox.flutterExample.MindboxNotificationServiceExtension;
+ PRODUCT_BUNDLE_IDENTIFIER = mindbox.Flutter.Example.ServiceExtension;
PRODUCT_NAME = "$(TARGET_NAME)";
+ PROVISIONING_PROFILE_SPECIFIER = "";
SKIP_INSTALL = YES;
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_VERSION = 5.0;
@@ -1048,9 +1052,10 @@
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CODE_SIGN_ENTITLEMENTS = MindboxNotificationServiceExtension/MindboxNotificationServiceExtension.entitlements;
+ CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
- DEVELOPMENT_TEAM = N39VVWZXXP;
+ DEVELOPMENT_TEAM = 622436AMYX;
ENABLE_USER_SCRIPT_SANDBOXING = YES;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
@@ -1071,8 +1076,9 @@
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
MARKETING_VERSION = 1.0;
MTL_FAST_MATH = YES;
- PRODUCT_BUNDLE_IDENTIFIER = cloud.mindbox.flutterExample.MindboxNotificationServiceExtension;
+ PRODUCT_BUNDLE_IDENTIFIER = mindbox.Flutter.Example.ServiceExtension;
PRODUCT_NAME = "$(TARGET_NAME)";
+ PROVISIONING_PROFILE_SPECIFIER = "";
SKIP_INSTALL = YES;
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_VERSION = 5.0;
@@ -1092,9 +1098,10 @@
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CODE_SIGN_ENTITLEMENTS = MindboxNotificationContentExtension/MindboxNotificationContentExtension.entitlements;
+ CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
- DEVELOPMENT_TEAM = N39VVWZXXP;
+ DEVELOPMENT_TEAM = 622436AMYX;
ENABLE_USER_SCRIPT_SANDBOXING = YES;
GCC_C_LANGUAGE_STANDARD = gnu17;
GENERATE_INFOPLIST_FILE = YES;
@@ -1111,8 +1118,9 @@
MARKETING_VERSION = 1.0;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
- PRODUCT_BUNDLE_IDENTIFIER = cloud.mindbox.flutterExample.MindboxNotificationContentExtension;
+ PRODUCT_BUNDLE_IDENTIFIER = mindbox.Flutter.Example.ContentExtension;
PRODUCT_NAME = "$(TARGET_NAME)";
+ PROVISIONING_PROFILE_SPECIFIER = "";
SKIP_INSTALL = YES;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)";
SWIFT_EMIT_LOC_STRINGS = YES;
@@ -1133,9 +1141,10 @@
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CODE_SIGN_ENTITLEMENTS = MindboxNotificationContentExtension/MindboxNotificationContentExtension.entitlements;
+ CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
- DEVELOPMENT_TEAM = N39VVWZXXP;
+ DEVELOPMENT_TEAM = 622436AMYX;
ENABLE_USER_SCRIPT_SANDBOXING = YES;
GCC_C_LANGUAGE_STANDARD = gnu17;
GENERATE_INFOPLIST_FILE = YES;
@@ -1151,8 +1160,9 @@
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
MARKETING_VERSION = 1.0;
MTL_FAST_MATH = YES;
- PRODUCT_BUNDLE_IDENTIFIER = cloud.mindbox.flutterExample.MindboxNotificationContentExtension;
+ PRODUCT_BUNDLE_IDENTIFIER = mindbox.Flutter.Example.ContentExtension;
PRODUCT_NAME = "$(TARGET_NAME)";
+ PROVISIONING_PROFILE_SPECIFIER = "";
SKIP_INSTALL = YES;
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_VERSION = 5.0;
@@ -1171,9 +1181,10 @@
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CODE_SIGN_ENTITLEMENTS = MindboxNotificationContentExtension/MindboxNotificationContentExtension.entitlements;
+ CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
- DEVELOPMENT_TEAM = N39VVWZXXP;
+ DEVELOPMENT_TEAM = 622436AMYX;
ENABLE_USER_SCRIPT_SANDBOXING = YES;
GCC_C_LANGUAGE_STANDARD = gnu17;
GENERATE_INFOPLIST_FILE = YES;
@@ -1189,8 +1200,9 @@
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
MARKETING_VERSION = 1.0;
MTL_FAST_MATH = YES;
- PRODUCT_BUNDLE_IDENTIFIER = cloud.mindbox.flutterExample.MindboxNotificationContentExtension;
+ PRODUCT_BUNDLE_IDENTIFIER = mindbox.Flutter.Example.ContentExtension;
PRODUCT_NAME = "$(TARGET_NAME)";
+ PROVISIONING_PROFILE_SPECIFIER = "";
SKIP_INSTALL = YES;
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_VERSION = 5.0;
diff --git a/example/flutter_example/ios/Runner/Info.plist b/example/flutter_example/ios/Runner/Info.plist
index 7131f27d..d51f9716 100644
--- a/example/flutter_example/ios/Runner/Info.plist
+++ b/example/flutter_example/ios/Runner/Info.plist
@@ -2,6 +2,12 @@
+ BGTaskSchedulerPermittedIdentifiers
+
+ cloud.Mindbox.$(PRODUCT_BUNDLE_IDENTIFIER).GDAppRefresh
+ cloud.Mindbox.$(PRODUCT_BUNDLE_IDENTIFIER).GDAppProcessing
+ cloud.Mindbox.$(PRODUCT_BUNDLE_IDENTIFIER).DBCleanAppProcessing
+
CADisableMinimumFrameDurationOnPhone
CFBundleDevelopmentRegion
@@ -34,12 +40,6 @@
processing
remote-notification
- BGTaskSchedulerPermittedIdentifiers
-
- cloud.Mindbox.$(PRODUCT_BUNDLE_IDENTIFIER).GDAppRefresh
- cloud.Mindbox.$(PRODUCT_BUNDLE_IDENTIFIER).GDAppProcessing
- cloud.Mindbox.$(PRODUCT_BUNDLE_IDENTIFIER).DBCleanAppProcessing
-
UILaunchStoryboardName
LaunchScreen
UIMainStoryboardFile
diff --git a/example/flutter_example/ios/Runner/Runner.entitlements b/example/flutter_example/ios/Runner/Runner.entitlements
index 53861740..e9b79a08 100644
--- a/example/flutter_example/ios/Runner/Runner.entitlements
+++ b/example/flutter_example/ios/Runner/Runner.entitlements
@@ -6,7 +6,7 @@
development
com.apple.security.application-groups
- group.cloud.Mindbox.cloud.mindbox.flutterExample
+ group.cloud.Mindbox.mindbox.Flutter.Example