johncarl81 / transfuse

:syringe: Transfuse - A Dependency Injection and Integration framework for Google Android
http://androidtransfuse.org/
Apache License 2.0
220 stars 28 forks source link

Android API 28+ (OREO and Above) #225

Open jhilland opened 3 years ago

jhilland commented 3 years ago

Android began limiting the types of intent actions that can be invoked from a background service. Implicit Intent Actions (such as ACTION_POWER_CONNECTED) cannot be registered within the AndroidManifest.xml file.

You must now manually register your implicit Intent Actions programmatically.

i.e.

context.resgisterReceiver(yourBroadcastReceiver, new IntentFilter("Implicit.Intent.Action));

This would be great if Transfuse handled within its impl of BroadcastReceivers/IntentFilters.