update tuyoosdk, set DNS IPs

This commit is contained in:
2026-06-03 15:57:50 +08:00
parent 92d04aba61
commit c9fe482c8c
3 changed files with 15 additions and 0 deletions

View File

@@ -12,6 +12,7 @@ public class TYApp extends Application {
public void onCreate() {
super.onCreate();
SDKAPI.getIns().onApplicationCreate(this);
SDKManager.SetDNSIPsEnable(true);
}
@Override
@@ -19,4 +20,5 @@ public class TYApp extends Application {
super.attachBaseContext(base);
SDKAPI.getIns().onAttachBaseContext(base, this);
}
}