Skip to content
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

(Android) Add background battery usage restriction detection #221

Merged
merged 1 commit into from
Nov 11, 2024

Conversation

peachbits
Copy link
Contributor

@peachbits peachbits commented Oct 29, 2024

CHANGELOG

Does this branch warrant an entry to the CHANGELOG?

  • Yes
  • No

Dependencies

none

Description

none

@peachbits peachbits changed the title (Android) Add background battery usage restriction (Android) Add background battery usage restriction detection Oct 29, 2024
Copy link
Contributor

@swansontec swansontec left a comment

Choose a reason for hiding this comment

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

One little cleanup.

)
: undefined
const statusAppRefresh = await AbcCoreJsUi.backgroundAppRefreshStatus().catch(
(error: undefined) => console.log(error)
Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldn't it be error: unknown?

@peachbits peachbits force-pushed the matthew/android-detect-background-refresh branch from dafe6e8 to acf3455 Compare November 11, 2024 21:17
@peachbits peachbits force-pushed the matthew/android-detect-background-refresh branch from acf3455 to f1f6345 Compare November 11, 2024 21:19
@peachbits peachbits merged commit ed60604 into master Nov 11, 2024
1 check passed
@peachbits peachbits deleted the matthew/android-detect-background-refresh branch November 11, 2024 21:20
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