Commit Graph

11 Commits

Author SHA1 Message Date
Wojciech Lewicki
98c14b4f45 chore: add CI for JS, iOS and Android formatting (#1782)
Added CI workflow and local pre-commit hook for formatting and linting the newly added JS, iOS and Android code.
2022-08-16 12:00:32 +02:00
Wojciech Lewicki
77267be5fc feat: support Fabric on Android (#1804)
Most of Android changes for Fabric and bump of FabricExample to RN 0.69.2. iOS and JS changes are available in #1821.
The most notable change on Android is adding methods to components that accept String values of each NumberProp instead of Dynamic. Another change is changed structure of RenderableViewManager.java since we needed to abstract methods that belong only to components inheriting from VirtualView in order to be able to properly override them in their children.
2022-08-12 11:42:44 +02:00
Wojciech Lewicki
8f1bda4856 feat: add Fabric on iOS without ComponentViews (#1821)
Version of #1754 without usage of ComponentViews. It seems like a more proper way, but introduces the necessity of clearing whole state of each component on recycling for it not to be used when view is recycled.

Still known problems:

We stringify props of type NumberProp since codegen only accepts props of a single type. It is the fastest way of dealing with it, but maybe there could be a better way to handle it.
Image resolving should be probably handled the same as in RN core
SvgView needs to set opaque = NO so it is does not have black background (it comes from the fact that RCTViewComponentView overrides backgroundColor setter which in turn somehow messes with the view being opaque). All other svg components do it already so maybe it is not such an issue.
transform prop won't work when set natively since it is not parsed in Fabric
2022-08-11 14:08:11 +02:00
Wojciech Lewicki
7a773654b1 feat: change ios CI (#1831)
Added improved iOS CI jobs
2022-08-10 11:54:21 +02:00
Wojciech Lewicki
286c02fac4 Refactor typescript code (#1806)
Co-authored-by: Eric Butler <eric@codebutler.com>
2022-07-22 17:41:30 +02:00
Wojciech Lewicki
cf808ae79d fix: change ci jobs to main (#1715)
PR changing CI jobs target to main branch since it was changed from develop.
2022-03-02 13:38:23 +01:00
Wojciech Lewicki
bac4986a23 feat: add macos CI (#1704)
PR adding macOS configuration to Example app and adding CI job for building the app on macOS.
2022-02-24 14:44:17 +01:00
Wojciech Lewicki
5b519c1a0c feat: add empty CI job so it runs on PR then (#1705)
Added empty CI job for building macOS so it can be run on the proper PR: #1704
2022-02-24 14:15:42 +01:00
Wojciech Lewicki
bcc9e1dd5f fix: add newlines at the end of files 2022-02-21 17:53:33 +01:00
Wojciech Lewicki
29fbc517b4 fix: change ios to apple 2022-02-21 17:49:07 +01:00
Wojciech Lewicki
eb5543b3e5 feat: add example build workflows 2022-02-21 16:33:40 +01:00