|
@@ -40,6 +40,7 @@ import com.scwang.smart.refresh.layout.listener.DefaultRefreshFooterCreator;
|
|
|
import com.scwang.smart.refresh.layout.listener.DefaultRefreshHeaderCreator;
|
|
|
import com.tencent.bugly.crashreport.CrashReport;
|
|
|
import com.rong.io.live.helper.LiveRTCEngineInitHelper;
|
|
|
+import com.tencent.tauth.Tencent;
|
|
|
import com.umeng.commonsdk.UMConfigure;
|
|
|
import com.umeng.socialize.PlatformConfig;
|
|
|
import com.uuzuche.lib_zxing.activity.ZXingLibrary;
|
|
@@ -115,6 +116,8 @@ public class App extends BaseApplication {
|
|
|
private void initUmeng() {
|
|
|
if (UserHelper.isAgreePrivacy()) {
|
|
|
UMConfigure.init(this, "62a8394605844627b5b0554b", "app", UMConfigure.DEVICE_TYPE_PHONE, null);
|
|
|
+ //QQ官方sdk授权
|
|
|
+ Tencent.setIsPermissionGranted(true);
|
|
|
String FileProvider = "com.cooleshow.teacher.fileprovider";
|
|
|
PlatformConfig.setWeixin("wx149a928c415c137a", "d3f119b577ccacb262da153f4210174f");
|
|
|
PlatformConfig.setWXFileProvider(FileProvider);
|