[feat/PLA-811] - chore: update Android and iOS SDK with new features and improvements #15
Merged
Conversation
igorgsduarte
force-pushed
the
feat/PLA-811
branch
from
May 20, 2026 19:14
65398f5 to
9ae581d
Compare
Co-authored-by: Cursor <[email protected]>
igorgsduarte
force-pushed
the
feat/PLA-811
branch
from
May 20, 2026 19:18
9ae581d to
1656ed9
Compare
Co-authored-by: Cursor <[email protected]>
- Removed badgeEnabled property from DitoNotificationOptions in both Flutter and React Native SDKs. - Updated related documentation and examples to reflect this change. - Adjusted implementation in native code to no longer handle badgeEnabled. - Ensured backward compatibility by defaulting badge management to the SDK.
- Added support for handling notification payloads in the Flutter SDK with the new `handleNotificationReceived` method. - Updated the iOS and Android implementations to ensure proper processing of notification data. - Improved SDK initialization methods to allow for optional bundle ID parameter. - Updated documentation to reflect changes in notification handling and SDK setup. - Adjusted minimum SDK versions for Android and Flutter to ensure compatibility.
Remove CHANGELOG, babel.config, package-lock e DitoNotificationOptions adicionados por engano em feat/PLA-811 (escopo Flutter/iOS). Co-authored-by: Cursor <[email protected]>
- Renamed `Dito.notificationRead(with:token:)` to `Dito.notificationReceived(userInfo:token:completion:)` to better reflect its purpose. - Enhanced the notification handling to include a completion handler for processing results in background scenarios. - Updated documentation to clarify the new method usage and deprecation of the old method. - Ensured that the FCM token is cached and used appropriately across notification handling methods.
…nitWithApiKey method - Streamlined the `configureTrackerXApiKey` method by removing the redundant `bundleId` parameter, now using `context.packageName` directly. - Removed the `initWithApiKey` method as it was deemed unnecessary, cleaning up the codebase. - Adjusted related logic to maintain functionality while improving code clarity.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.