2021-01-29

// HMS SDK V5 gradle 插件配置  
apply plugin: 'com.huawei.agconnect'       
  
android{  
    defaultConfig {  
        ...  
        //minSdkVersion必须大于17  
        minSdkVersion 17  
        ...  
        manifestPlaceholders = [  
                PACKAGE_NAME: "com.ztesoft.gangweizhushou",//包名  
                //华为推送配置  
                EMM_HUAWEI_APP_ID: "102887697",  
  
                //小米推送配置(注:PUSH_打头)  
                EMM_XIAOMI_APP_ID:"PUSH_2882303761518686460",  
                EMM_XIAOMI_APP_KEY:"PUSH_5691868672460",  
        ]  
          
    }  
}  

你可能感兴趣的:(2021-01-29)