Skip to content

Is it possible to use this library in a hybrid environment? #195

Closed Answered by mkrotel14
mkrotel14 asked this question in Q&A
Discussion options

You must be logged in to vote

Nice, it worked 🎉

Although a little bit different from the example you provided, I looked on what properties and how to use it for react-native.config.js file. This is how it looks like:

module.exports = {
  dependency: {
    platforms: {
      android: {
        sourceDir: './node_modules/react-native-unistyles/android'
      }
    }
  }
}

After that, i just did a Gradle Sync on Android Studio and voilà.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@jpudysz
Comment options

@mkrotel14
Comment options

@jpudysz
Comment options

@mkrotel14
Comment options

Answer selected by mkrotel14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants