diff --git a/app/build.gradle b/app/build.gradle index 5ea0cf0b40..60445e9201 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -409,8 +409,9 @@ dependencies { } internalImplementation(project(':module_internal_test')) - // 根据BUILD_PUSH_TYPE决定使用哪个推送SDK,目前默认使用阿里云推送 - def pushProject = findProperty('BUILD_PUSH_TYPE') == 'jg' + def pushProperty = findProperty('BUILD_PUSH_TYPE') + // 根据BUILD_PUSH_TYPE决定使用哪个推送SDK,目前默认使用极光推送 + def pushProject = (pushProperty == null || pushProperty == 'jg') ? project(':feature:jg_push') : project(':feature:acloud_push') implementation(pushProject) { exclude group: 'androidx.swiperefreshlayout' diff --git a/feature/jg_push/src/main/AndroidManifest.xml b/feature/jg_push/src/main/AndroidManifest.xml index 854922f114..7b323363bb 100644 --- a/feature/jg_push/src/main/AndroidManifest.xml +++ b/feature/jg_push/src/main/AndroidManifest.xml @@ -32,6 +32,12 @@ + + \ No newline at end of file