소스 검색

修改atmobTgPlatform传成atmobAppId的bug

云天逵 11 달 전
부모
커밋
567ae8b454
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      android/src/main/java/com/atmob/flutter_ad/config/FlutterAtmobAdConfig.java

+ 1 - 1
android/src/main/java/com/atmob/flutter_ad/config/FlutterAtmobAdConfig.java

@@ -63,7 +63,7 @@ public class FlutterAtmobAdConfig {
             }
             String atmobChanel = FlutterParamsUtils.getString(params, "atmobChanel");
             int atmobAppId = FlutterParamsUtils.getInt(params, "atmobAppId", 0);
-            int atmobTgPlatform = FlutterParamsUtils.getInt(params, "atmobAppId", 0);
+            int atmobTgPlatform = FlutterParamsUtils.getInt(params, "atmobTgPlatform", 0);
             boolean debug = FlutterParamsUtils.getBoolean(params, "debug", false);
 
             AtmobCentral.init(applicationContext, new AtmobCentralConfig.Builder()