React-native-onesignal: NetInfo's "change" event is deprecated

Created on 2 Sep 2017  Â·  10Comments  Â·  Source: OneSignal/react-native-onesignal

After upgrading to latest React Native (0.48.0) I keep getting this warning:

NetInfo's "change" event is deprecated. Listen to the "connectionChange" event instead.

I guess this is due to: https://github.com/geektimecoil/react-native-onesignal/blob/88f00a6f30bbf2986a570f908cff877b8ef71883/index.js#L20

Most helpful comment

@jkasten2 we're still in need of a npm publish here.

All 10 comments

+1

Me too, added a PR: #321

Yeah I saw that just after adding mine…!

Any ETA on merging this?

Please let us know on this. I was getting the same and this is going to possibly delay the rollout until resolved.

Right! We are all in a race to get our iOS 11 updates out the door and stuff like this has us in a holding pattern.

Same here!

Hi, when go to push with it

@jkasten2 we're still in need of a npm publish here.

Was this page helpful?
0 / 5 - 0 ratings