LocalBroadcastManager stops Android plugin method

I’m working on an Android plugin, but the LocalBroadcastManager.getInstance() function stops the function call

public static void initialize () {
        Log.i(TAG, "initializing");
        unityActivity = UnityPlayer.currentActivity;
        Log.i(TAG, unityActivity.getLocalClassName());
        //register broadcast reciever
        IntentFilter filter = new IntentFilter();
        LocalBroadcastManager.getInstance(unityActivity.getApplicationContext()).registerReceiver(broadcastReceiver, filter);
        Log.i(TAG, "Broadcast reciever registered");
        //bind service
        Intent intent = new Intent(unityActivity, WifiDirectHandler.class);
        boolean bound = unityActivity.bindService(intent, wifiServiceConnection, Context.BIND_AUTO_CREATE);
        Log.i(TAG, "bound: "+bound);

When I call initialize from C#, I see



and then nothing.
There is no error printed to logcat that I can see. What should I do to make sure I see “Broadcast receiver registered”

I figured out the issue: Gradle build didn’t include the “android support v4” jar in the AAR file. Solution is to manually copy and paste the support jar file into the Aar