GitHub user breautek added a comment to the discussion: Cordova Plugin File doesn't work on Android 13
It does seem their plugin is missing that dependency declaration. But that's not how you import dependencies for your project. There's another `build.gradle` file inside `app/` directory that should have a `dependencies` block and `implementation "androidx.documentfile:documentfile:1.0.1"` will need to be added. The easiest way to do this is to fork their plugin (and perhaps make a PR) and add the following in their `plugin.xml` `android` platform block. ```xml <framework src="androidx.documentfile:documentfile:1.0.1" /> ``` Cordova will then add in the dependency to the project on plugin install. GitHub link: https://github.com/apache/cordova/discussions/424#discussioncomment-6441484 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
