Skip to content

Android support #3

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

Closed
ashleydw opened this issue Jan 11, 2016 · 4 comments
Closed

Android support #3

ashleydw opened this issue Jan 11, 2016 · 4 comments

Comments

@ashleydw
Copy link

Rendering in android fails for me. Using "left" I get nothing, using "up" I get the following (red is the triangle, blue it's container)

image

Is this known, or is there no support for android at this time?

@Jpoliachik
Copy link
Owner

@ashleydw I haven't tested on Android yet, sorry! What version of react-native are you using? I'll take a look at this tonight.

@Nyte7
Copy link

Nyte7 commented Jan 19, 2016

Seems like this is a general issue with react native and android as even the manual CSS method does not work (only produces rectangles).

@Jpoliachik
Copy link
Owner

I'm able to reproduce the issue. Unfortunately, I don't know if theres anything I can do at the moment. It seems the borderWidth and borderColor tricks that work in iOS to produce triangles do not work with Android's layout engine in react-native.

I submitted an issue in the react-native repo. facebook/react-native#5411

Until this is resolved, using assets might be the only solution for Android.

Using RNPlay and react-native v 0.13.0-rc, Android looks like this:
screen shot 2016-01-19 at 10 02 37 am

iOS Looks like this:
screen shot 2016-01-19 at 10 02 23 am

@ashleydw
Copy link
Author

FYI, these are working on RN 0.22

via facebook/react-native#5911

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