Skip to content

feat: configurable entry point #23

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

Merged
merged 2 commits into from
Aug 4, 2022
Merged

Conversation

Steven0351
Copy link
Contributor

No description provided.

@Steven0351 Steven0351 requested a review from carlpoole August 4, 2022 22:38
@@ -213,6 +232,15 @@ internal class PortalViewManager(private val context: ReactApplicationContext) :
setupLayout(parentView)

val portalFragment = PortalFragment(portal)

val configBuilder = CapConfig.Builder(context)
.setInitialFocus(false)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

When I looked in ionic-portals-android, I saw that this was being set if there was no CapConfig defined. @carlpoole Do you think this should be added as a configuration to the Portal as well?

Copy link
Contributor

Choose a reason for hiding this comment

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

Perhaps, but maybe we should look at the config as a whole and see if we should make some things more configurable on the Portal instead of reaching into the config to have to do some things

@Steven0351 Steven0351 merged commit fa4ab1f into main Aug 4, 2022
@Steven0351 Steven0351 deleted the configurable-entry-point branch August 4, 2022 23:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants