Ionic Native Geocoder Does not work

The native geocoder plugin ( does not work. Whenever I am building my Application for my Android device, the plugin does not work. I tried to deep dive in the plugin and added some log messages in the Java file to check if the control was reaching the java classes. I could not find the log messages and so, it might not even reach there.

This is the code I have been using :

import { NativeGeocoder, NativeGeocoderResult, NativeGeocoderOptions } from '@ionic-native/native-geocoder/ngx';

constructor(private nativeGeocoder: NativeGeocoder) { }


let options: NativeGeocoderOptions = {
    useLocale: true,
    maxResults: 5

this.nativeGeocoder.reverseGeocode(52.5072095, 13.1452818, options)
  .then((result: NativeGeocoderResult[]) => console.log(JSON.stringify(result[0])))
  .catch((error: any) => console.log(error));

Please help me. I am stuck at this, and need a solution urgently.