I have an android app , that i need to deploy for both Google play and App gallery
and it contains Ads and IAP , the problem is that
1- What is the correct way to handle the ads/purchase ?
if hmsAvailable() {
// use Huawei ads/iap
} else {
// use Google ads/iap
}
2- I need the same code base ,so Would it cause a problem to have both GMS and HMS inside Gradle.build ?
3- It seems that Huawei is about to prevent GMS installation on it's devices , so if a user has paid the premium IAP with a google account , would this means he can't restore it when GMS is blocked on Huawei ?