wingify / vwo-react-native

React Native wrapper for VWO A/B testing
https://developers.vwo.com/reference/react-native-guide
MIT License
7 stars 5 forks source link

VWO.launch undefined #7

Closed jrwpatterson closed 6 years ago

jrwpatterson commented 6 years ago

I'm doing VWO.launch('MY-KEY').then(somecallback)

But its erroring saying Cannot read property then of undefined

kaunteya commented 6 years ago

@jrwpatterson

It seems you are using an older version of this library. Can you create a new react project and try again?

If it still does not work, can you share the output of console.log(VWO).