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

bug: Android Cordova Plugins Module Kotlin Support #4426

Closed
EinfachHans opened this issue Apr 3, 2021 · 2 comments
Closed

bug: Android Cordova Plugins Module Kotlin Support #4426

EinfachHans opened this issue Apr 3, 2021 · 2 comments

Comments

@EinfachHans
Copy link
Contributor

Bug Report

Capacitor Version

Installed Dependencies:

  @capacitor/cli: 3.0.0-rc.0
  @capacitor/ios: 3.0.0-rc.0
  @capacitor/android: 3.0.0-rc.0
  @capacitor/core: 3.0.0-rc.0

Platform(s)

  • Android

Current Behavior

I'm currently integrating a Cordova Plugin into my Capacitor Project. This Plugin uses a Library written in Kotlin, so i can't build my App as Kotlin is not defined in this Module.

Temp Workaround: Open Android Studio --> Tools --> Kotlin --> Configure Kotlin in Project. Then select the "capacitor-cordova-android-plugins" Module and configure. This adds three Lines in to the Module which are needed to make this work.

But after an "npx cap sync" the File is resetted.

Expected Behavior

As i want to build my App with Appflow later this Workaround is not really working for me. A Option to automatically configure Kotlin in this Module would be needed here.

Code Reproduction

If you want to try, i'm using this Plugin (my own): https://github.com/EinfachHans/cordova-plugin-advanced-imagepicker

Other Technical Details

npm --version output: 7.6.3

node --version output: v14.15.4

@jcesarmobile
Copy link
Member

Implemented on #5438

@ionitron-bot
Copy link

ionitron-bot bot commented Nov 10, 2022

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 Nov 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants