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

doesn't work on Android #114

Closed
Aleksandern opened this issue Mar 22, 2018 · 4 comments
Closed

doesn't work on Android #114

Aleksandern opened this issue Mar 22, 2018 · 4 comments

Comments

@Aleksandern
Copy link

error on Android (works okay on iOS)

import AppWithNavigationState from './AppNavigator';

let strings = new LocalizedStrings({
  en: {
    asd: "asd"
  },
});

2018-03-22_18-20-30

"react-native": "0.54.2",
"react-native-localization": "^1.0.3"
@stefalda
Copy link
Owner

stefalda commented Mar 22, 2018

Hi,
it seems a problem with iterator support in the Android web engine...

check this issue and temporary solution:

I had the same problem a few days back and I think I solved it with an babel preset. I used
["react-native-stage-0", "react-native-stage-0/decorator-support"]
babel-preset-react-native-stage-0

This babel preset should work.

@Aleksandern
Copy link
Author

Aleksandern commented Mar 22, 2018

Thanks Stefano
I used this way immutable-js/immutable-js#1305 (comment)

import 'core-js/es6/symbol'; 
import 'core-js/fn/symbol/iterator';

but I didn't check it on production yet

@stefalda
Copy link
Owner

Hi,
I've released a new version that doesn't require the polyfill...

@woshi82
Copy link

woshi82 commented Mar 28, 2018

I have just try, it's work in android with production release

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

3 participants