myrjola / neartobeer

Find cheap beers near you
0 stars 0 forks source link

Object.freeze can only be called on Objects #12

Closed myrjola closed 7 years ago

myrjola commented 7 years ago

I started getting this error on Android after e292890 and only when I disable the remote JS debugging.

image

The reason seems to be related to animations and that's exactly what the react-native-router-flux package added. See https://github.com/facebook/react-native/issues/2033.

The plan is to create integration tests with Appium to repro the issue and then fix the build.

Here's an example test runner using Appium https://github.com/appium/sample-code/blob/master/sample-code/examples/node/android-simple.js and this guide seems to be the fastest way to get started http://chase-seibert.github.io/blog/2017/01/06/appium-react-native-quickstart.html.

mac-de-janik commented 7 years ago

This commit is the culprit: 22f8749b11f73e0d9cfb16ad1cad495088467041