Skip to content

Commit

Permalink
chore(release): 2.4.0
Browse files Browse the repository at this point in the history
SUITEDEV-36111

Co-authored-by: Co-authored-by: LasOri <[email protected]>
Co-authored-by: Co-authored-by: Andras Sarro <[email protected]>
  • Loading branch information
3 people committed Jul 11, 2024
1 parent cbca970 commit a600f01
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 8 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
# 2.4.0
## What's changed
### [Emarsys SDK](https://github.com/emartech/flutter-plugin-for-sap-emarsys-customer-engagement/)
* Updated underlying [Emarsys SDK](https://github.com/emartech/android-emarsys-sdk/releases/tag/3.7.6) for Android to 3.7.6
### [Emarsys SDK](https://github.com/emartech/flutter-plugin-for-sap-emarsys-customer-engagement/)
* Updated underlying [Emarsys SDK](https://github.com/emartech/ios-emarsys-sdk/releases/tag/3.6.0) for iOS to 3.6.0
* We bumped our minimum supported iOS version to 14 to be able to use newer network change detection solution.
## What's fixed
### [Emarsys SDK](https://github.com/emartech/flutter-plugin-for-sap-emarsys-customer-engagement/)
* @UIApplicationMain annotation was removed from the EmarsysAppDelegate because the inheriting AppDelegate has to use it.

# 2.3.3
## What's changed
### [Emarsys SDK](https://github.com/emartech/flutter-plugin-for-sap-emarsys-customer-engagement/)
Expand Down
5 changes: 3 additions & 2 deletions example/integration_test/emarsys_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@ void main() {
await Emarsys.setup(config);
});

testWidgets("call setContact and check contactFieldId", (WidgetTester tester) async {
testWidgets("call setContact and check contactFieldId",
(WidgetTester tester) async {
await Emarsys.setContact(2575, "[email protected]")
.then((value) => print("SET CONTACT"))
.catchError((error) => expect(error, null));

final result = await Emarsys.config.contactFieldId();
expect(result, equals(CONTACT_FIELD_ID));
});
Expand Down
3 changes: 1 addition & 2 deletions lib/api/emarsys.dart
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ typedef _GetCallbackHandle = CallbackHandle? Function(Function callback);
const MethodChannel _channel = MethodChannel('com.emarsys.methods');
const EventChannel _silentPushEventChannel =
EventChannel('com.emarsys.events.silentPush');
const EventChannel _pushEventChannel =
EventChannel('com.emarsys.events.push');
const EventChannel _pushEventChannel = EventChannel('com.emarsys.events.push');
const EventChannel _geofenceEventChannel =
EventChannel('com.emarsys.events.geofence');
const EventChannel _inAppEventChannel =
Expand Down
2 changes: 1 addition & 1 deletion lib/version.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: emarsys_sdk
description: The Flutter plug-in for SAP Emarsys Customer Engagement is the official plug-in to help integrate Emarsys into your Flutter application.
version: 2.3.3
version: 2.4.0
homepage: https://github.com/emartech/flutter-plugin-for-sap-emarsys-customer-engagement

environment:
Expand Down
6 changes: 4 additions & 2 deletions test/predict/recommendation_logic_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,10 @@ void main() {
test(
'cart should create RecommendationLogic with cartItem data when cartItems are provided',
() async {
CartItem cartItem1 = PredictCartItem(itemId: "item1", price: 12, quantity: 24);
CartItem cartItem2 = PredictCartItem(itemId: "item2", price: 23, quantity: 33);
CartItem cartItem1 =
PredictCartItem(itemId: "item1", price: 12, quantity: 24);
CartItem cartItem2 =
PredictCartItem(itemId: "item2", price: 23, quantity: 33);
List<CartItem> items = [cartItem1, cartItem2];
RecommendationLogic result = RecommendationLogic.cart(cartItems: items);

Expand Down

0 comments on commit a600f01

Please sign in to comment.