synerise_flutter_sdk 1.3.0
synerise_flutter_sdk: ^1.3.0 copied to clipboard
Flutter plugin for Synerise SDK. Most up-to-date documentation is available at Synerise Help Center.
Changelog #
All notable changes to this project will be documented in this file.
1.3.0 - 2024-08-05 #
Fixed #
- [iOS] Potential issue with slow SDK initialization.
- [iOS] Potential issues with Simple Authentication requests.
Added #
- We extended a
Synerise.changeClientApiKey(apiKey, config)method and added new parameter (config) that allows adding some initialization parameters. - We added new parameters to the push.click event:
clickSource,actionType,urlandactionButtonTitle.
Changed #
requestValidationSalt(Simple Auth) is cleared whenSynerise.changeClientApiKey(apiKey, config)is invoked without suitable config.- Update of native SDK's dependencies.
- Improvements to stability.
1.2.0 - 2024-07-15 #
Added #
- We added a
testDeliveryandjourneyIdparameters to tracked notification events (push.view,push.click, and so on). It describes if the notification was sent as a test notification from a campaign. - We added a new
Synerise.content.generateDocumentWithApiQuery(apiQuery, onSuccess, onError)method. It is analogous toSynerise.content.generateDocument(slug, onSuccess, onError), but can contain more context parameters provided in a query object. - We added a new
Synerise.content.generateScreenViewWithApiQuery(apiQuery, onSuccess, onError)method. It is analogous toSynerise.content.generateScreenView(feedSlug, onSuccess, onError), but can contain more context parameters provided in a query object. - Anchors from Drag & Drop Builder in the In-App editor are interpreted as URL or as deeplink depending on the value.
Changed #
- We added validation of reserved parameters in events. Now, if a parameter is forbidden, it is removed from the parameters and a log is printed.
- Improvements to stability.
Changed #
- Stability improvements.
1.1.0 - 2024-06-17 #
Fixed #
- [iOS] Some potential issues with retrieving system push consent by the SDK.
Added #
Synerise.settings.tracker.eventsTriggeringFlushoption in settings to let you set the list of event actions which will trigger instant sending of all events in the queue. The default array contains only push event's actions.
Changed #
- All events connected with push campaigns will flush the queue and send events immediately.
- Improvements to push notifications registration.
- Stability improvements.
1.0.2 - 2024-05-06 #
1.0.1 - 2024-04-05 #
1.0.0 - 2024-04-04 #
IMPORTANT: We've introduced significant improvements to our method invocation patterns to enhance error handling and simplify success callbacks. This change requires updates to existing method calls in your applications.
-
API Call Pattern Changes: Previously, asynchronous API calls were structured to use await along with catchError for error handling. Now, we've shifted to a more structured callback approach using onSuccess and onError parameters, providing clearer control over success and error handling.
-
Simplification of Data Retrieval Methods: For methods that retrieve data from native SDKs, such as obtaining a UUID, the pattern has been simplified to use .then for handling successful outcomes. This change promotes cleaner code and more intuitive success handling. Now, the new pattern is more streamlined and focused on the success case.
Added #
- [iOS]
Synerise.settings.sdk.localizableoption in settings to let you localize some strings displayed by the SDK. clientIdproperty in theTokenmodel.
Fixed #
- Improved mechanism for checking capping in in-app messages. The number of views no longer resets when the account's UUID changes.
Changed #
- Stability improvements.
0.8.3 - 2024-03-08 #
Added #
- Global Control Group support for in-app messages. From now on, you can use this feature in in-app messaging communication. This lets you take your marketing efforts to the next level and provides a solid foundation for accurate measurement of campaign effectiveness. Read more at https://hub.synerise.com/docs/settings/configuration/global-control-group/.
Fixed #
- [iOS] Issue with non-scrolling in-app messages.
Changed #
- Stability improvements.
0.8.2 - 2024-02-02 #
Fixed #
- [android] Deeplink action when clicking on push notification will directly open in app instead of prompt between app/browser. We set packageName to intent.
0.8.1 - 2024-01-15 #
Fixed #
- [iOS] In-app message did not hide automatically after invoking
SRInapp.openUrl(url)orSRInapp.openDeeplink(deeplink)the action as it should
0.8.0 - 2024-01-11 #
IMPORTANT: Due to changes in the handling of actions for URLs and deep links in Synerise campaigns, we strongly recommend comparing your configuration with the SDK documentation. Review the changes from the previous SDK version integrated into your application here: https://hub.synerise.com//developers/mobile-sdk/campaigns/action-handling/
Fixed #
- [iOS] Running example by
flutter runcommand.
Added #
- New methods for dealing with encrypted notifications:
Synerise.notifications.decryptNotificationandSynerise.notifications.isNotificationEncrypted.
Changed #
- Changes in handling actions from campaigns (read important note above).
- Update of native SDK's dependencies.
0.7.4 - 2023-12-19 #
0.7.3 - 2023-12-05 #
Fixed #
- [iOS] Potential issues with Simple Authentication requests.
- [iOS] Issue with location of some SDK files in the Documents directory. The old location caused the SDK files to be visible in the shared documents directory if the host application file sharing was enabled.
- [iOS] Potential issue with native notification buttons when Simple Push campaign contained Rich Media (Single Media) or had a custom notification category identifier.
Changed #
- Update of native SDK's dependencies.
0.7.2 - 2023-11-13 #
Added #
setRequestValidationSaltis now optional. Salt is not required for simpleAuthentication, but we recommend using it for improved security (it needs to be enabled in the Synerise portal first).Synerise.settings.inAppMessaging.shouldSendInAppCappingEventoption in settings to enable or disable sendinginApp.cappingevent by the SDK.
Fixed #
- iOS example app project files refinements.
Changed #
- Stability improvements.
0.7.1 - 2023-10-26 #
Added #
- Notifications Methods: Introduced new methods for notification payload verification, including
isSyneriseNotification,isSyneriseSimplePush,isSyneriseBanner,isSilentCommand, andisSilentSDKCommand.
Fixed #
- Addressed issues with inApp listeners handling in the Android platform.
- Improved the handling of the
activateAccountmethod in the Android portion. - Enhanced the architecture of the
eventsclasses in the Dart part. - Corrected the field name in the
IdentityProviderclass.
Changed #
- Stability improvements.
0.7.0 - 2023-08-04 #
Added #
- New authentication mechanism - Simple Authentication. It allows identification of customers without implementing more complicated processes such as RaaS, OAuth, or authenticating by third party services, for example Facebook or Apple. Simple Authentication needs only two methods -
client.simpleAuthenticationto recognize a customer andclient.isSignedInViaSimpleAuthenticationto check if the customer is signed in and uses the Simple Authentication feature. Theclient.signOutmethod and similar methods are a common way to sign out and clear the user context. - Client Methods: Added several client methods, including
pinCodeMethods(request and confirm), conditional authentication and sign-in,changeApiKey,phone/EmailChange,regenerateWithUUID, andsignOutWithMode. - Added the
Applevalue to theidentityProviderenum.
Fixed #
- Implemented minor fixes to improve the handling of channel method results.
Changed #
- Stability improvements.
0.6.3 - 2023-07-13 #
0.6.2 - 2023-06-28 #
Fixed #
- Removed redundant code from the example app.
- Fixed parameter mapping for custom events in the iOS native part.
0.6.1 - 2023-06-28 #
0.6.0 - 2023-06-16 #
Added #
- We added a new
content.generateDocumentmethod. It's analogous to `Content.getDocument``. The old method is deprecated. The new method generates the document that is defined for the provided slug. - We added a new
content.getRecommendationsV2method. It's analogous tocontent.getRecommendations. The old method is deprecated. The new method gets recommendations that are defined for the options provided. - We added a new
content.generateScreenViewmethod. It's analogous tocontent.getScreenView. The old method is deprecated. The new method generates a customer's highest-priority screen view campaign that is defined for the provided slug. - We added models correlating with new methods:
ScreenView,Document. - Introduced predefined
Events. Full list is available in the documentation.
Fixed #
- Clarified the terminology related to the API key.
Removed #
- Deprecated old methods in the
Contentmodule.