-
Notifications
You must be signed in to change notification settings - Fork 1k
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: cordova-plugin-intercom 10.2.0 fails to compile for Android with Capacitor 3 #5108
Comments
This issue may need more information before it can be addressed. In particular, it will need a reliable Code Reproduction that demonstrates the issue. Please see the Contributing Guide for how to create a Code Reproduction. Thanks! |
Code reproduction added to original post, also here: |
Last time you reported a cordova-plugin-intercom issue, I tried it in a Cordova app and didn't work there neither. That being said, you can workaround your current issue by removing line 8 of build-extras-intercom.gradle ( |
@jcesarmobile, I was actually able to build successfully with your suggested modification. I'll see if I can get further with Intercom (my client is a paying customer) to initiate an official fix. Thank you, I really appreciate your investigation and response! |
glad it worked BTW, there is a community intercom plugin for Capacitor |
My fix: #2511 (comment) |
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. |
Bug Report
Please note that while the steps to reproduce are identical to closed issue #5019, the fix implemented in #5019 does not actually result in a successful build, it just reveals a different error.
Capacitor Version
Platform(s)
Android
Current Behavior
A blank Ionic project compiles correctly, until cordova-plugin-intercom is added. Then the build in Android Studio fails with error message noted below.
Steps to reproduce:
Create a new Ionic project with
ionic start
, using the 'blank' app template.Add the android platform:
ionic cap add android
.Sync,
ionic cap sync
, openionic cap open android
, and build in Android Studio, it is successful.Now, install cordova-plugin-intercom, per https://ionicframework.com/docs/native/intercom.
Now in Android Studio, the build fails:
Expected Behavior
I expect a successful build.
Granted, this is almost certainly an issue with cordova-plugin-intercom, but this page suggests letting you know when a cordova plugin is incompatible... so you're welcome? 😉
Code Reproduction
https://github.com/abesiemsen/cordova-plugin-intercom-fails
Other Technical Details
npm --version
output: 6.14.15node --version
output: v14.18.0ionic info
output:The text was updated successfully, but these errors were encountered: