Skip to content

Release v2.0.3 #159

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 25, 2025
Merged

Release v2.0.3 #159

merged 1 commit into from
Mar 25, 2025

Conversation

AbhijeetRanjan308
Copy link
Contributor

@AbhijeetRanjan308 AbhijeetRanjan308 commented Mar 25, 2025

Summary

  • Updated iOS SDK to 7.2.8
  • Updated Android SDK to 2.13.2
  • Typing indicator For bot message delay.

Android

  • Migration to Coroutines and removed Depricated Async Tasks for Android.
  • Remove Raw query querries usage for Android.
  • Added edge to edge support for Android 15 and Above.

iOS

  • Internal Code Refactor.
  • Updated TableView Update function.
  • Updated depricated Code and resolved Warnings.

Summary by CodeRabbit

  • New Features

    • Introduced a bot message typing indicator.
    • Enhanced display support for Android 15+ with edge-to-edge improvements.
  • Chores

    • Upgraded the app to version 2.0.3 with updated external dependencies.
    • Modernized platform configurations for improved performance and compatibility.

Copy link

coderabbitai bot commented Mar 25, 2025

Walkthrough

This update bumps the package version to 2.0.3 and adjusts several dependency versions across Android and iOS platforms. The changelog now reflects updates including Android migration to Coroutines, removal of deprecated async tasks and raw queries, and adding edge-to-edge support for Android 15. iOS modifications involve a code refactor, TableView updates, and the replacement of deprecated code and warnings. Additionally, a typing indicator for bot message delay was added, an Android manifest merge rule was altered, and the iOS app entry annotation was updated to modern Swift standards.

Changes

File(s) Change Summary
CHANGELOG.md Updated to version 2.0.3 with details for Android (migration to Coroutines, removal of deprecated async tasks and raw queries, edge-to-edge support for Android 15) and iOS (internal refactor, TableView update, deprecated code resolution, bot typing indicator added).
README.md, pubspec.yaml Updated kommunicate_flutter version from ^2.0.2/2.0.2 to ^2.0.3/2.0.3.
android/build.gradle Upgraded kommunicateui SDK dependency from 2.12.1 to 2.13.2.
example/.../AndroidManifest.xml Modified tools:replace attribute by removing android:allowBackup and retaining only android:label.
example/.../AppDelegate.swift Changed the annotation from @UIApplicationMain to @main to align with modern Swift entry point syntax.
ios/kommunicate_flutter.podspec Updated Kommunicate dependency version constraint from '> 7.2.7' to '> 7.2.8'.

Sequence Diagram(s)

sequenceDiagram
    participant User
    participant App
    participant Bot
    User->>App: Send message
    App->>Bot: Forward message
    Bot-->>App: Initiate typing indicator (delay)
    App->>User: Display typing indicator
    Bot-->>App: Send response after delay
    App->>User: Show bot response
Loading

Possibly related PRs

  • Release 1.9.9 #146: Updates dependency versions for kommunicate_flutter and kommunicateui, similar to the changes in this PR.
  • Release 2.0.2 #155: Focuses on version updates of the kommunicate_flutter package, aligning closely with the modifications seen here.

Suggested reviewers

  • prateek-kommunicate

Poem

I'm a hopping rabbit, swift and bright,
Version bumps and refactors bring pure delight.
From async tasks to coroutines, I skip with glee,
Modern Swift syntax sets our code free.
With carrots 🥕 and joyful code, I sing tonight!
Hoppy updates make our future light!

✨ Finishing Touches
  • 📝 Generate Docstrings

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai plan to trigger planning for file edits and PR creation.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (1)
CHANGELOG.md (1)

1-10: Fix typos in the changelog entries.

There are a few typos in the changelog entries that should be corrected:

  • Line 4: "Depricated" should be "Deprecated"
  • Line 5: "querries" should be "queries"
  • Line 10: "depricated" should be "deprecated"

Otherwise, the changelog entries accurately reflect the changes made in this release.

- Migration to Coroutines and removed Depricated Async Tasks for Android.
+ Migration to Coroutines and removed Deprecated Async Tasks for Android.
- Remove Raw query querries usage for Android.
+ Remove Raw query queries usage for Android.
- Updated depricated Code and resolved Warnings.
+ Updated deprecated Code and resolved Warnings.
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 13df210 and 8869459.

⛔ Files ignored due to path filters (1)
  • example/pubspec.lock is excluded by !**/*.lock
📒 Files selected for processing (7)
  • CHANGELOG.md (1 hunks)
  • README.md (1 hunks)
  • android/build.gradle (1 hunks)
  • example/android/app/src/main/AndroidManifest.xml (1 hunks)
  • example/ios/Runner/AppDelegate.swift (1 hunks)
  • ios/kommunicate_flutter.podspec (1 hunks)
  • pubspec.yaml (1 hunks)
🔇 Additional comments (6)
android/build.gradle (1)

42-42: SDK version update correctly implements PR objectives for Android.

The update to version 2.13.2 of the Kommunicate Android SDK incorporates the features mentioned in the PR objectives, including migration to Coroutines, removal of deprecated Async Tasks and raw queries, and edge-to-edge support for Android 15+.

example/ios/Runner/AppDelegate.swift (1)

4-4: Modernized Swift annotation follows best practices.

Updating from @UIApplicationMain to @main aligns with modern Swift standards and helps resolve deprecated code warnings as mentioned in the PR objectives. This is part of the iOS code refactoring effort.

pubspec.yaml (1)

3-3: Version bump correctly implements the 2.0.3 release.

The version update from 2.0.2 to 2.0.3 follows semantic versioning principles and properly reflects the culmination of all changes described in the PR objectives, including SDK updates for both platforms and various improvements.

README.md (1)

16-16: Documentation correctly updated to reflect new version.

The version reference update in the README ensures that documentation stays in sync with the actual package version, providing accurate installation instructions for users.

ios/kommunicate_flutter.podspec (1)

20-20: Updated iOS SDK dependency to latest version.

The dependency for the Kommunicate iOS SDK has been updated from '> 7.2.7' to '> 7.2.8', which aligns with the version update mentioned in the PR objectives.

example/android/app/src/main/AndroidManifest.xml (1)

40-41:

❓ Verification inconclusive

Verify impact of manifest merge rule change.

The android:allowBackup="false" attribute is still present, but it's no longer included in the tools:replace directive. This means during the manifest merging process, if the Kommunicate Android SDK specifies a different value for allowBackup, it might override this setting.

Since allowBackup controls whether app data can be backed up, this change could potentially impact data security and backup behavior.


🏁 Script executed:

#!/bin/bash
# Check if the Kommunicate SDK specifies an allowBackup attribute in its manifest
# that might conflict with the app's setting

# Search for allowBackup in any AndroidManifest.xml files in dependencies
find . -path "*/build/intermediates/**/AndroidManifest.xml" -type f -exec grep -l "android:allowBackup" {} \; | xargs cat 2>/dev/null | grep "android:allowBackup"

# Also check the raw SDK manifest if available
find . -path "*/com/kommunicate/**/AndroidManifest.xml" -type f -exec grep -l "android:allowBackup" {} \; | xargs cat 2>/dev/null | grep "android:allowBackup"

Length of output: 299


Manifest Merge Caution – Verify SDK Backup Settings

Our automated search did not detect any android:allowBackup attribute in the Kommunicate SDK or build-generated manifest fragments that might conflict with your explicit setting (android:allowBackup="false"). This indicates that, as of now, the SDK does not override this attribute. However, since the tools:replace directive now omits android:allowBackup, any future change in the SDK manifest supplying a different value could unintentionally override your setting.

• Confirm that future versions of the Kommunicate SDK do not introduce an allowBackup attribute in their manifest.
• Manually verify the manifest merge output to ensure that android:allowBackup="false" is preserved across all build scenarios.

Copy link

@prateek-kommunicate prateek-kommunicate left a comment

Choose a reason for hiding this comment

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

LGTM!!

@AbhijeetRanjan308 AbhijeetRanjan308 merged commit ad7061e into master Mar 25, 2025
1 check passed
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.

2 participants