feat: add support to allow MainActivity
as a Kotlin file (instead of just Java)
#3749
Labels
MainActivity
as a Kotlin file (instead of just Java)
#3749
Feature Request
Description
Currently, if you convert your Capacitor app's
MainActivity.java
toMainActivity.kt
doctor (cap doctor android
) fails because it only supportsMainActivity
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
The text was updated successfully, but these errors were encountered: