I want to add applicationIdSuffix for staging buil...
# android
r
I want to add applicationIdSuffix for staging buildtype like this
Copy code
staging {
    applicationIdSuffix ".staging"
}
but I am getting this error
Caused by: org.gradle.api.GradleException: No matching client found for package name
I can fix this by creating seperate sourceSets and put seperate google_services.json files in them. Now I don't want to create seperate sourceSets for staging and prod build types. Can anyone suggest me a solution to this?
😶 5
d
Now I don’t want to create seperate sourceSets for staging and prod build types.
Not sure why you don’t want to create separate source sets, you’d still have a main source set for common files.