-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Make font packages responsible for font copying #1711
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello, I took a brief look and I like it!
One thing that afaict can be simplified is the amount of kotlin code - most of the native files don't provide any value. So in theory these could be removed:
packages/ant-design/android/src/main/java/VectorIconsAntDesignPackage.kt
and therefore I don't think you need evenpackages/ant-design/android/src/main/java/VectorIconsAntDesignModule.kt
packages/ant-design/android/src/main/java/VectorIconsAntDesignSpec.kt
That being said I'm not sure what is needed to get autolinking to work (so that the build.gradle is included), maybe you'll be able to make it work without much native code and just some cli configuration here: https://github.com/react-native-community/cli/blob/main/docs/dependencies.md
@vonovak Thanks In my experimentation it was the Kotlin files that seemed to kick off the autolinking. |
@johnf I might be wrong here but would be nice to get the amount of code reduced. |
@vonovak I looked into this further, unfortunately, So As much as I don't like it I don't think we have a good way at the moment to reduce the boiler plate |
hi! And with regards to Let me know if you want some assistance 👍 . Thanks! |
No description provided.