1. implement SDK as usual
- add maven dependency for
adtrace-android-oaid
- add
oaid_sdk
as a localaar
to your project (libs
folder inapp
)
...
import io.adtrace.sdk.oaid.AdTraceOaid;
import io.flutter.embedding.android.FlutterActivity;
public class MainActivity extends FlutterActivity {
@Override
protected void onCreate(@Nullable Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
AdTraceOaid.readOaid(this);
}
}