Skip to content

Improve quick start#129

Merged
tinder-cfuller merged 2 commits intomainfrom
avoid-app-in-tests
Jun 7, 2022
Merged

Improve quick start#129
tinder-cfuller merged 2 commits intomainfrom
avoid-app-in-tests

Conversation

@tinder-cfuller
Copy link
Contributor

No description provided.

genesis.yml Outdated
Comment on lines +303 to +306
if NSClassFromString("XCTestCase") == nil {
registerProviderFactories()
appFlow.start()
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thoughts on introducing an AppPlugin and moving this logic into it?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would have to see a demo of that working to be able to have an opinion on it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thinking more about your question, I realized what you are suggesting is likely not even feasible since, I believe, registerProviderFactories() must be called before creating or using the plugin.

@tinder-cfuller tinder-cfuller merged commit 279096a into main Jun 7, 2022
@tinder-cfuller tinder-cfuller deleted the avoid-app-in-tests branch June 7, 2022 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

templates Templates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants