weex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acton...@apache.org
Subject incubator-weex git commit: * [ios] add osName for the environment
Date Mon, 03 Jul 2017 03:12:28 GMT
Repository: incubator-weex
Updated Branches:
  refs/heads/0.15-dev 37191366a -> fd2a7741a


* [ios] add osName for the environment


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/fd2a7741
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/fd2a7741
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/fd2a7741

Branch: refs/heads/0.15-dev
Commit: fd2a7741a492b24b3971501f6847b889da204d94
Parents: 3719136
Author: acton393 <zhangxing610321@gmail.com>
Authored: Mon Jul 3 11:12:36 2017 +0800
Committer: acton393 <zhangxing610321@gmail.com>
Committed: Mon Jul 3 11:12:36 2017 +0800

----------------------------------------------------------------------
 ios/sdk/WeexSDK/Sources/Utility/WXUtility.m | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/fd2a7741/ios/sdk/WeexSDK/Sources/Utility/WXUtility.m
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Utility/WXUtility.m b/ios/sdk/WeexSDK/Sources/Utility/WXUtility.m
index fed8f0a..030ffc8 100644
--- a/ios/sdk/WeexSDK/Sources/Utility/WXUtility.m
+++ b/ios/sdk/WeexSDK/Sources/Utility/WXUtility.m
@@ -170,6 +170,7 @@ CGFloat WXFloorPixelValue(CGFloat value)
     
     NSMutableDictionary *data = [NSMutableDictionary dictionaryWithDictionary:@{
                                     @"platform":platform,
+                                    @"osName":platform,//osName is eaqual to platorm name
in native
                                     @"osVersion":sysVersion,
                                     @"weexVersion":weexVersion,
                                     @"deviceModel":machine,


Mime
View raw message