We’re able to connect React and even React Native (using a simulator) to Parse Server, but have not been able to connect an exp application to it. When we attempt to login into the Parse Server using the following settings:
import React from ‘react’;
import { Provider } from ‘react-redux’;
import RootNavigation from ‘./src/stackNav/views/RootNavigation’;
import store from ‘./src/store’;
import Parse from ‘parse/react-native’;
export default class SampleNavigation extends React.Component {
If you are running Parse on your computer and trying to connect to it on your phone, you need to put your specific IP address in – localhost will refer to the phone if you are on the phone.
if you are running on the phone then change your localhost with the IP of your desktop
to get you desktop ip
If both your desktop and phone are connected to the same WiFi (or any other local network), then use your desktop IP address assigned by the router (not localhost and not 127.0.0.1 ).
To find out the IP address of your desktop:
type into the command line ipconfig (Windows) or ifconfig (Unix)
on Linux the one-liner ifconfig | grep "inet " | grep -v 127.0.0.1 will yield only the important stuff