When the debugger is disabled, I get this error:
undefined is not a function (evaluating '_iterator[typeof Symbol === 'function' Symbol.iterator:'@@iterator']()')
But when it is enabled, my code works fine. This only happens on android. The ios app works fine.
Here are my dependencies:
- react
- react-native
- native-base
- base-64
- realm
And here is the code that makes the difference:
for(toy of toys) {
console.log(toy)
}
If I uncomment the line above, my code works without the debugger.