GooglePlayServicesComponents
GooglePlayServicesComponents copied to clipboard
Xamarin.Firebase.Database v120.0.0 incompatible with Xamarin.Android 11.2.2.1
Xamarin.Android Version (eg: 6.0):
11.2.2.1
Operating System & Version (eg: Mac OSX 10.11):
MacOS Big Sur 11.3.1
Describe your Issue
Using version 119.7.0 of Xamarin.Firebase.Database
works. When upgrading to v120.0.0
, I am presented with the error:
Error XBD020: Invalid item ID firebaseappcheckinterop-16.0.0-beta0
I am yet to try the latest update for Xamarin.Android (v11.3.0.4) to which I assume v120.0.0
will work but I thought i'd raise an issue as the upgrade to v120.0.0
happened automatically for me with the installation of other packages. The plugin may need it's minimum compatibility updated to ensure it doesn't auto-install and break other peoples applications
Steps to Reproduce (with link to sample solution if possible):
- Create new multi-platform project
- Add
Xamarin.Firebase.Database
to Xamarin.Android project - Add
Xamarin.Firebase.iOS.Database
to Xamarin.iOS project (highly doubt this is needed to reproduce) - Build project for Xamarin.Android
We're seeing this also, not with Database but with other Firebase libraries. Any workaround?
Currently I've just left it on the previous version. No workaround as of yet. I haven't yet tested this upgrade with the latest version of Xamarin forms but I will tonight and get back to you
I updated to the latest Xamarin Android (11 S I think) and still had the same issue. Interestingly, our project, using slightly older Firebase packages builds fine for me but a colleague has just re-installed is Mac laptop and same version of VS Mac (so everything should be package controlled) won't build due to this error so we're trying to work out what is different between the 2 machines.
There are 2 problems here:
- google stable artifacts depedning on preview package[s] you will have to ask google why do they do stuff like that... see: https://github.com/xamarin/GooglePlayServicesComponents/pull/473#issuecomment-856701358 We had huge discussion what to do in such cases and decision was made to make all Nugets that depend on preview - preview Nugets. Now I have to do tooling for dependency checks (transitive dependencies and "used-by") and a lot of stuff is and will be blocked for some time. See: https://github.com/xamarin/GooglePlayServicesComponents/pull/493
- Xamarin.Build.Download not handling preview SemVers. When XBD was developed there were no plans to support preview bindings.
Same issue here. @moljac Thanks for specifying the reason for this.
see
https://stackoverflow.com/questions/68723859/ml-kit-stable-artifacts-depending-on-preview-package-com-google-android-odml-im