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

Import moment locales to prevent Android crashes #16

Merged
merged 24 commits into from Apr 8, 2019

Conversation

is343
Copy link
Contributor

@is343 is343 commented Mar 25, 2019

Android production builds will crash if you try to pass a moment locale to the component without importing the locales from moment first.

@is343
Copy link
Contributor Author

is343 commented Mar 25, 2019

@vinodkumar8 please check this out. Thanks!

@vinodkumar8
Copy link
Owner

Is that only change required?

@is343
Copy link
Contributor Author

is343 commented Mar 27, 2019

Yes. I got a working solution from moment/moment#3624

The only real change was to import the all of the locales from moment.

Sorry for this long list of commits. It looks like it pulled all of my commits from when I first forked this. It added all of them when I rebased with this master branch.

@is343
Copy link
Contributor Author

is343 commented Apr 8, 2019

@vinodkumar8 would you like me to make any changes?

@vinodkumar8 vinodkumar8 merged commit 31d650c into vinodkumar8:master Apr 8, 2019
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

Successfully merging this pull request may close these issues.

None yet

2 participants