Commit e3a0f01334589c2520f9b57c00868f33035cb87d
1 parent
3f45a30f
feat:关闭友盟日志
Showing
2 changed files
with
2 additions
and
2 deletions
android/app/src/main/AndroidManifest.xml
@@ -25,7 +25,7 @@ | @@ -25,7 +25,7 @@ | ||
25 | <action android:name="android.intent.action.MAIN"/> | 25 | <action android:name="android.intent.action.MAIN"/> |
26 | <category android:name="android.intent.category.LAUNCHER"/> | 26 | <category android:name="android.intent.category.LAUNCHER"/> |
27 | <!-- 友盟apm集成测试用 --> | 27 | <!-- 友盟apm集成测试用 --> |
28 | - <data android:scheme="um.663b66b0b3362515012f4ea5" /> | 28 | +<!-- <data android:scheme="um.663b66b0b3362515012f4ea5" />--> |
29 | </intent-filter> | 29 | </intent-filter> |
30 | </activity> | 30 | </activity> |
31 | <!-- Don't delete the meta-data below. | 31 | <!-- Don't delete the meta-data below. |
android/app/src/main/kotlin/com/kouyuxingqiu/wow_english/MainActivity.kt
@@ -76,7 +76,7 @@ class MainActivity : FlutterActivity() { | @@ -76,7 +76,7 @@ class MainActivity : FlutterActivity() { | ||
76 | putBoolean(UMCrash.KEY_ENABLE_POWER, false) | 76 | putBoolean(UMCrash.KEY_ENABLE_POWER, false) |
77 | }) | 77 | }) |
78 | //UM日志打印 | 78 | //UM日志打印 |
79 | - UMConfigure.setLogEnabled(true) | 79 | + UMConfigure.setLogEnabled(false) |
80 | UMConfigure.preInit(this, "663b66b0b3362515012f4ea5", "official") | 80 | UMConfigure.preInit(this, "663b66b0b3362515012f4ea5", "official") |
81 | } | 81 | } |
82 | } | 82 | } |