[GitHub] incubator-weex issue #1340: [WEEX-514][core][Android] Add RenderSuccess call...

2018-07-17 Thread weex-bot
Github user weex-bot commented on the issue:

https://github.com/apache/incubator-weex/pull/1340
  





  

  
  Warnings

  
  
  :warning:
  No Changelog changes!

  




  

  
  Messages

  
  
  :book:
  danger test finished.

  




  Generated by :no_entry_sign: http://github.com/danger/danger-js/;>dangerJS




---


[GitHub] incubator-weex pull request #1340: [WEEX-514][core][Android] Add RenderSucce...

2018-07-17 Thread yxping
GitHub user yxping opened a pull request:

https://github.com/apache/incubator-weex/pull/1340

[WEEX-514][core][Android] Add RenderSuccess callback



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/yxping/incubator-weex master

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-weex/pull/1340.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #1340


commit 76fead94653a24f4fad6e100b1c7b836d2ee80ee
Author: yxping 
Date:   2018-07-17T09:48:16Z

[core][Android] Add RenderSuccess callback




---


[GitHub] incubator-weex issue #1339: Correct VSYNC_FRAME for Android

2018-07-17 Thread weex-bot
Github user weex-bot commented on the issue:

https://github.com/apache/incubator-weex/pull/1339
  






  

  
  Messages

  
  
  :book:
  has no jsfm file changed.

  

  :book:
  jsfm test finished.

  




  Generated by :no_entry_sign: http://github.com/danger/danger-js/;>dangerJS




---


[GitHub] incubator-weex pull request #1339: Correct VSYNC_FRAME for Android

2018-07-17 Thread mimers
GitHub user mimers opened a pull request:

https://github.com/apache/incubator-weex/pull/1339

Correct VSYNC_FRAME for Android



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/mimers/incubator-weex fix-vsync-frame

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-weex/pull/1339.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #1339


commit 7c478ec5b508d9a1b1832e4f3c1d5e0ffb544dda
Author: 李少杰 
Date:   2018-07-17T12:08:29Z

Correct VSYNC_FRAME for Android




---


[GitHub] incubator-weex pull request #1338: [WEEX-513][iOS] Fix build issue

2018-07-17 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/incubator-weex/pull/1338


---


incubator-weex git commit: [WEEX-513][iOS] Fix build issue

2018-07-17 Thread cxfeng
Repository: incubator-weex
Updated Branches:
  refs/heads/master e3793082e -> b83b19185


[WEEX-513][iOS] Fix build issue


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

Branch: refs/heads/master
Commit: b83b19185979d9c1638ea73b47e5a6ec06de23da
Parents: e379308
Author: Xiaomin 
Authored: Tue Jul 17 18:33:33 2018 +0800
Committer: Xiaomin 
Committed: Tue Jul 17 18:33:33 2018 +0800

--
 ios/sdk/WeexSDK.xcodeproj/project.pbxproj | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/b83b1918/ios/sdk/WeexSDK.xcodeproj/project.pbxproj
--
diff --git a/ios/sdk/WeexSDK.xcodeproj/project.pbxproj 
b/ios/sdk/WeexSDK.xcodeproj/project.pbxproj
index 16258de..6b0bfb2 100644
--- a/ios/sdk/WeexSDK.xcodeproj/project.pbxproj
+++ b/ios/sdk/WeexSDK.xcodeproj/project.pbxproj
@@ -2556,14 +2556,14 @@
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
-   CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = 
YES;
+   CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = NO;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
-   CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
+   CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = NO;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
@@ -2616,14 +2616,14 @@
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
-   CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = 
YES;
+   CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = NO;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
-   CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
+   CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = NO;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;



[GitHub] incubator-weex issue #1338: [WEEX-513][iOS] Fix build issue

2018-07-17 Thread weex-bot
Github user weex-bot commented on the issue:

https://github.com/apache/incubator-weex/pull/1338
  






  

  
  Messages

  
  
  :book:
  has no jsfm file changed.

  

  :book:
  jsfm test finished.

  




  Generated by :no_entry_sign: http://github.com/danger/danger-js/;>dangerJS




---


[GitHub] incubator-weex pull request #1338: [WEEX-513][iOS] Fix build issue

2018-07-17 Thread caixiaomin
GitHub user caixiaomin opened a pull request:

https://github.com/apache/incubator-weex/pull/1338

[WEEX-513][iOS] Fix build issue



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/caixiaomin/incubator-weex ImproveSDKProj

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-weex/pull/1338.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #1338


commit b83b19185979d9c1638ea73b47e5a6ec06de23da
Author: Xiaomin 
Date:   2018-07-17T10:33:33Z

[WEEX-513][iOS] Fix build issue




---


[GitHub] incubator-weex pull request #1337: [WEEX-513][iOS] Improve WeexSDK project f...

2018-07-17 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/incubator-weex/pull/1337


---


incubator-weex git commit: [WEEX-513][iOS] Improve WeexSDK project file

2018-07-17 Thread cxfeng
Repository: incubator-weex
Updated Branches:
  refs/heads/master 07f9b43fb -> e3793082e


[WEEX-513][iOS] Improve WeexSDK project file


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

Branch: refs/heads/master
Commit: e3793082e4c1ae5044233fa47c355b6c2f141753
Parents: 07f9b43
Author: Xiaomin 
Authored: Tue Jul 17 15:29:55 2018 +0800
Committer: Xiaomin 
Committed: Tue Jul 17 18:11:14 2018 +0800

--
 ios/sdk/WeexSDK.xcodeproj/project.pbxproj   | 30 ++--
 .../xcschemes/WeexSDK-Dynamic.xcscheme  |  4 +--
 .../xcshareddata/xcschemes/WeexSDK.xcscheme |  8 ++
 .../xcschemes/WeexSDKTests.xcscheme |  4 +--
 4 files changed, 13 insertions(+), 33 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/e3793082/ios/sdk/WeexSDK.xcodeproj/project.pbxproj
--
diff --git a/ios/sdk/WeexSDK.xcodeproj/project.pbxproj 
b/ios/sdk/WeexSDK.xcodeproj/project.pbxproj
index 685cebd..16258de 100644
--- a/ios/sdk/WeexSDK.xcodeproj/project.pbxproj
+++ b/ios/sdk/WeexSDK.xcodeproj/project.pbxproj
@@ -290,7 +290,6 @@
841CD1051F974DFA0081196D /* WXExceptionUtils.h in Headers */ = 
{isa = PBXBuildFile; fileRef = 841CD1041F97399C0081196D /* WXExceptionUtils.h 
*/; settings = {ATTRIBUTES = (Public, ); }; };
841CD1061F974DFA0081196D /* WXExceptionUtils.h in Headers */ = 
{isa = PBXBuildFile; fileRef = 841CD1041F97399C0081196D /* WXExceptionUtils.h 
*/; settings = {ATTRIBUTES = (Public, ); }; };
841CD1071F974E81196D /* WXExceptionUtils.m in Sources */ = 
{isa = PBXBuildFile; fileRef = 841CD1021F9739890081196D /* WXExceptionUtils.m 
*/; };
-   847E1DE41F9A1BCF00A48124 /* WXCoreStyle.h in Headers */ = {isa 
= PBXBuildFile; fileRef = 847E1DE01F9A1BCF00A48124 /* WXCoreStyle.h */; };
9B9E74791FA2DB5800DAAEA9 /* WXTestBridgeMethodDummy.m in 
Sources */ = {isa = PBXBuildFile; fileRef = 9B9E74781FA2DB5800DAAEA9 /* 
WXTestBridgeMethodDummy.m */; };
BA5F00F11FC5AFFE00F76B5C /* WXLocaleModule.h in Headers */ = 
{isa = PBXBuildFile; fileRef = BA5F00EF1FC5AFFE00F76B5C /* WXLocaleModule.h */; 
};
BA5F00F21FC5AFFE00F76B5C /* WXLocaleModule.m in Sources */ = 
{isa = PBXBuildFile; fileRef = BA5F00F01FC5AFFE00F76B5C /* WXLocaleModule.m */; 
};
@@ -329,6 +328,7 @@
C4F012831E1502E9003378D0 /* WXWebSocketModule.m in Sources */ = 
{isa = PBXBuildFile; fileRef = C4F012811E1502E9003378D0 /* WXWebSocketModule.m 
*/; };
C4F012861E150307003378D0 /* WXWebSocketLoader.h in Headers */ = 
{isa = PBXBuildFile; fileRef = C4F012841E150307003378D0 /* WXWebSocketLoader.h 
*/; };
C4F012871E150307003378D0 /* WXWebSocketLoader.m in Sources */ = 
{isa = PBXBuildFile; fileRef = C4F012851E150307003378D0 /* WXWebSocketLoader.m 
*/; };
+   D0E6624F20FDD1BC00AF8914 /* WXRecyclerComponent.h in Headers */ 
= {isa = PBXBuildFile; fileRef = 745B2D601E5A8E1E0092D38A /* 
WXRecyclerComponent.h */; };
D312CE3B1C730DEB00046D68 /* WXWebComponent.h in Headers */ = 
{isa = PBXBuildFile; fileRef = D312CE391C730DEB00046D68 /* WXWebComponent.h */; 
};
D312CE3C1C730DEB00046D68 /* WXWebComponent.m in Sources */ = 
{isa = PBXBuildFile; fileRef = D312CE3A1C730DEB00046D68 /* WXWebComponent.m */; 
};
D317338C1C57257000BB7539 /* WXTransform.h in Headers */ = {isa 
= PBXBuildFile; fileRef = D317338A1C57257000BB7539 /* WXTransform.h */; };
@@ -519,7 +519,6 @@
DCA445D81EFA599400D0CFA8 /* WXRootView.h in Headers */ = {isa = 
PBXBuildFile; fileRef = 74B8BEFC1DC47B72004A6027 /* WXRootView.h */; };
DCA445D91EFA59A100D0CFA8 /* WXEditComponent.h in Headers */ = 
{isa = PBXBuildFile; fileRef = C4B3D6D21E6954300013F38D /* WXEditComponent.h 
*/; };
DCA445DA1EFA59A600D0CFA8 /* WXMultiColumnLayout.h in Headers */ 
= {isa = PBXBuildFile; fileRef = 745B2D5E1E5A8E1E0092D38A /* 
WXMultiColumnLayout.h */; };
-   DCA445DB1EFA59AA00D0CFA8 /* WXRecyclerComponent.h in Headers */ 
= {isa = PBXBuildFile; fileRef = 745B2D601E5A8E1E0092D38A /* 
WXRecyclerComponent.h */; settings = {ATTRIBUTES = (Public, ); }; };
DCA445DC1EFA59AD00D0CFA8 /* WXRecyclerDataController.h in 
Headers */ = {isa = PBXBuildFile; fileRef = 745B2D621E5A8E1E0092D38A /* 
WXRecyclerDataController.h */; };
DCA445DD1EFA59B300D0CFA8 /* WXRecyclerUpdateController.h in 
Headers */ = {isa = PBXBuildFile; fileRef = 745B2D641E5A8E1E0092D38A /* 

[GitHub] incubator-weex issue #1337: [WEEX-513][iOS] Improve WeexSDK project file

2018-07-17 Thread weex-bot
Github user weex-bot commented on the issue:

https://github.com/apache/incubator-weex/pull/1337
  






  

  
  Messages

  
  
  :book:
  has no jsfm file changed.

  

  :book:
  jsfm test finished.

  




  Generated by :no_entry_sign: http://github.com/danger/danger-js/;>dangerJS




---


[GitHub] incubator-weex pull request #1337: [WEEX-513][iOS] Improve WeexSDK project f...

2018-07-17 Thread caixiaomin
GitHub user caixiaomin opened a pull request:

https://github.com/apache/incubator-weex/pull/1337

[WEEX-513][iOS] Improve WeexSDK project file



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/caixiaomin/incubator-weex ImproveSDKProj

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-weex/pull/1337.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #1337


commit e3793082e4c1ae5044233fa47c355b6c2f141753
Author: Xiaomin 
Date:   2018-07-17T07:29:55Z

[WEEX-513][iOS] Improve WeexSDK project file




---


[GitHub] incubator-weex issue #1336: [android] weex custom font not rendered right wh...

2018-07-17 Thread weex-bot
Github user weex-bot commented on the issue:

https://github.com/apache/incubator-weex/pull/1336
  






  

  
  Messages

  
  
  :book:
  has no jsfm file changed.

  

  :book:
  jsfm test finished.

  




  Generated by :no_entry_sign: http://github.com/danger/danger-js/;>dangerJS




---


[GitHub] incubator-weex pull request #1336: [android] weex custom font not rendered r...

2018-07-17 Thread jiangxiang89
GitHub user jiangxiang89 opened a pull request:

https://github.com/apache/incubator-weex/pull/1336

[android] weex custom font not rendered right when font is first down…

…loaded

First of all, thank you for your contribution! 

Please makes sure that these checkboxes are checked before submitting your 
PR, thank you!



CheckList:

**if** *isBugFix* **:**

  * [ ] Make sure that you add at least one unit test for the bug which you 
had fixed.

**elif** *isNewFeature* **:**

  * [ ] Update API docs for the component.
  * [ ] Update/Add demo to demonstrate new feature.
  * [ ] Update test scripts for the feature.
  * [ ] Add unit tests for the feature.






You can merge this pull request into a Git repository by running:

$ git pull https://github.com/jiangxiang89/incubator-weex 
feature-fix-iconfont

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-weex/pull/1336.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #1336


commit 90314c4819599023ac153606d3154301be36a8c3
Author: 风恒 
Date:   2018-07-17T09:09:01Z

[android] weex custom font not rendered right when font is first downloaded




---


[GitHub] incubator-weex pull request #1334: [WEEX-509][Android] Fix NPE in WXSDKInsta...

2018-07-17 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/incubator-weex/pull/1334


---


incubator-weex git commit: * [Android] Fix NPE in WXSDKInstance

2018-07-17 Thread kyork
Repository: incubator-weex
Updated Branches:
  refs/heads/master 3e800e2ca -> 07f9b43fb


* [Android] Fix NPE in WXSDKInstance

This closes #1334


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

Branch: refs/heads/master
Commit: 07f9b43fb6cda35af39b3fc4731da94e1ff2c5fb
Parents: 3e800e2
Author: YorkShen 
Authored: Mon Jul 16 21:31:21 2018 +0800
Committer: YorkShen 
Committed: Tue Jul 17 16:09:04 2018 +0800

--
 .../sdk/src/main/java/com/taobao/weex/WXSDKInstance.java| 9 -
 1 file changed, 8 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/07f9b43f/android/sdk/src/main/java/com/taobao/weex/WXSDKInstance.java
--
diff --git a/android/sdk/src/main/java/com/taobao/weex/WXSDKInstance.java 
b/android/sdk/src/main/java/com/taobao/weex/WXSDKInstance.java
index d0d3c99..25d8c43 100644
--- a/android/sdk/src/main/java/com/taobao/weex/WXSDKInstance.java
+++ b/android/sdk/src/main/java/com/taobao/weex/WXSDKInstance.java
@@ -947,7 +947,14 @@ public class WXSDKInstance implements 
IWXActivityStateListener,View.OnLayoutChan
   Intent intent = new Intent(WXGlobalEventReceiver.EVENT_ACTION);
   intent.putExtra(WXGlobalEventReceiver.EVENT_NAME, 
Constants.Event.PAUSE_EVENT);
   intent.putExtra(WXGlobalEventReceiver.EVENT_WX_INSTANCEID, 
getInstanceId());
-  mContext.sendBroadcast(intent);
+  /**
+   *  Fix NPE just like {@link #onActivityResume()}
+   */
+  if (null != mContext){
+mContext.sendBroadcast(intent);
+  }else {
+WXEnvironment.getApplication().sendBroadcast(intent);
+  }
   this.mCurrentGround = true;
 }
   }



[GitHub] incubator-weex pull request #1333: [WEEX-508][Android] Fix display error of ...

2018-07-17 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/incubator-weex/pull/1333


---


incubator-weex git commit: * [Android] Fix display error of base64 IconFont

2018-07-17 Thread kyork
Repository: incubator-weex
Updated Branches:
  refs/heads/master 3df1c5ddb -> 3e800e2ca


* [Android] Fix display error of base64 IconFont

https://jsplayground.taobao.org/raxplayground/64800ba5-9250-4b13-834b-167de6aa9522

This closes #1333


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

Branch: refs/heads/master
Commit: 3e800e2ca2b19ebbc996c2485f97e23ff49b077f
Parents: 3df1c5d
Author: YorkShen 
Authored: Mon Jul 16 21:13:27 2018 +0800
Committer: YorkShen 
Committed: Tue Jul 17 16:06:31 2018 +0800

--
 .../sdk/src/main/java/com/taobao/weex/utils/FontDO.java  | 11 +++
 1 file changed, 7 insertions(+), 4 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/3e800e2c/android/sdk/src/main/java/com/taobao/weex/utils/FontDO.java
--
diff --git a/android/sdk/src/main/java/com/taobao/weex/utils/FontDO.java 
b/android/sdk/src/main/java/com/taobao/weex/utils/FontDO.java
index 18467f3..ca81fa8 100644
--- a/android/sdk/src/main/java/com/taobao/weex/utils/FontDO.java
+++ b/android/sdk/src/main/java/com/taobao/weex/utils/FontDO.java
@@ -22,11 +22,11 @@ import android.graphics.Typeface;
 import android.net.Uri;
 import android.text.TextUtils;
 import android.util.Base64;
-
 import com.taobao.weex.WXEnvironment;
 import com.taobao.weex.WXSDKInstance;
 import com.taobao.weex.adapter.URIAdapter;
 import com.taobao.weex.common.Constants;
+import java.io.File;
 
 public class FontDO {
   private final String mFontFamilyName;
@@ -100,9 +100,12 @@ public class FontDO {
   String base64Data = data[1];
   if (!TextUtils.isEmpty(base64Data)) {
 String md5 = WXFileUtils.md5(base64Data);
-String filePath = WXEnvironment.getApplication().getCacheDir() 
+ "/font-family/" + md5;
-WXFileUtils.saveFile(filePath, Base64.decode(base64Data, 
Base64.DEFAULT), WXEnvironment.getApplication());
-mUrl = filePath;
+File tmpFile = new File(new 
File(WXEnvironment.getApplication().getCacheDir(), "font-family"), md5);
+if(!tmpFile.exists()){
+  tmpFile.createNewFile();
+  WXFileUtils.saveFile(tmpFile.getPath(), 
Base64.decode(base64Data, Base64.DEFAULT), WXEnvironment.getApplication());
+}
+mUrl = tmpFile.getPath();
 mType = TYPE_BASE64;
 WXLogUtils.d("TypefaceUtil", "Parse base64 font cost " + 
(System.currentTimeMillis() - start) + " ms");
   }



[GitHub] incubator-weex pull request #1332: [WEEX-507][Android] Upgrade to Android AP...

2018-07-17 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/incubator-weex/pull/1332


---


incubator-weex git commit: * [Android] Upgrade to API 26

2018-07-17 Thread kyork
Repository: incubator-weex
Updated Branches:
  refs/heads/master a6dbdf23d -> 3df1c5ddb


* [Android] Upgrade to API 26

Remove dexposed, which is not supported by ART VM.

This closes #1332


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

Branch: refs/heads/master
Commit: 3df1c5ddb109be4b8cd52bd073e72c6d697398c6
Parents: a6dbdf2
Author: YorkShen 
Authored: Mon Jul 16 17:34:09 2018 +0800
Committer: YorkShen 
Committed: Tue Jul 17 16:03:40 2018 +0800

--
 .travis.yml |  4 ++--
 android/build.gradle| 21 +++--
 android/playground/app/build.gradle |  3 +--
 android/sdk/build.gradle|  2 +-
 4 files changed, 11 insertions(+), 19 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/3df1c5dd/.travis.yml
--
diff --git a/.travis.yml b/.travis.yml
index 95624a6..0f9cfb6 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -28,8 +28,8 @@ matrix:
   components:
 - platform-tools
 - tools
-- build-tools-25.0.3
-- android-25
+- build-tools-26.0.3
+- android-26
 - extra-google-m2repository
 - extra-android-m2repository
 - sys-img-armeabi-v7a-android-22

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/3df1c5dd/android/build.gradle
--
diff --git a/android/build.gradle b/android/build.gradle
index 32f7927..e78c562 100644
--- a/android/build.gradle
+++ b/android/build.gradle
@@ -14,21 +14,15 @@ plugins {
 //id "com.github.dcendents.android-maven" version "1.5"
 }
 
-repositories {
-mavenLocal()
-jcenter()
-}
-
 subprojects {
 repositories {
 mavenLocal()
 jcenter()
+maven {
+url 'https://maven.google.com'
+}
 }
 buildscript {
-repositories {
-mavenLocal()
-jcenter()
-}
 dependencies {
 classpath 'com.android.tools.build:gradle:2.3.3'
 classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.0'
@@ -36,12 +30,11 @@ subprojects {
 }
 }
 ext {
-compileSdkVersion=25
-buildToolsVersion="25.0.3"
+compileSdkVersion=26
+buildToolsVersion="26.0.3"
 minSdkVersion=14
-appMinSdkVersion=15
-targetSdkVersion=25
-supportLibVersion="25.3.1"
+targetSdkVersion=26
+supportLibVersion="26.0.2"
 fastjsonLibVersion="1.1.46.android"
 }
 }

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/3df1c5dd/android/playground/app/build.gradle
--
diff --git a/android/playground/app/build.gradle 
b/android/playground/app/build.gradle
index 3e4954d..941e624 100755
--- a/android/playground/app/build.gradle
+++ b/android/playground/app/build.gradle
@@ -10,7 +10,7 @@ android {
 
 defaultConfig {
 applicationId "com.alibaba.weex"
-minSdkVersion project.appMinSdkVersion
+minSdkVersion project.minSdkVersion
 targetSdkVersion project.targetSdkVersion
 versionCode 17
 versionName "0.18.0-beta-3"
@@ -101,7 +101,6 @@ dependencies {
 debugCompile 'com.taobao.android:weex_analyzer:0.1.0.5'
 
 
-compile 'com.taobao.android:dexposed:0.1.8'
 compile 'com.loopj.android:android-async-http:1.4.9@aar'
 compile 'com.facebook.fresco:fresco:0.12.0+'
 compile 'com.facebook.fresco:animated-gif:0.12.0'

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/3df1c5dd/android/sdk/build.gradle
--
diff --git a/android/sdk/build.gradle b/android/sdk/build.gradle
index d8ce3bc..e2b7871 100755
--- a/android/sdk/build.gradle
+++ b/android/sdk/build.gradle
@@ -109,7 +109,7 @@ android {
 buildConfigField "long", "X86_Size", "${X86_Size}"
 buildConfigField "String", "buildJavascriptFrameworkVersion", 
"\"${jsfmVersion}\""
 buildConfigField "String", "buildVersion", "\"${version}\""
-minSdkVersion 14
+minSdkVersion project.minSdkVersion
 targetSdkVersion project.targetSdkVersion
 
 multiDexEnabled true



[GitHub] incubator-weex issue #1332: [WEEX-507][Android] Upgrade to Android API 26

2018-07-17 Thread gubaojian
Github user gubaojian commented on the issue:

https://github.com/apache/incubator-weex/pull/1332
  
quick great work


---