Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
First apologies for the amount of change in this PR. I don't expect it to be accepted at all in it's current form. I'm happy to work on getting it in a saner stated if needed.
I've just started using react-native-owl, so much easier than detox that I was using before.
However I was having issues with screenshots when using the React Native new architecture.
Immersive mode wasn't working.
I started working on supporting the new arch; I ended up basically trying to align everything with
react-native-create-library
to get it to work (as I use it for another library I work on), hence why there is so much change.Something I discovered when I was almost done converting to TurboModules, is that on new arch you need to call
TurboModuleRegistry.get
otherwise the initialize doesn't load.I've test this on the unreleased monorepo version of react-native-vector icons and it's working well for me.
Not all the tests are working yet, some issues with mocking.
I though I'd open this for feedback before I spent more time on it.
Type of Change
In theory this should be fully backwards compatible and not breaking.
How Has This Been Tested?
I've tested against
react-native-vector-icons
, I'll work on the inbuilt test suite next.Checklist: (Feel free to delete this section upon completion)
yarn prettier:apply
)yarn test
)