Skip to content

[feat/PLA-811] - chore: update Android and iOS SDK with new features and improvements #15

Merged
igorgsduarte merged 7 commits into
mainfrom
feat/PLA-811
May 21, 2026
Merged

[feat/PLA-811] - chore: update Android and iOS SDK with new features and improvements #15
igorgsduarte merged 7 commits into
mainfrom
feat/PLA-811

Conversation

@igorgsduarte

Copy link
Copy Markdown
Contributor

No description provided.

igorgsduarte and others added 6 commits May 20, 2026 16:20
- 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.
@igorgsduarte
igorgsduarte merged commit 6da26b7 into main May 21, 2026
8 of 9 checks passed
github-actions Bot added a commit that referenced this pull request May 21, 2026
### Funcionalidades

- feat: update Android and iOS SDK with new features and improvements  (#15) (6da26b7)
github-actions Bot added a commit that referenced this pull request May 21, 2026
### Funcionalidades

- feat: update Android and iOS SDK with new features and improvements  (#15) (6da26b7)

### Outros

- chore(release): ios 3.4.1 (3fd1d14)
github-actions Bot added a commit that referenced this pull request May 21, 2026
### Funcionalidades

- feat: update Android and iOS SDK with new features and improvements  (#15) (6da26b7)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant