How to regsiter plugin manually in capacitor 3?

I am trying to use plugin for background location tracking on android capacitor suppose to register plugin automatically in but thats not happening. I tried to use that manually but that is also not happening

package com.siloc.users;

import com.getcapacitor.BridgeActivity;
import android.os.Bundle;

import com.getcapacitor.BridgeActivity;
import com.getcapacitor.Plugin;

import java.util.ArrayList;
import com.hemangkumar.capacitorgooglemaps.CapacitorGoogleMaps;
import com.equimaps.capacitor_background_geolocation.BackgroundGeolocation;
public class MainActivity extends BridgeActivity {
    public void onCreate(Bundle savedInstanceState) {



How i could do that ?