Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/publish-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ jobs:
needs: [platform_interface_publish]
runs-on: ubuntu-latest
steps:
- name: Delay for 1 minutes
run: sleep 60
- name: Delay for 10 minutes
run: sleep 600

native_components_publish:
needs: [analyze_and_test, platform_interface_publish, waiting-while-platform-interface-publish]
Expand Down Expand Up @@ -115,8 +115,8 @@ jobs:
needs: [native_components_publish]
runs-on: ubuntu-latest
steps:
- name: Delay for 1 minutes
run: sleep 60
- name: Delay for 10 minutes
run: sleep 600

plugin_publish:
needs: [analyze_and_test, platform_interface_publish, native_components_publish, waiting-while-native_components_publish]
Expand Down Expand Up @@ -181,7 +181,7 @@ jobs:
gh pr merge $pr_number --merge --auto

message-to-loop-if-success:
needs: [ merge ]
needs: [plugin_publish]
runs-on: ubuntu-latest
steps:
- name: Send message to LOOP
Expand Down
6 changes: 5 additions & 1 deletion example/flutter_example/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,8 @@ app.*.map.json
/android/app/release

/android/app/google-services.json
/android/app/agconnect-services.json
/android/app/agconnect-services.json

# iOS
/ios/Pods/
/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@
<dict>
<key>NSExtension</key>
<dict>
<key>NSExtensionPrincipalClass</key>
<string>MindboxNotificationContentExtension.NotificationViewController</string>
<key>NSExtensionAttributes</key>
<dict>
<key>UNNotificationExtensionUserInteractionEnabled </key>
<string>1</string>
<key>UNNotificationExtensionCategory</key>
<string>MindBoxCategoryIdentifier</string>
<key>UNNotificationExtensionInitialContentSizeRatio</key>
<real>0.0001</real>
<key>UNNotificationExtensionUserInteractionEnabled </key>
<string>1</string>
</dict>
<key>NSExtensionPointIdentifier</key>
<string>com.apple.usernotifications.content-extension</string>
<key>NSExtensionPrincipalClass</key>
<string>MindboxNotificationContentExtension.NotificationViewController</string>
</dict>
</dict>
</plist>
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<dict>
<key>com.apple.security.application-groups</key>
<array>
<string>group.cloud.Mindbox.cloud.mindbox.flutterExample</string>
<string>group.cloud.Mindbox.mindbox.Flutter.Example</string>
</array>
</dict>
</plist>
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
<string>$(PRODUCT_MODULE_NAME).NotificationService</string>
</dict>
<key>UIBackgroundModes</key>
<array>
<string>fetch</string>
<string>processing</string>
<string>remote-notification</string>
</array>
<array>
<string>fetch</string>
<string>processing</string>
<string>remote-notification</string>
</array>
</dict>
</plist>
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<string>development</string>
<key>com.apple.security.application-groups</key>
<array>
<string>group.cloud.Mindbox.cloud.mindbox.flutterExample</string>
<string>group.cloud.Mindbox.mindbox.Flutter.Example</string>
</array>
</dict>
</plist>
48 changes: 30 additions & 18 deletions example/flutter_example/ios/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -705,15 +705,15 @@
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;
LD_RUNPATH_SEARCH_PATHS = (
"$(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;
Expand Down Expand Up @@ -888,15 +888,15 @@
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;
LD_RUNPATH_SEARCH_PATHS = (
"$(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";
Expand All @@ -914,15 +914,15 @@
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;
LD_RUNPATH_SEARCH_PATHS = (
"$(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;
Expand All @@ -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)",
Expand Down Expand Up @@ -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;
Expand All @@ -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)",
Expand Down Expand Up @@ -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;
Expand All @@ -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)",
Expand All @@ -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;
Expand All @@ -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;
Expand All @@ -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;
Expand All @@ -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;
Expand All @@ -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;
Expand All @@ -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;
Expand All @@ -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;
Expand Down
12 changes: 6 additions & 6 deletions example/flutter_example/ios/Runner/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>BGTaskSchedulerPermittedIdentifiers</key>
<array>
<string>cloud.Mindbox.$(PRODUCT_BUNDLE_IDENTIFIER).GDAppRefresh</string>
<string>cloud.Mindbox.$(PRODUCT_BUNDLE_IDENTIFIER).GDAppProcessing</string>
<string>cloud.Mindbox.$(PRODUCT_BUNDLE_IDENTIFIER).DBCleanAppProcessing</string>
</array>
<key>CADisableMinimumFrameDurationOnPhone</key>
<true/>
<key>CFBundleDevelopmentRegion</key>
Expand Down Expand Up @@ -34,12 +40,6 @@
<string>processing</string>
<string>remote-notification</string>
</array>
<key>BGTaskSchedulerPermittedIdentifiers</key>
<array>
<string>cloud.Mindbox.$(PRODUCT_BUNDLE_IDENTIFIER).GDAppRefresh</string>
<string>cloud.Mindbox.$(PRODUCT_BUNDLE_IDENTIFIER).GDAppProcessing</string>
<string>cloud.Mindbox.$(PRODUCT_BUNDLE_IDENTIFIER).DBCleanAppProcessing</string>
</array>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UIMainStoryboardFile</key>
Expand Down
2 changes: 1 addition & 1 deletion example/flutter_example/ios/Runner/Runner.entitlements
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<string>development</string>
<key>com.apple.security.application-groups</key>
<array>
<string>group.cloud.Mindbox.cloud.mindbox.flutterExample</string>
<string>group.cloud.Mindbox.mindbox.Flutter.Example</string>
</array>
</dict>
</plist>
10 changes: 10 additions & 0 deletions mindbox/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
## 2.14.0

* Upgrade native Android SDK dependency to v2.14.0.
* Upgrade native iOS SDK dependency to v2.14.0.

## 2.14.0-rc
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Надеюсь на этом не упадет
rc мы в master не заливали же и поэтому здесь и ещё в паре мест в changelog осталось торчать


* Upgrade native Android SDK dependency to v2.14.0-rc.
* Upgrade native iOS SDK dependency to v2.14.0-rc.

## 2.13.4

* Upgrade native Android SDK dependency to v2.13.4.
Expand Down
8 changes: 4 additions & 4 deletions mindbox/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: mindbox
description: Flutter Mindbox SDK. Plugin wrapper over of Mindbox iOS/Android SDK.
version: 2.13.4
version: 2.14.0
homepage: https://mindbox.cloud/
repository: https://github.com/mindbox-cloud/flutter-sdk/tree/master/mindbox
documentation: https://developers.mindbox.ru/docs/flutter-sdk-integration
Expand All @@ -20,9 +20,9 @@ flutter:
dependencies:
flutter:
sdk: flutter
mindbox_android: ^2.13.4
mindbox_ios: ^2.13.4
mindbox_platform_interface: ^2.13.4
mindbox_android: ^2.14.0
mindbox_ios: ^2.14.0
mindbox_platform_interface: ^2.14.0

dev_dependencies:
flutter_test:
Expand Down
8 changes: 8 additions & 0 deletions mindbox_android/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## 2.14.0

* Upgrade native Android SDK dependency to v2.14.0.

## 2.14.0-rc

* Upgrade native Android SDK dependency to v2.14.0-rc.

## 2.13.4

* Upgrade native Android SDK dependency to v2.13.4.
Expand Down
2 changes: 1 addition & 1 deletion mindbox_android/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,5 @@ android {

dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
api 'cloud.mindbox:mobile-sdk:2.13.4'
api 'cloud.mindbox:mobile-sdk:2.14.0'
}
4 changes: 2 additions & 2 deletions mindbox_android/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: mindbox_android
description: The implementation of 'mindbox' plugin for the Android platform.
version: 2.13.4
version: 2.14.0
homepage: https://mindbox.cloud/
repository: https://github.com/mindbox-cloud/flutter-sdk/tree/master/mindbox_android

Expand All @@ -19,7 +19,7 @@ flutter:
dependencies:
flutter:
sdk: flutter
mindbox_platform_interface: ^2.13.4
mindbox_platform_interface: ^2.14.0

dev_dependencies:
flutter_test:
Expand Down
Loading
Loading