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

App crashes on Android #355

Open
FelipeBattistotti opened this issue Aug 21, 2022 · 4 comments
Open

App crashes on Android #355

FelipeBattistotti opened this issue Aug 21, 2022 · 4 comments

Comments

@FelipeBattistotti
Copy link

Hello,
Locally I test my app with Expo and everything looks fine.
Although, after publish my app on Google Play Store, the app crashes because of "react-native-calendar-strip".
What is the reason for this happening?

@peacechen
Copy link
Collaborator

That's typically caused by misconfigured localization. Follow these instructions:
https://github.com/BugiDev/react-native-calendar-strip#localization

There are past issues discussing this.

@FelipeBattistotti
Copy link
Author

@peacechen
This really solved it. Thanks a lot.

@alfarafaelm
Copy link

Hello @FelipeBattistotti

Can you share the configuration you made to solve this issue?

@FelipeBattistotti
Copy link
Author

Hello @rmocelin,

The imports must be carried out in this way:

import 'moment'
import 'moment/locale/pt-br' // language must match config
import moment from 'moment-timezone' // only if timezone is needed

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