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

FPStaticServer is undefined (Android) #52

Closed
AndreevskiAleksandar opened this issue Nov 27, 2018 · 2 comments
Closed

FPStaticServer is undefined (Android) #52

AndreevskiAleksandar opened this issue Nov 27, 2018 · 2 comments

Comments

@AndreevskiAleksandar
Copy link

Hi,

I am using React Native 0.57.5 and react-native-static-server 0.3.0.
The constructor of the rn static server runs without problems. When the code reaches to call the native module FPStaticServer.start it throws an exception saying that the FPStaticServer object is undefined.
I guess there is a problem in the native module link with the javascript.
Anyone with similar problems or a solution to this one?

@fchasen
Copy link
Contributor

fchasen commented Feb 11, 2019

Not sure how to reproduce this, it's working fine for on RN 0.58 on Android as far as I can tell

@fchasen fchasen closed this as completed Feb 11, 2019
@RandunuK
Copy link

RandunuK commented Apr 2, 2019

Make sure you've linked correctly.
react-native link react-native-static-server

smellman pushed a commit to smellman/react-native-static-server that referenced this issue Sep 25, 2024
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

3 participants