| | |
| | | handleSSLHandshake() |
| | | //如果是主进程 |
| | | XUI.init(this) |
| | | registerActivityLifecycleCallbacks(this) |
| | | // CrashReport.initCrashReport(getApplicationContext(), "444bb776ed", false); |
| | | LogUtils.OpenLog(true) |
| | | initUpPoint() |
| | | initSocket() |
| | | } |
| | | |
| | | /** |
| | | * 延迟初始化,在用户同意隐私协议后进行 |
| | | */ |
| | | fun initSdk(){ |
| | | UMConfigure.init( |
| | | this, |
| | | "640ae80cba6a5259c41ab641", |
| | |
| | | UMConfigure.DEVICE_TYPE_PHONE, |
| | | "" |
| | | ) |
| | | registerActivityLifecycleCallbacks(this) |
| | | PlatformConfig.setWeixin("wx19a713b4943f9568", "5d4ca951a855b1e2c86a844cd42fd133") |
| | | PlatformConfig.setQQZone("1112151767", "5viZ7mQkNkYtUr7b") //qq互联 |
| | | // CrashReport.initCrashReport(getApplicationContext(), "444bb776ed", false); |
| | | LogUtils.OpenLog(true) |
| | | initUpPoint() |
| | | initSocket() |
| | | JPushInterface.setDebugMode(true) |
| | | JPushInterface.init(this) |
| | | setAlisa() |
| | |
| | | showNum-- |
| | | Handler(Looper.getMainLooper()).postDelayed({ |
| | | if (showNum == 0) { |
| | | getTTsManager().setVideoText("福伴出行司机已置于后台,可能会导致听单异常,里程计费差异,请勿切换。") |
| | | getTTsManager().setVideoText("福伴司机已置于后台,可能会导致听单异常,里程计费差异,请勿切换。") |
| | | } |
| | | }, 600) |
| | | |