24 lines
670 B
Plaintext
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);
|
|
}
|
|
} |