breautek commented on issue #841: URL: https://github.com/apache/cordova-android/issues/841#issuecomment-672200024
> Adding the Gradle Dependency based on this Flag is easy, but what about the Changes in the Classes? My first idea was to duplicate them and use the correct one in the prepare script, but then the test failed of course, because the duplicated classes can't be parsed at this stage when the dependency is missing... Was literally just talking about support issue between dual support for androidx and non androidx support libraries.... lol. I'm not sure on the best path forward tbh. It sounds like the class might need to be templated, and copied based on the preference flag. I'm not sure how far that will work though, that assumes the API between the two versions are going to be the same, which is probably a bad assumption to make. Perhaps we may need two versions of a class, and configuration to include one version or the other based on the preference flag, controlled by java src directories directory in gradle. You can try using the dev mailing list to try to gather input on how to proceed. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
