react-native icon indicating copy to clipboard operation
react-native copied to clipboard

react native ART

Open antoxi4 opened this issue 10 years ago • 11 comments

Any Documentation for art on Android?

antoxi4 avatar Jan 06 '16 18:01 antoxi4

Hey antoxi4, thanks for reporting this issue!

React Native, as you've probably heard, is getting really popular and truth is we're getting a bit overwhelmed by the activity surrounding it. There are just too many issues for us to manage properly.

  • If you don't know how to do something or something is not working as you expect but not sure it's a bug, please ask on StackOverflow with the tag react-native or for more real time interactions, ask on Discord in the #react-native channel.
  • If this is a feature request or a bug that you would like to be fixed, please report it on Product Pains. It has a ranking feature that lets us focus on the most important issues the community is experiencing.
  • We welcome clear issues and PRs that are ready for in-depth discussion. Please provide screenshots where appropriate and always mention the version of React Native you're using. Thank you for your contributions!

facebook-github-bot avatar Jan 06 '16 18:01 facebook-github-bot

Hi @antoxi4, did you checkout this commit's summary? 27ac04742ab4665cd529fe63fd68a30db9293b76

Hope this helps.

Roconda avatar Jan 12 '16 16:01 Roconda

Yes.Just i can't make LinearGradient. And nobody can't help me((

antoxi4 avatar Jan 12 '16 19:01 antoxi4

@antoxi4 try out this library: https://github.com/brentvatne/react-native-linear-gradient

I use it for my app and love it :)

tomauty avatar Jan 12 '16 19:01 tomauty

Yep, but i'm not shure what it working with shape in ART)

antoxi4 avatar Jan 12 '16 20:01 antoxi4

What's the use case you have that isn't solved by this implementation?

tomauty avatar Jan 13 '16 04:01 tomauty

That commit you mention @Roconda quotes:

Tested in open source by adding a import com.facebook.react.ARTPackage; and .addPackage(new ARTPackage()) to UIExplorerActivity.java, running

However, I've been unable to find ARTPackage in version 0.18 and compilation fails prompting it cannot find this library, how do you start using ART in Android? what am I doing wrong?

Cheers, Miguel

maraujop avatar Jan 20 '16 09:01 maraujop

^ Having the same issue

tomauty avatar Feb 05 '16 04:02 tomauty

this example usage ART in 0.18.0 or later RN on Android.

var {
  AppRegistry,
  StyleSheet,
  Text,
  ART,
  View,
  Dimensions
} = React;

var {
    Shape,
    LinearGradient,
    Transform,
    Group,
    Surface
} = ART;

antoxi4 avatar Feb 05 '16 05:02 antoxi4

@facebook-github-bot duplicate #5200

browniefed avatar Mar 15 '16 06:03 browniefed

@browniefed tells me this issue is a duplicate of #5200. Let's discuss there, closing this one.

facebook-github-bot avatar Mar 15 '16 06:03 facebook-github-bot