marlove/react-native-geocoding

Getting error code 2 in android production build.

Opened this issue · 1 comments

I am using react-native-geocoding for reverse geo coding.

It was working fine in local .

But when i switch to production in android i am getting the error below.

import Geocoder from 'react-native-geocoding';
 Geocoder.init('key');
Geocoder.from(‘data’)
        .then((response) => {
      
        })
        .catch(error => {
    
        });

Response
{"code":2,"message":"Error while fetching. Check your network.","origin":{}}

is there any configuration i am missing.

I'm experiencing the same issue in IOS production build