@aks-dev/easyui 1.0.111 → 1.0.113

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -38,6 +38,17 @@ RCT_EXPORT_METHOD(getAppVersion:(RCTPromiseResolveBlock)resolve
38
38
  }
39
39
 
40
40
 
41
+
42
+ RCT_EXPORT_METHOD(getOSVersion:(RCTPromiseResolveBlock)resolve
43
+ reject:(RCTPromiseRejectBlock)reject){
44
+ UIDevice *device = [UIDevice currentDevice];
45
+ NSString *systemVersion = [NSString stringWithFormat:@"%@ %@",device.systemName,device.systemVersion];
46
+ resolve(systemVersion);
47
+ }
48
+
49
+
50
+
51
+
41
52
  RCT_EXPORT_METHOD(upgrade:(NSDictionary *)info
42
53
  resolve:(RCTPromiseResolveBlock)resolve
43
54
  reject:(RCTPromiseRejectBlock)reject){//checkCode, desc
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aks-dev/easyui",
3
- "version": "1.0.111",
3
+ "version": "1.0.113",
4
4
  "description": "工具箱",
5
5
  "main": "./src/index.ts",
6
6
  "typings": "./src/index.d.ts",