Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Conversation

@bkonyi
Copy link
Contributor

@bkonyi bkonyi commented Jan 28, 2019

  • Updated android_alarm_manager to fix issues with "background start not
    allowed" when attempting to start AlarmService while backgrounded.

    • Switched to using a combination of BroadcastReceiver and
      JobIntentService from using a Service (launching a Service from an
      alarm Intent causes the "Background start not allowed" on Android 8+)
  • Alarm events received before the AlarmService isolate is finished
    initializing are now queued and processed once the isolate is
    initialized.

  • Updated CHANGELOG.md and README.md with new setup steps.

  • Bumped version to 0.4.0.

Fixes flutter/flutter#26846.

* Updated android_alarm_manager to fix issues with "background start not
allowed" when attempting to start AlarmService while backgrounded.
  * Switched to using a combination of BroadcastReceiver and
  JobIntentService from using a Service (launching a Service from an
  alarm Intent causes the "Background start not allowed" on Android 8+)

* Alarm events received before the AlarmService isolate is finished
initializing are now queued and processed once the isolate is
initialized.

* Updated CHANGELOG.md and README.md with new setup steps.

* Bumped version to 0.4.0.

Fixes #26846.
@bkonyi bkonyi force-pushed the android_alarm_manager_job_service branch from ce8d87e to c9b81dd Compare January 29, 2019 21:17
@bparrishMines bparrishMines added bugfix submit queue The Flutter team is in the process of landing this PR. labels Jan 29, 2019
@bkonyi bkonyi force-pushed the android_alarm_manager_job_service branch from 4e6a87d to c9b81dd Compare January 29, 2019 21:34
@bparrishMines
Copy link
Contributor

cc @mklim

@bkonyi bkonyi merged commit 8aa016c into master Jan 29, 2019
@bkonyi bkonyi deleted the android_alarm_manager_job_service branch January 29, 2019 23:05
andreidiaconu pushed a commit to andreidiaconu/plugins that referenced this pull request Feb 17, 2019
* android_alarm_manager background execution bug fixes

* Updated android_alarm_manager to fix issues with "background start not
allowed" when attempting to start AlarmService while backgrounded.
  * Switched to using a combination of BroadcastReceiver and
  JobIntentService from using a Service (launching a Service from an
  alarm Intent causes the "Background start not allowed" on Android 8+)

* Alarm events received before the AlarmService isolate is finished
initializing are now queued and processed once the isolate is
initialized.

* Updated CHANGELOG.md and README.md with new setup steps.

* Bumped version to 0.4.0.

Fixes #26846.
andreidiaconu added a commit to andreidiaconu/plugins that referenced this pull request Feb 17, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bugfix cla: yes submit queue The Flutter team is in the process of landing this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

android_alarm_manager: "Background start not allowed"

4 participants