Skip to content

return IsEnabledMessage(false) when activity is null instead of throwing an exception #100

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jezer07
Copy link

@jezer07 jezer07 commented May 13, 2025

Suggesting to return IsEnabledMessage(false) when activity is null inside isEnabled(),
to avoid crashes and allow isEnabled() to be used as a guard before calling enable/disable while the app is in the background.

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