TuyooSDKPackage/Packages/com.bywaystudios.tuyoosdk/Editor/Android/sdkConfigs/Application.txt
2026-01-22 17:36:25 +08:00

24 lines
670 B
Plaintext

package com.tuyoo.sdk;
import android.content.Context;
import com.tuyoo.sdk.sdk_inter_layer_unity.UnityInterface;
import com.appsflyer.adrevenue.AppsFlyerAdRevenue;
public class Application extends ${0} {
@Override
public void onCreate() {
super.onCreate();
UnityInterface.onApplicationCreate(this);
AppsFlyerAdRevenue.Builder afRevenueBuilder = new AppsFlyerAdRevenue.Builder(this);
AppsFlyerAdRevenue.initialize(afRevenueBuilder.build());
}
@Override
protected void attachBaseContext(Context base) {
super.attachBaseContext(base);
UnityInterface.onAttachBaseContext(this, base);
}
}