This sample demonstrates the double broadcast receiver events on dynamic features module where intent is set with package name to workaround the api 26 limitations.
- Filter logs by TEST_CASE
- Launch the app. Registered specific broadcast receivers will be listed immediately through
queryBroadcastReceivers
asResolveInfo
. There will be 2 identical apart from one having"splitName": "dynamic_feature_name"
(kotlin in this case) underactivityInfo
, coming from dynamic feature manifest, and another one with null value, coming from base manifest. - Click
START KOTLIN FEATURE
- Click
SEND BROADCAST
. The sending even is logged followed by 2 receiving events.
The receiver is called CustomBroadcastReceiver
and the event is triggered in KotlinSampleActivity
.