-
-
Notifications
You must be signed in to change notification settings - Fork 2
Add tests for app update notifications #231
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
Add tests for app update notifications #231
Conversation
@chatgpt-codex-connector
chatgpt-codex-connector
bot
left a comment
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.
Codex Review: Here are some suggestions.
Reply with @codex fix comments to fix any unresolved comments.
About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you open a pull request for review, mark a draft as ready, or comment "@codex review". If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex fix this CI failure" or "@codex address that feedback".
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.
[P1] Avoid API‐24 java.util.function dependency in manager constructor
The new sdkIntSupplier field introduces java.util.function.IntSupplier. That type only exists on Android API 24+ (or when core library desugaring is configured), yet the app’s minSdk is 23 and no desugaring dependency is declared in app/build.gradle. When AppUpdateNotificationsManager is loaded on API 23 devices (e.g., from MainActivity), the VM will fail with NoClassDefFoundError: java/util/function/IntSupplier, crashing update notification checks on those devices. Passing the SDK value as an int or using a project-defined interface avoids raising the effective minSdk.
Useful? React with 👍 / 👎.
Summary
AppUpdateNotificationsManagerguards notification channel creation behind the runtime SDK levelAppUpdateManagerresults and verify Play Store intents and notification behaviorTesting
https://chatgpt.com/codex/tasks/task_e_68c97637f974832dbddeb70b7567debc