I want to use 2 productFlavors for my Android App: live and staging.
productFlavors
live
staging
In app/build.grandle I defined them like this: <
app/build.grandle
I had the same issue and I solve by adding the appIdSuffix to the react-native run command.
appIdSuffix
react-native
react-native run-android --variant variantDebug --appIdSuffix suffix