Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting error code 2 in android production build. #45

Open
DevMobile2 opened this issue Dec 27, 2021 · 1 comment
Open

Getting error code 2 in android production build. #45

DevMobile2 opened this issue Dec 27, 2021 · 1 comment

Comments

@DevMobile2
Copy link

DevMobile2 commented Dec 27, 2021

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.

@rbjamaca
Copy link

rbjamaca commented Jan 4, 2022

I'm experiencing the same issue in IOS production build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants