We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c17154 commit 24b1d31Copy full SHA for 24b1d31
VideoPlsLuaViewManagerSDK/VideoPlsLuaViewManagerSDK/VideoPlsLuaViewManagerSDK/VPLua/Manager/VPLuaSDK.m
@@ -13,6 +13,7 @@
13
#import "VPUPSDKInfo.h"
14
#import "VPUPGeneralInfo.h"
15
#import "VPLuaCommonInfo.h"
16
+#import <AdSupport/AdSupport.h>
17
18
//NSString *const VPLuaScriptServerUrl = @"http://dev-videopublicapi.videojj.com/videoos-api/api/fileVersion";
19
NSString *const VPLuaServerHost = @"https://os-saas.videojj.com/os-api-saas";
@@ -42,6 +43,9 @@ + (instancetype)sharedSDK {
42
43
}
44
45
+ (void)initSDK {
46
+ if (![VPUPGeneralInfo IDFA]) {
47
+ [VPLuaSDK setIDFA:[[[ASIdentifierManager sharedManager] advertisingIdentifier] UUIDString]];
48
+ }
49
[VPLuaSDK checkLuaFiles];
50
[[VPLuaSDK sharedSDK] luaScriptManager];
51
0 commit comments