Skip to content

react-native android patch

Compare
Choose a tag to compare
@KevinAst KevinAst released this 07 Mar 18:07
· 44 commits to master since this release
ecf20bd

NOTE: This release is a non-breaking change (i.e. no API was affected).

  • A patch was applied in support of react-native android.

    When running react-native under android, receiving the following exception:

    ERROR: undefined is not a function
           evaluating 'content[typeof Symbol === 'function' ? Symbol.iterator: '@@iterator']()'
    

    This is a transpiler issue related to the es6 "for of" loop. It is believed to be limited to the react-native android JS engine.

    This may be a babel transpiler issue (possibly due to a stale babel version), or an issue with with react-native android's JS engine. The problem was temporarily avoided by employing old style es5 "for loop" constructs (till further research is conducted).