Add compatibility matrix
Gethin James
Can you provide a table showing what modules are compatible with which version? e.g. @react-native-firebase/message 7.1.8 says its not compatible with @react-native-firebase/app 7.2.1. In NPM it doesn't depend on firebase/app so its unclear how to find a combination of modules that work together. We would also need the versions of any native packages that are also required to be installed. Perhaps you have a working demo app which could show all the versions of the features working together?
Mike Diarmid
Hey, the version of
@react-native-firebase/app
that is required should be listed in the peerDependencies section of the package.json for @react-native-firebase/message
- generally if want to update a package to the latest version you should also update app
as well to the latest version (the latest versions of each package are always compatible with each other).We also have a RN app inside the main repository that has all the packages and their latest compat versions in dependencies, inside
tests/package.json
- I would link it but GitHub is currently down.Gethin James
Mike Diarmid: Ah, I was looking at the dependencies on https://www.npmjs.com/package/@react-native-firebase/messaging and not finding them. I see now we can manually check the peer dependencies for each module. The issue I had was we installed @react-native-firebase/app 10 days ago then tried to install firebase/message today and they don't work together.
Gethin James
I will check out the tests/package.json when Github is back up! What about com.google.gms:google-services:4.3.3 or 'io.fabric.tools:gradle:1.28.1' are they compatible across versions?