Medhat Fawzy
Medhat Fawzy

Reputation: 78

NetInfo react-native , add to AndroidManifest.xml

i'm using Netinfo to check the connection on android- react-native and i get that error "To use NetInfo on Android, add the following to your AndroidManifest.xml: "

, although i added it to the file,

Note : i'm using react-native 41

Upvotes: 4

Views: 913

Answers (1)

wmcbain
wmcbain

Reputation: 1129

I would make sure to restart your packager and then run the Android project again. It sounds like it wasn't built with the new additions.

Upvotes: 5

Related Questions