You could potentially fix this by updating the version in withIntercom.ts to 33, but to be honest I don't think it's really right for a plugin like this to be setting exact values for critical build settings which affect the entire project.
I'd suggest removing this package's use of expo-build-properties, and just leaving it as a documented requirement
Hi,
In #49, the readme was updated to tell people to set
compileSdkVersion
andtargetSdkVersion
to 33 or higher.But this package/plugin already has that functionality built in! Except it's setting the value to 31.
https://github.com/cmaycumber/config-plugin-react-native-intercom/blob/993f0069e3e12b861706f879a49afe829b556fa6/packages/intercom-react-native/src/withIntercom.ts#L75-L77
In the app.json plugins array, it seems that precedence goes to the earlier items in the array.
So this works (builds with v33):
But in the other order, it doesn't work (actually builds with v31):
You could potentially fix this by updating the version in
withIntercom.ts
to 33, but to be honest I don't think it's really right for a plugin like this to be setting exact values for critical build settings which affect the entire project.I'd suggest removing this package's use of expo-build-properties, and just leaving it as a documented requirement