react-native-http-bridge icon indicating copy to clipboard operation
react-native-http-bridge copied to clipboard

IOS not running

Open EliaSemprebon opened this issue 4 years ago • 1 comments

The app is not running on ios while it was running correctly on Android. The ERROR is: null is not an object (evaluating 'Server.start').

Could you get any solution?

EliaSemprebon avatar Oct 21 '21 15:10 EliaSemprebon

I get the same error, saying.

Apparently, NativeModules is equal to {}

in httpServer.js, I saw:

import {NativeModules} from 'react-native';

var Server = NativeModules.HttpServer;

      Server.start(port, serviceName);

trollepierre avatar Apr 04 '22 14:04 trollepierre