JulianAssmann / flutter_background

A flutter plugin to keep apps running in the background via foreground services. Android only.
https://pub.dev/packages/flutter_background
MIT License
86 stars 46 forks source link

Implement null safety #21

Closed Timmmm closed 3 years ago

Timmmm commented 3 years ago

Also fix the return type of disableBackgroundExecution().

Fixes #18

(I hope; it's not really tested)

JulianAssmann commented 3 years ago

Just tested it on my device, works perfectly. Thank you very much.

Timmmm commented 3 years ago

Thanks! Probably should have waited 1 more day - I guess you can change the minimum Dart version to 2.12 and drop the -nullsafety.0 version!

JulianAssmann commented 3 years ago

Yes, I am currently rewriting the example app and will probably publish a new version to pub.dev tomorrow :)