parent
8f724ea5bd
commit
d94193f721
|
|
@ -14,7 +14,7 @@ plugins {
|
|||
dependencies {
|
||||
implementation(fileTree(mapOf("dir" to "src/main/libs", "include" to listOf("*.aar"))))
|
||||
implementation("androidx.swiperefreshlayout:swiperefreshlayout:1.1.0")
|
||||
implementation(files("src\\main\\libs\\Baidu_ocpc_action_2_7_2.aar"))
|
||||
// implementation(files("src\\main\\libs\\Baidu_ocpc_action_2_7_2.aar"))
|
||||
// implementation(files("src\\main\\libs\\OpenInstall.jar"))
|
||||
// implementation("com.google.firebase:firebase-crashlytics-buildtools:3.0.2")
|
||||
// implementation(files("src/main/libs/openinstall.jar"))
|
||||
|
|
|
|||
|
|
@ -44,15 +44,6 @@
|
|||
<meta-data
|
||||
android:name="releaseCode"
|
||||
android:value="@integer/release_code" />
|
||||
|
||||
<!-- <meta-data-->
|
||||
<!-- android:name="com.openinstall.APP_KEY"-->
|
||||
<!-- android:value="ltbqy7"/>-->
|
||||
<!--<!– 使用广告推广–>-->
|
||||
<!-- <meta-data-->
|
||||
<!-- android:name="com.openinstall.AD_TRACK"-->
|
||||
<!-- android:value="true"/>-->
|
||||
|
||||
<activity
|
||||
android:name=".act.SplashActivity"
|
||||
android:exported="true"
|
||||
|
|
@ -68,14 +59,6 @@
|
|||
<intent-filter>
|
||||
<action android:name="android.service.quicksettings.action.QS_TILE_PREFERENCES" />
|
||||
</intent-filter>
|
||||
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW"/>
|
||||
<category android:name="android.intent.category.DEFAULT"/>
|
||||
<category android:name="android.intent.category.BROWSABLE"/>
|
||||
<data android:scheme="ltbqy7"/>
|
||||
</intent-filter>
|
||||
|
||||
</activity>
|
||||
<activity
|
||||
android:name=".act.AgreementAndPrivacyActivity"
|
||||
|
|
@ -103,10 +86,6 @@
|
|||
android:name=".act.LoginActivity"
|
||||
android:process=":background"
|
||||
android:screenOrientation="portrait" />
|
||||
<activity
|
||||
android:name=".webview.BZYWebViewActivity"
|
||||
android:process=":background"
|
||||
android:screenOrientation="portrait" />
|
||||
|
||||
<activity
|
||||
android:name=".act.ShareActivity"
|
||||
|
|
@ -116,28 +95,11 @@
|
|||
android:name=".act.BandPhoneActivity"
|
||||
android:screenOrientation="portrait" />
|
||||
|
||||
<activity
|
||||
android:name=".webview.BZYWebViewOther"
|
||||
android:process=":background"
|
||||
android:screenOrientation="portrait" />
|
||||
<activity
|
||||
android:name=".webview.BZYWebViewOtherBiLai"
|
||||
android:process=":background"
|
||||
android:screenOrientation="portrait" />
|
||||
<activity
|
||||
android:name=".webview.BZYWebViewKeFu"
|
||||
android:process=":background"
|
||||
android:screenOrientation="portrait" />
|
||||
<activity
|
||||
android:name=".webview.CustomerServiceWebView"
|
||||
android:process=":background"
|
||||
android:screenOrientation="portrait"
|
||||
/>
|
||||
<activity
|
||||
android:name=".webview.BZYWebViewNormal"
|
||||
android:hardwareAccelerated="true"
|
||||
android:process=":background"
|
||||
android:screenOrientation="portrait" />
|
||||
<activity
|
||||
android:name=".act.SettingActivity"
|
||||
android:process=":background"
|
||||
|
|
|
|||
|
|
@ -11,8 +11,6 @@ import android.widget.Toast
|
|||
import androidx.appcompat.widget.AppCompatImageView
|
||||
import androidx.lifecycle.ViewModelProvider
|
||||
import androidx.lifecycle.observe
|
||||
import com.baidu.mobads.action.ActionType
|
||||
import com.baidu.mobads.action.BaiduAction
|
||||
import com.yingmao.clash.view.dialog.RxDialogShapeLoading
|
||||
|
||||
import com.tencent.mmkv.MMKV
|
||||
|
|
@ -148,7 +146,7 @@ class BandPhoneActivity : BaseActivity() {
|
|||
MMKV.defaultMMKV().removeValueForKey(BZYConstants.MMKV_KEY_TOKEN)
|
||||
MMKV.defaultMMKV().removeValueForKey(BZYConstants.MMKV_KEY_CURRENT_NODE)
|
||||
//百度埋点完成注册
|
||||
BaiduAction.logAction(ActionType.REGISTER)
|
||||
// BaiduAction.logAction(ActionType.REGISTER)
|
||||
val intent=Intent(CommonUtils.getApp(), LoginActivity::class.java)
|
||||
intent.putExtra(BZYConstants.EXTRA_Bind_Account,phoneNumber)
|
||||
startActivity(intent)
|
||||
|
|
|
|||
|
|
@ -32,8 +32,6 @@ import androidx.viewpager2.widget.ViewPager2
|
|||
import com.afollestad.materialdialogs.MaterialDialog
|
||||
import com.afollestad.materialdialogs.customview.customView
|
||||
import com.afollestad.materialdialogs.customview.getCustomView
|
||||
import com.baidu.mobads.action.ActionType
|
||||
import com.baidu.mobads.action.BaiduAction
|
||||
import com.cncat.vpn.common.log.Log
|
||||
import com.cncat.vpn.core.model.LogMessage
|
||||
import com.cncat.vpn.service.ClashManager
|
||||
|
|
@ -717,7 +715,7 @@ class NewMainActivity : BaseActivity() {
|
|||
if(it.code==200){
|
||||
//上报百度支付功能
|
||||
android.util.Log.i("reqType:","data:::"+it.code)
|
||||
BaiduAction.logAction(ActionType.PURCHASE)
|
||||
// BaiduAction.logAction(ActionType.PURCHASE)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,8 +21,6 @@ import androidx.core.content.FileProvider
|
|||
import androidx.lifecycle.ViewModelProvider
|
||||
import androidx.lifecycle.lifecycleScope
|
||||
import com.afollestad.materialdialogs.MaterialDialog
|
||||
import com.baidu.mobads.action.BaiduAction
|
||||
import com.baidu.mobads.action.PrivacyStatus
|
||||
import com.cncat.vpn.service.ClashManager
|
||||
import com.cncat.vpn.service.remote.IClashManager
|
||||
import com.cncat.vpn.service.remote.wrap
|
||||
|
|
@ -136,14 +134,14 @@ class SplashActivity : BaseActivity() {
|
|||
if (DeviceID.supportedOAID(this)){
|
||||
val aynOAID = DeviceIdentifier.getOAID(this)
|
||||
OAID=aynOAID
|
||||
BaiduAction.setOaid(aynOAID)
|
||||
//设置同意隐私政策激活设备
|
||||
BaiduAction.setPrivacyStatus(PrivacyStatus.AGREE)
|
||||
// BaiduAction.setOaid(aynOAID)
|
||||
// //设置同意隐私政策激活设备
|
||||
// BaiduAction.setPrivacyStatus(PrivacyStatus.AGREE)
|
||||
}
|
||||
}else{
|
||||
BaiduAction.setOaid(oaId)
|
||||
//设置同意隐私政策激活设备
|
||||
BaiduAction.setPrivacyStatus(PrivacyStatus.AGREE)
|
||||
// BaiduAction.setOaid(oaId)
|
||||
// //设置同意隐私政策激活设备
|
||||
// BaiduAction.setPrivacyStatus(PrivacyStatus.AGREE)
|
||||
}
|
||||
setLocalLanguage()
|
||||
val clashBinder = MainApplication.getApp()?.let {
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@ import android.content.res.Configuration
|
|||
import android.os.Build
|
||||
import androidx.annotation.RequiresApi
|
||||
import androidx.core.content.getSystemService
|
||||
import com.baidu.mobads.action.BaiduAction
|
||||
import com.cncat.vpn.common.Global
|
||||
import com.cncat.vpn.common.compat.currentProcessName
|
||||
import com.cncat.vpn.common.log.Log
|
||||
|
|
@ -134,12 +133,12 @@ class MainApplication : Application() {
|
|||
val keepRootDir = MMKV.initialize(mApp)
|
||||
Logger.i("MMKV_ROOT_DIR:$keepRootDir")
|
||||
// 是否在控制台输出⽇志,可⽤于观察⽤⼾⾏为⽇志上报情况,建议仅在调试时使⽤,release版 请设置为false !
|
||||
BaiduAction.setPrintLog(false)
|
||||
// 是否允许通过应用商店获取referrer信息,仅支持华为、小米;默认true
|
||||
BaiduAction.enableMarketReferrer(true)
|
||||
BaiduAction.init(this, Constants.USER_ACTION_SET_ID, Constants.APP_SECRET_KEY)
|
||||
// 设置应用激活的间隔,此方法在初始化成功后才有意义,建议在初始化后执行,具体执行的时机没有限制
|
||||
BaiduAction.setActivateInterval(this, 7)
|
||||
// BaiduAction.setPrintLog(false)
|
||||
// // 是否允许通过应用商店获取referrer信息,仅支持华为、小米;默认true
|
||||
// BaiduAction.enableMarketReferrer(true)
|
||||
// BaiduAction.init(this, Constants.USER_ACTION_SET_ID, Constants.APP_SECRET_KEY)
|
||||
// // 设置应用激活的间隔,此方法在初始化成功后才有意义,建议在初始化后执行,具体执行的时机没有限制
|
||||
// BaiduAction.setActivateInterval(this, 7)
|
||||
|
||||
}
|
||||
private fun extractGeoFiles() {
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -93,7 +93,7 @@ subprojects {
|
|||
}
|
||||
productFlavors {
|
||||
flavorDimensions("feature")
|
||||
create("0001") {
|
||||
create("3333") {
|
||||
isDefault = true
|
||||
dimension = flavorDimensionList[0]
|
||||
buildConfigField("boolean", "PREMIUM", "Boolean.parseBoolean(\"false\")")
|
||||
|
|
@ -101,7 +101,7 @@ subprojects {
|
|||
buildConfigField("boolean", "is_back_cn", "false")
|
||||
buildConfigField("String", "applicationId", "\"com.jsq.wufu\"")
|
||||
buildConfigField("String", "service_url", "\"https://api.yijianlianjsq.com/\"")
|
||||
buildConfigField("String", "productId", "\"0001\"")
|
||||
buildConfigField("String", "productId", "\"3333\"")
|
||||
manifestPlaceholders(
|
||||
mapOf(
|
||||
"APP_NAME" to "@string/wf",
|
||||
|
|
@ -112,7 +112,7 @@ subprojects {
|
|||
|
||||
}
|
||||
sourceSets {
|
||||
getByName("0001") {
|
||||
getByName("3333") {
|
||||
java.srcDirs("src/foss/java")
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue