Skip to content

Getting error code 2 in android production build. #45

@DevMobile2

Description

@DevMobile2

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions