Skip to content
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

feat: add support to allow MainActivity as a Kotlin file (instead of just Java) #3749

Closed
ahsanz024 opened this issue Oct 30, 2020 · 1 comment · Fixed by #6773
Closed

feat: add support to allow MainActivity as a Kotlin file (instead of just Java) #3749

ahsanz024 opened this issue Oct 30, 2020 · 1 comment · Fixed by #6773
Labels

Comments

@ahsanz024
Copy link

ahsanz024 commented Oct 30, 2020

Feature Request

Description

Currently, if you convert your Capacitor app's MainActivity.java to MainActivity.kt doctor (cap doctor android) fails because it only supports MainActivity with .java extension.

https://github.com/ionic-team/capacitor/blob/main/cli/src/android/doctor.ts#L208

Preferred Solution

Allow both extensions [.java, .kt]

Alternatives

Additional Context

@ionitron-bot
Copy link

ionitron-bot bot commented Aug 27, 2023

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Aug 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants