Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Agenda View is breaking Android #476

Closed
Nemesisesq opened this issue May 7, 2018 · 5 comments
Closed

Agenda View is breaking Android #476

Nemesisesq opened this issue May 7, 2018 · 5 comments

Comments

@Nemesisesq
Copy link

Nemesisesq commented May 7, 2018

Please make our job easier by filling this template out to completion. If you're requesting a feature instead of reporting a bug, please feel free to skip the Environment and Reproducible Demo sections.

Description

when I try to load the adgenda on android this is the error I get
screenshot_1525663969

undefined is not a function(evaluating '_iteratortypeof Symbol === "function"?Symbol.iterator:"@@iterator"')

I have attached a screen shot of expo. I know the problem involves JS engine not being able to support
"for of" I have tried polyfills but nothing works does anyone have any idea of what to do ?

@tautvilas
Copy link
Contributor

Hello, looks like this is not related to calendars library

@globsecure
Copy link

Hello @tautvilas I have the same problem mentioned above, I just added the example inside the project, my project uses React Navigation and Redux.

@aivarsliepa
Copy link

How is it not related to this library?
One of the first sentences in README.md is

The package is both Android and iOS compatible.

But library contains code that is not compatible with Android.

@aivarsliepa
Copy link

If anyone stumbles on the same issue.
These polyfills helped for me facebook/react-native#15902 (comment)

@jackbillstrom
Copy link

I saw this, which worked out smoothly.

facebook/react-native#20902 (comment)

I upgraded to 0.57.2 from 0.55.4 and the only thing that worked for me was to add babel-polyfill.

npm i --save-dev babel-polyfill

then in my index.js:

import 'babel-polyfill';

I did not try what @dungps suggested.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants