fix:1、添加sdk。2、添加h5

This commit is contained in:
2026-06-25 15:48:45 +08:00
parent c05a65cdc3
commit 86518aae41
1212 changed files with 71385 additions and 194 deletions
@@ -0,0 +1,12 @@
#import <Foundation/Foundation.h>
extern "C" {
__attribute__((visibility("default")))
const char* _GetDeviceCountryCode() {
@autoreleasepool {
NSLocale *currentLocale = [NSLocale currentLocale];
NSString *countryCode = [currentLocale objectForKey:NSLocaleCountryCode];
return strdup([countryCode UTF8String]); // 使用strdup确保内存安全
}
}
}