-
-
Notifications
You must be signed in to change notification settings - Fork 45
Backmerge Commcare 2.61.4 #3514
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
Conversation
📝 WalkthroughWalkthroughThis pull request refactors the push notification system and bumps the version to 2.61.4. It introduces a migration path for push notification channel IDs by adding new constants and deleting the old channel, then recreating it with higher priority (DEFAULT to HIGH). The core change consolidates the notification sync API by replacing multiple NotificationsSyncWorkerManager constructors with a single parameterized constructor and introducing new startSyncWorker(s) entry points for handling notification payloads. Related updates propagate to PushNotificationViewModel and CommCareFirebaseMessagingService to use the new API. Notification priority is elevated to PRIORITY_MAX and channel references are updated. An early return optimization is added to skip unnecessary server calls in PushNotificationApiHelper when no notification IDs are present. Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Suggested labels
Suggested reviewers
🚥 Pre-merge checks | ✅ 1 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (1 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
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. Comment |
app/AndroidManifest.xml
Outdated
| xmlns:tools="http://schemas.android.com/tools" | ||
| android:versionCode="106" | ||
| android:versionName="2.62"> | ||
| android:versionName="2.61.4"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Once you have made the release tag, this should change back to 2.62 on this branch so that we keep the master version set to the upcoming release, would also be nice to update hotfix doc to reflect this step.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, I was thinking to give another PR for 2.62 as mentioned in ticket description so that release branch is alway clean.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, I was thinking to give another PR for 2.62 as mentioned in ticket description so that release branch is alway clean.
Changed in commcare_2.61 branch only
Product Description
Backmerge Commcare 2.61.4
Labels and Review