hch
2023-04-18 26bd13f6e66f07161e3670b4c14d7f1dd359d62f
SdkProject/plugins/appsflyer/java/com/secondworld/sdk/AppsFlyerUtil.java
@@ -41,15 +41,15 @@
            }
        };
        AppsFlyerLib.getInstance().init(AF_DEV_KEY, conversionListener, GameApp.I);
        AppsFlyerLib.getInstance().startTracking(GameApp.I);
        AppsFlyerLib.getInstance().init(AF_DEV_KEY, conversionListener, GameAppProxy.app);
        AppsFlyerLib.getInstance().startTracking(GameAppProxy.app);
    }
    //统计事件
    public static void trackEvent(String eventName, Map<String, Object> eventValues) {
        if (eventValues == null)
            eventValues = new HashMap<>();
        AppsFlyerLib.getInstance().trackEvent(GameApp.I, eventName, eventValues);
        AppsFlyerLib.getInstance().trackEvent(GameAppProxy.app, eventName, eventValues);
    }
}