Closed dgladkov closed 6 years ago
I'm seeing the same error on:
{ "react": "16.0.0-alpha.12", "react-native": "0.47.1", "react-native-pathjs-charts": "0.0.31", "react-native-svg": "^6.0.0-rc1" }
and it looks like removing import 'babel-polyfill'
fixes the issue. I also think we should check if polyfill is still needed.
I have the same problem @elbuild ,had you sovle this problem?and how?thans!
Closing now that #211 has been merged into master
With this fix, we're seeing the return of:
undefined is not a function (evaluating '_iterator[typeof Symbol === 'function' ? Symbol.iterator: '@@iterator']()')
Specifically on android
Curious what imports you have in your app? When I removed babel-polyfill, I also updated the example app and replaced:
import 'babel-polyfill'
with
import 'core-js/es6/symbol'
import 'core-js/fn/symbol/iterator'
Package versions:
Traceback:
Removing
import 'babel-polyfill'
solves the problem.Issue #62 and related PR #64 that introduced
babel-polyfill
. Can we try to reproduce #62 on the latest RN release to make sure we still need the polyfill?