Open colonelpopcorn opened 2 weeks ago
I found this issue in M$oft's MSAL library here, and so I tried to exclude and re-include MSAL within the app build.gradle file. That didn't work (same error saying unable to resolve), and now I'm at a loss and wondering what can be done to resolve this issue. Here's how I've been trying to exclude the transitive dependency on MSAL:
implementation(project(':capacitor-cordova-android-plugins')) {
exclude(group: 'com.microsoft.identity.client', module: 'msal')
}
implementation "com.microsoft.identity.client:msal:5.3.0"
I was able to get this error resolved by bumping com.microsoft.identity.client:msal
to 5.3.0
instead of 4.9.0
. I can't confirm that this won't break anything for other users, but I experienced no issues. Is there any reason this version can't be changed upstream in this project? If there is concern about making the change do you have any suggestions for moving forward with this fix on our side? I'd prefer not to maintain a fork, even for a short length of time.
For those that need assistance with this issue you can use PR #43 as a patch with the patch-package
npm package.
I'm getting a build error from the default
capacitor.build.gradle
script generated bynpx cap sync
. The build warns (Failed to resolve: io.opentelemetry:opentelemetry-bom:1.18.0) when I try to run Gradle sync with the generated plugins project, and errors when I try to build the app project. See this stack trace for the error:Android Studio Version: Iguana | 2023.2.1 Java Version: corretto 17.0.10-amzn Gradle Version: 8.6