Skip to content

Comments

Allow customization of MainActivity.kt#4294

Merged
jkelleyrtp merged 5 commits intoDioxusLabs:mainfrom
Kbz-8:main
Jul 23, 2025
Merged

Allow customization of MainActivity.kt#4294
jkelleyrtp merged 5 commits intoDioxusLabs:mainfrom
Kbz-8:main

Conversation

@Kbz-8
Copy link

@Kbz-8 Kbz-8 commented Jun 18, 2025

Here's a very small proposal implementation of the issue #4285 that adds a config path to a custom MainActivity.kt file for Android.

@Kbz-8 Kbz-8 requested a review from a team as a code owner June 18, 2025 15:41
@jkelleyrtp jkelleyrtp changed the title Implementation of issue #4285 Allow customization of MainActivity.kt Jun 20, 2025
@jkelleyrtp
Copy link
Member

We need to update/add to the docs on how to customize this and the requirement that you need to subclass WryActivity. This is more surface area to our API but a simpler approach than fully ejecting.

@jkelleyrtp jkelleyrtp merged commit 86f2298 into DioxusLabs:main Jul 23, 2025
18 of 20 checks passed
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