hch
2023-12-11 7df1cbcf31b128bdc6785cee6899e64ba879f241
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);
    }
}