Symbol() not a thing on Android/iOS < 9 in React Native
See original GitHub issueWhen using redux-saga
in React Native on the Android platform, the Javascript environment doesn’t seem to support Symbol
s.
I fired up an older version (0.3.3) of redux-saga
and replaced all the Symbol()
calls with strings and everything worked great.
In the later codebases (0.5.0), Symbols are used much more for iterators and stuff.
Was wondering if you’d had any thoughts about perhaps supporting execution environments without Symbol()
support.
I haven’t dug into why it isn’t available, but I can if you need more context.
Thanks! 😃
Issue Analytics
- State:
- Created 8 years ago
- Comments:23 (14 by maintainers)
Top Results From Across the Web
Platform Specific Code - React Native
When building a cross-platform app, you'll want to re-use as much code as possible. Scenarios may arise where it makes sense for the...
Read more >Could not connect to React Native development server on ...
In my case the problem was with Android security policies. According to the documentation: Starting with Android 9.0 (API level 28), cleartext support...
Read more >Image Icon Inside the React Native Button
So to start showing Image Icon Inside the React Native Button we are expecting you understand the Button and Touchable, If not then...
Read more >React Native Tutorial for Beginners - Build a React Native App
React Native Tutorial for Beginners - Learn to build an amazing React Native app for iOS & Android.🚀 Get the full React Native...
Read more >react-native-share - npm
Start using react-native-share in your project by running `npm i ... TypeScript icon, indicating that this package has built-in type ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You include
import babel-polyfill
at the top of your entry point file. Like in the exampleshttps://github.com/yelouafi/redux-saga/blob/master/examples/counter/src/main.js#L2
index.android.js & index.ios.js
Just until either the React Native polyfill works or Symbols get removed from redux-saga.