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

UI Kit crashed on Android #76

Open
msanvarov opened this issue May 19, 2020 · 2 comments
Open

UI Kit crashed on Android #76

msanvarov opened this issue May 19, 2020 · 2 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@msanvarov
Copy link

msanvarov commented May 19, 2020

Hey @hetmann, love the ui kit as always, just ran into a problem when I started using it on android. It gives the following error. I googled how to resolve this and tried to debug wherever flex is being passed in a boolean rather than a double. I ejected the expo app to see debug the Java code but can't seem to find where the issue is coming from.
Wondering if you have come across this issue and have seen this happen before on android. It works fine on IPhone though.

Screen Shot 2020-05-18 at 8 07 22 PM

@hetmann
Copy link
Contributor

hetmann commented May 19, 2020

Hey @hetmann, love the ui kit as always, just ran into a problem when I started using it on android. It gives the following error. I googled how to resolve this and tried to debug wherever flex is being passed in a boolean rather than a double. I ejected the expo app to see debug the Java code but can't seem to find where the issue is coming from.
Wondering if you have come across this issue and have seen this happen before on android. It works fine on IPhone though.

Screen Shot 2020-05-18 at 8 07 22 PM

Thanks for pointing this out. I am aware of this error, this is due to the fact flex prop is receiving flex true or false and is updated to 0.5 or something like that.
Did you used the npm package or directly this repo?

@msanvarov
Copy link
Author

Hey @hetmann, love the ui kit as always, just ran into a problem when I started using it on android. It gives the following error. I googled how to resolve this and tried to debug wherever flex is being passed in a boolean rather than a double. I ejected the expo app to see debug the Java code but can't seem to find where the issue is coming from.
Wondering if you have come across this issue and have seen this happen before on android. It works fine on IPhone though.
Screen Shot 2020-05-18 at 8 07 22 PM

Thanks for pointing this out. I am aware of this error, this is due to the fact flex prop is receiving flex true or false and is updated to 0.5 or something like that.
Did you used the npm package or directly this repo?

I'm using the npm package you have published. I'm thinking this has to do with a utility function somewhere that is breaking. I'm surprised it doesn't crash for ios because in Objective C there is no proper way to convert a boolean into a number aside from doing

bool vIn = true;
int vOut = vIn?1:0;

@hetmann hetmann added bug Something isn't working help wanted Extra attention is needed labels Jun 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Development

No branches or pull requests

2 participants