[jira] [Commented] (WEEX-477) 无法import文件:WXResourceRequestHandlerDefaultImpl.h

2018-06-25 Thread XuYouyang (JIRA)


[ 
https://issues.apache.org/jira/browse/WEEX-477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16523235#comment-16523235
 ] 

XuYouyang commented on WEEX-477:


[~zackzheng] file 'WeexSDK/WXResourceRequestHandlerDefaultImpl.h' is not a 
public file, so you can't import them directly.

Maybe 'MJBWeexNetworkImpl' is a Weex handler in your project handling resource 
request, you just implement the protocol 'WXResourceRequestHandler' and 
register it.

> 无法import文件:WXResourceRequestHandlerDefaultImpl.h
> 
>
> Key: WEEX-477
> URL: https://issues.apache.org/jira/browse/WEEX-477
> Project: Weex
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 0.18
>Reporter: zhengzuanzhe
>Assignee: xingZhang
>Priority: Critical
>
> *环境*
> Weex 版本: Weex iOS SDK 0.18.0
> 设备环境: 无(编译问题)
> *概述/描述*
> 步骤1:新建一个swift项目
> 步骤2:新建Podfile,添加:pod 'WeexSDK', '0.18.0'
> 步骤3:命令行pod install
> 步骤3:创建Objective-C类MJBWeexNetworkImpl,生成MJBWeexNetworkImpl.h/MJBWeexNetworkImpl.m
> 步骤4:生成xxx-Bridging-Header.h
> 步骤5:在MJBWeexNetworkImpl.h文件import下面代码
> #import 
> #import 
> 步骤6:在xxx-Bridging-Header.h同样import上面代码
> *测试结果*
> 预期结果是可以编译通过;
> 实际结果是在桥接文件和.h文件都提示'WeexSDK/WXResourceRequestHandlerDefaultImpl.h' file not 
> found



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (WEEX-435) Weex Android Playground app DO NOT prompt permission dialog when user clicked

2018-06-25 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/WEEX-435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16523131#comment-16523131
 ] 

ASF GitHub Bot commented on WEEX-435:
-

Github user shawnlinboy commented on the issue:

https://github.com/apache/incubator-weex/pull/1221
  
@gubaojian They didn't handle that so I'd like not to add extra code to 
that.


> Weex Android Playground app DO NOT prompt permission dialog when user clicked
> -
>
> Key: WEEX-435
> URL: https://issues.apache.org/jira/browse/WEEX-435
> Project: Weex
>  Issue Type: Improvement
>  Components: Android
>Affects Versions: 0.18
>Reporter: Shen
>Assignee: codefurture
>Priority: Major
>
> As I've created a PR, please see 
> [https://github.com/apache/incubator-weex/pull/1221#issue-191124184] for more 
> info about this issue.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (WEEX-434) WXRootView cannot reset to original position

2018-06-25 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/WEEX-434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16523108#comment-16523108
 ] 

ASF GitHub Bot commented on WEEX-434:
-

Github user wqyfavor commented on the issue:

https://github.com/apache/incubator-weex/pull/1239
  
Please provide your xcode project. I really cannot reproduce. I don't know 
the differences between playground and your app. Or you may use playground or 
Taobao app to scan your bundle and to see if this issue can reproduce. 
@weifengsmile 


> WXRootView cannot reset to original position
> 
>
> Key: WEEX-434
> URL: https://issues.apache.org/jira/browse/WEEX-434
> Project: Weex
>  Issue Type: Bug
>  Components: iOS
>Reporter: weifengsmile
>Assignee: xingZhang
>Priority: Major
> Attachments: 屏幕快照 2018-06-04 下午5.28.47.png, 屏幕快照 2018-06-04 
> 下午5.29.09.png, 屏幕快照 2018-06-04 下午5.30.43.png
>
>
> Reproduce condition: the input component is on the bottom of page.
> When the input component moved up as keyboard shown, the keyboard 
> Preselection view or toolbar view will cover a part of the input component.
> And WXRootView cannot move to original position after keyboard hiden.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (WEEX-446) 组件在某情况下文字显示不全

2018-06-25 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/WEEX-446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16523104#comment-16523104
 ] 

ASF GitHub Bot commented on WEEX-446:
-

Github user weex-bot commented on the issue:

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





  

  
  Warnings

  
  
  :warning:
  No Changelog changes!

  




  

  
  Messages

  
  
  :book:
  danger test finished.

  




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




> 组件在某情况下文字显示不全
> ---
>
> Key: WEEX-446
> URL: https://issues.apache.org/jira/browse/WEEX-446
> Project: Weex
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 0.18
> Environment: iOS iphone6 11.3
>Reporter: huangnao
>Assignee: xingZhang
>Priority: Major
> Attachments: qq20180611-120...@2x.png
>
>
> 组件在某情况下文字显示不全,demo如下:
> [http://dotwe.org/vue/7f9b97dfe8795cd09d44dcb27066153a]
> dotwe上看是没有问题的,请用iOS的weex playground查看。android未测试。



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (WEEX-446) 组件在某情况下文字显示不全

2018-06-25 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/WEEX-446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16523102#comment-16523102
 ] 

ASF GitHub Bot commented on WEEX-446:
-

GitHub user wqyfavor opened a pull request:

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

[WEEX-446,447][iOS] Fix core text layout bug.

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/wqyfavor/incubator-weex fix-coretext

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

https://github.com/apache/incubator-weex/pull/1289.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 #1289


commit 0664882cffb8533c4021a7fd251e69da88956fe9
Author: 神漠 
Date:   2018-06-26T02:38:43Z

[WEEX-446,447][iOS] Fix core text layout bug.




> 组件在某情况下文字显示不全
> ---
>
> Key: WEEX-446
> URL: https://issues.apache.org/jira/browse/WEEX-446
> Project: Weex
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 0.18
> Environment: iOS iphone6 11.3
>Reporter: huangnao
>Assignee: xingZhang
>Priority: Major
> Attachments: qq20180611-120...@2x.png
>
>
> 组件在某情况下文字显示不全,demo如下:
> [http://dotwe.org/vue/7f9b97dfe8795cd09d44dcb27066153a]
> dotwe上看是没有问题的,请用iOS的weex playground查看。android未测试。



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (WEEX-434) WXRootView cannot reset to original position

2018-06-25 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/WEEX-434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16523089#comment-16523089
 ] 

ASF GitHub Bot commented on WEEX-434:
-

Github user weifengsmile commented on the issue:

https://github.com/apache/incubator-weex/pull/1239
  
iOS 11.1, and the weexSDK version is the latest version in pods. I didn't 
use the playground app, this is the result from iOS simulator, and there is the 
same issue in real device.


> WXRootView cannot reset to original position
> 
>
> Key: WEEX-434
> URL: https://issues.apache.org/jira/browse/WEEX-434
> Project: Weex
>  Issue Type: Bug
>  Components: iOS
>Reporter: weifengsmile
>Assignee: xingZhang
>Priority: Major
> Attachments: 屏幕快照 2018-06-04 下午5.28.47.png, 屏幕快照 2018-06-04 
> 下午5.29.09.png, 屏幕快照 2018-06-04 下午5.30.43.png
>
>
> Reproduce condition: the input component is on the bottom of page.
> When the input component moved up as keyboard shown, the keyboard 
> Preselection view or toolbar view will cover a part of the input component.
> And WXRootView cannot move to original position after keyboard hiden.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (WEEX-469) weex list component in the Android has no scroll bars

2018-06-25 Thread codefurture (JIRA)


[ 
https://issues.apache.org/jira/browse/WEEX-469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16523067#comment-16523067
 ] 

codefurture commented on WEEX-469:
--

you can use showScrollbar="true" the let the scroll bar show.  example like 
this:





> weex list component in the Android has no scroll bars
> -
>
> Key: WEEX-469
> URL: https://issues.apache.org/jira/browse/WEEX-469
> Project: Weex
>  Issue Type: Bug
>  Components: Android
>Reporter: aixiaoxiang
>Assignee: codefurture
>Priority: Major
> Attachments: image-2018-06-21-12-22-09-211.png
>
>
> weex list component in the Android has no scroll bars
> iOS has scroll bars
> android:
>  
>  !image-2018-06-21-12-22-09-211.png|thumbnail! 
> Related link:
> https://stackoverflow.com/questions/27056379/is-there-any-way-to-enable-scrollbars-for-recyclerview-in-code



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (WEEX-435) Weex Android Playground app DO NOT prompt permission dialog when user clicked

2018-06-25 Thread codefurture (JIRA)


[ 
https://issues.apache.org/jira/browse/WEEX-435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16523065#comment-16523065
 ] 

codefurture commented on WEEX-435:
--

in your onRequestPermissionsResult you don't handle 
WRITE_EXTERNAL_STORAGE_PERMISSION_REQUEST_CODE and give an tips. please add 
this case.  when we will merge the request

> Weex Android Playground app DO NOT prompt permission dialog when user clicked
> -
>
> Key: WEEX-435
> URL: https://issues.apache.org/jira/browse/WEEX-435
> Project: Weex
>  Issue Type: Improvement
>  Components: Android
>Affects Versions: 0.18
>Reporter: Shen
>Assignee: codefurture
>Priority: Major
>
> As I've created a PR, please see 
> [https://github.com/apache/incubator-weex/pull/1221#issue-191124184] for more 
> info about this issue.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (WEEX-435) Weex Android Playground app DO NOT prompt permission dialog when user clicked

2018-06-25 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/WEEX-435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16523063#comment-16523063
 ] 

ASF GitHub Bot commented on WEEX-435:
-

Github user gubaojian commented on the issue:

https://github.com/apache/incubator-weex/pull/1221
  
in your onRequestPermissionsResult you don't handle 
WRITE_EXTERNAL_STORAGE_PERMISSION_REQUEST_CODE and give an tips. please add 
this case.




> Weex Android Playground app DO NOT prompt permission dialog when user clicked
> -
>
> Key: WEEX-435
> URL: https://issues.apache.org/jira/browse/WEEX-435
> Project: Weex
>  Issue Type: Improvement
>  Components: Android
>Affects Versions: 0.18
>Reporter: Shen
>Assignee: codefurture
>Priority: Major
>
> As I've created a PR, please see 
> [https://github.com/apache/incubator-weex/pull/1221#issue-191124184] for more 
> info about this issue.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Resolved] (WEEX-424) Support SVG in

2018-06-25 Thread codefurture (JIRA)


 [ 
https://issues.apache.org/jira/browse/WEEX-424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

codefurture resolved WEEX-424.
--
Resolution: Workaround

> Support SVG in 
> --
>
> Key: WEEX-424
> URL: https://issues.apache.org/jira/browse/WEEX-424
> Project: Weex
>  Issue Type: New Feature
>  Components: Android
>Affects Versions: 0.18
>Reporter: Francis
>Assignee: codefurture
>Priority: Major
>
> SVG format is best for icons and graphics and are scalable to different 
> resolutions.
> Also, they are often smaller in file size compared to raster formats.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (WEEX-424) Support SVG in

2018-06-25 Thread codefurture (JIRA)


[ 
https://issues.apache.org/jira/browse/WEEX-424?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16523062#comment-16523062
 ] 

codefurture commented on WEEX-424:
--

we have an svg plugin in alibaba's aliweex components, which will be open 
source latter

> Support SVG in 
> --
>
> Key: WEEX-424
> URL: https://issues.apache.org/jira/browse/WEEX-424
> Project: Weex
>  Issue Type: New Feature
>  Components: Android
>Affects Versions: 0.18
>Reporter: Francis
>Assignee: codefurture
>Priority: Major
>
> SVG format is best for icons and graphics and are scalable to different 
> resolutions.
> Also, they are often smaller in file size compared to raster formats.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Closed] (WEEX-409) weex页面白屏检测和分析

2018-06-25 Thread codefurture (JIRA)


 [ 
https://issues.apache.org/jira/browse/WEEX-409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

codefurture closed WEEX-409.

Resolution: Fixed

> weex页面白屏检测和分析
> -
>
> Key: WEEX-409
> URL: https://issues.apache.org/jira/browse/WEEX-409
> Project: Weex
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 0.17
>Reporter: ou
>Assignee: codefurture
>Priority: Major
>
> 我们针对weex的渲染做了白屏上报,集成的是sdk 0.17.0,发现异常回调还是蛮多的,主要错误是以下五个:
> 第一种:错误占比60.8%,检测方式是我们在onViewCreated中延时一秒检测渲染的view是否存在元素,如果不存在则上报异常;这样的检测是否存在问题和误报?
> 第二种:错误占比10.2%,wx_network_error,这种的存在也蛮多的,这种是js文件访问不到,还是js的内部请求(如图片等请求不到)导致的异常呢?
> 第三种:错误占比8.8%,调用js异常:返回的错误信息是:ReferenceError: Can't find variable: 
> event\n(global function):13:25438\n(weex framework):3:30993\nforEach@[native 
> code]\np@(weex framework):3:30892\n(weex framework):8:26566\n template md5 
> null  这种要怎么解决呢?
> 第四种:错误占比8.4%,wx_create_instance_error,这种的日志只有createInstance 
> fail,这种情况需要怎么定位分析呢?
> 第五种:错误占比5.6%,wx_network_error ,Unable to resolve host \"XXX域名": No address 
> associated with hostname ,这种情况是什么原因导致的呢?这个域名应该是可以访问到的。



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (WEEX-434) WXRootView cannot reset to original position

2018-06-25 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/WEEX-434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16522503#comment-16522503
 ] 

ASF GitHub Bot commented on WEEX-434:
-

Github user weifengsmile commented on the issue:

https://github.com/apache/incubator-weex/pull/1239
  
```

  
The environment is ready!

  



export default {
  name: 'App',
  data () {
return {
}
  }
}



.input {
background-color: #ff;
margin-top: 300px;
width: 300px;
height: 80px ;
padding: 20px;
color: #00;
  }
  .wrapper {
justify-content: center;
align-items: center;
background-color: #88;
  }
  .greeting {
text-align: center;
margin-top: 70px;
font-size: 50px;
color: #41B883;
  }

```

![code](https://user-images.githubusercontent.com/11461723/41863121-69cd58a8-78d8-11e8-8ce7-a7f76d524f58.png)

It is very simple. You can check the image:
![init 
page](https://user-images.githubusercontent.com/11461723/41862867-aa59713c-78d7-11e8-9dad-6877993b6422.png)
![the input component 
focus](https://user-images.githubusercontent.com/11461723/41862893-bec067fc-78d7-11e8-8f60-bec52a5b506e.png)
![the keyboard 
dismiss](https://user-images.githubusercontent.com/11461723/41862922-d794a9fa-78d7-11e8-8ec3-d86d5405a552.png)

**Issue 1: The WXRootView cannot reset to original position.**
**Issue 2: The keyboards cover a apart of the input component.**

@wqyfavor 


> WXRootView cannot reset to original position
> 
>
> Key: WEEX-434
> URL: https://issues.apache.org/jira/browse/WEEX-434
> Project: Weex
>  Issue Type: Bug
>  Components: iOS
>Reporter: weifengsmile
>Assignee: xingZhang
>Priority: Major
> Attachments: 屏幕快照 2018-06-04 下午5.28.47.png, 屏幕快照 2018-06-04 
> 下午5.29.09.png, 屏幕快照 2018-06-04 下午5.30.43.png
>
>
> Reproduce condition: the input component is on the bottom of page.
> When the input component moved up as keyboard shown, the keyboard 
> Preselection view or toolbar view will cover a part of the input component.
> And WXRootView cannot move to original position after keyboard hiden.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (WEEX-474) Toast ,crash!

2018-06-25 Thread JIRA


 [ 
https://issues.apache.org/jira/browse/WEEX-474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

武晨 updated WEEX-474:

Affects Version/s: 0.18
 Priority: Blocker  (was: Major)
  Description: 
when the app's WXInstance destroy, but Weex page call toast(),sometimes app 
crash, because null point exception    *context is null !!!*, inside toast().

 

code class *WXModalUIModule*:

@JSMethod(uiThread = true)
 public void toast(String param) {

String message = "";
 int duration = Toast.LENGTH_SHORT;
 if (!TextUtils.isEmpty(param)) {
 try

{ param = URLDecoder.decode(param, "utf-8"); JSONObject jsObj = 
JSON.parseObject(param); message = jsObj.getString(MESSAGE); duration = 
jsObj.getInteger(DURATION); }

catch (Exception e)

{ WXLogUtils.e("[WXModalUIModule] alert param parse error ", e); }

}
 if (TextUtils.isEmpty(message))

{ WXLogUtils.e("[WXModalUIModule] toast param parse is null "); return; }

if (duration > 3)

{ duration = Toast.LENGTH_LONG; }

else

{ duration = Toast.LENGTH_SHORT; }

if (toast == null) {

{color:#ff}*//crash here sometime, mWXSDKInstance.getContext() is null  
*{color}
 t*oast = Toast.makeText(mWXSDKInstance.getContext(), message, duration);*
 } else

{ toast.setDuration(duration); toast.setText(message); }

toast.setGravity(Gravity.CENTER, 0, 0);
 toast.show();
 }

 

ps:when weex page closed, and wxSDKInstance destroy,but weex page still working 
on background like asynchronous request(network),on this time.when the request 
is back, and call toast(),now context is null,bug show!

  was:
when the app's WXInstance destroy, but Weex page call toast(),sometimes app 
crash, because null point exception    *context is null !!!*, inside toast().

 

code class *WXModalUIModule*:

@JSMethod(uiThread = true)
public void toast(String param) {

 String message = "";
 int duration = Toast.LENGTH_SHORT;
 if (!TextUtils.isEmpty(param)) {
 try {
 param = URLDecoder.decode(param, "utf-8");
 JSONObject jsObj = JSON.parseObject(param);
 message = jsObj.getString(MESSAGE);
 duration = jsObj.getInteger(DURATION);
 } catch (Exception e) {
 WXLogUtils.e("[WXModalUIModule] alert param parse error ", e);
 }
 }
 if (TextUtils.isEmpty(message)) {
 WXLogUtils.e("[WXModalUIModule] toast param parse is null ");
 return;
 }

 if (duration > 3) {
 duration = Toast.LENGTH_LONG;
 } else {
 duration = Toast.LENGTH_SHORT;
 }
 if (toast == null) {

{color:#FF}*//crash here sometime, mWXSDKInstance.getContext() is null  
*{color}
 t*oast = Toast.makeText(mWXSDKInstance.getContext(), message, duration);*
 } else {
 toast.setDuration(duration);
 toast.setText(message);
 }
 toast.setGravity(Gravity.CENTER, 0, 0);
 toast.show();
}


> Toast ,crash!
> -
>
> Key: WEEX-474
> URL: https://issues.apache.org/jira/browse/WEEX-474
> Project: Weex
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 0.16, 0.18
>Reporter: 武晨
>Assignee: codefurture
>Priority: Blocker
> Fix For: 0.18
>
>
> when the app's WXInstance destroy, but Weex page call toast(),sometimes app 
> crash, because null point exception    *context is null !!!*, inside toast().
>  
> code class *WXModalUIModule*:
> @JSMethod(uiThread = true)
>  public void toast(String param) {
> String message = "";
>  int duration = Toast.LENGTH_SHORT;
>  if (!TextUtils.isEmpty(param)) {
>  try
> { param = URLDecoder.decode(param, "utf-8"); JSONObject jsObj = 
> JSON.parseObject(param); message = jsObj.getString(MESSAGE); duration = 
> jsObj.getInteger(DURATION); }
> catch (Exception e)
> { WXLogUtils.e("[WXModalUIModule] alert param parse error ", e); }
> }
>  if (TextUtils.isEmpty(message))
> { WXLogUtils.e("[WXModalUIModule] toast param parse is null "); return; }
> if (duration > 3)
> { duration = Toast.LENGTH_LONG; }
> else
> { duration = Toast.LENGTH_SHORT; }
> if (toast == null) {
> {color:#ff}*//crash here sometime, mWXSDKInstance.getContext() is 
> null  *{color}
>  t*oast = Toast.makeText(mWXSDKInstance.getContext(), message, duration);*
>  } else
> { toast.setDuration(duration); toast.setText(message); }
> toast.setGravity(Gravity.CENTER, 0, 0);
>  toast.show();
>  }
>  
> ps:when weex page closed, and wxSDKInstance destroy,but weex page still 
> working on background like asynchronous request(network),on this time.when 
> the request is back, and call toast(),now context is null,bug show!



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (WEEX-478) [diffResult hasChanges] will cause bug

2018-06-25 Thread wuxibiao (JIRA)


 [ 
https://issues.apache.org/jira/browse/WEEX-478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

wuxibiao updated WEEX-478:
--
Description: 
in module WXRecyclerUpdateController

 if (![diffResult hasChanges])

{         return;    }

it will make isUpdating always true in some condition

so the  collectionView will not reload any more

 

 

 

  was:
in module WXRecyclerUpdateController

 if (![diffResult hasChanges]) {

        return;   

}

it will make isUpdating always true 

 

 


> [diffResult hasChanges] will cause bug
> --
>
> Key: WEEX-478
> URL: https://issues.apache.org/jira/browse/WEEX-478
> Project: Weex
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 0.18
> Environment: weex sdk 0.18.0   
>Reporter: wuxibiao
>Assignee: xingZhang
>Priority: Critical
>
> in module WXRecyclerUpdateController
>  if (![diffResult hasChanges])
> {         return;    }
> it will make isUpdating always true in some condition
> so the  collectionView will not reload any more
>  
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (WEEX-478) [diffResult hasChanges] will cause bug

2018-06-25 Thread wuxibiao (JIRA)
wuxibiao created WEEX-478:
-

 Summary: [diffResult hasChanges] will cause bug
 Key: WEEX-478
 URL: https://issues.apache.org/jira/browse/WEEX-478
 Project: Weex
  Issue Type: Bug
  Components: iOS
Affects Versions: 0.18
 Environment: weex sdk 0.18.0   
Reporter: wuxibiao
Assignee: xingZhang


in module WXRecyclerUpdateController

 if (![diffResult hasChanges]) {

        return;   

}

it will make isUpdating always true 

 

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (WEEX-477) 无法import文件:WXResourceRequestHandlerDefaultImpl.h

2018-06-25 Thread zhengzuanzhe (JIRA)


 [ 
https://issues.apache.org/jira/browse/WEEX-477?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

zhengzuanzhe updated WEEX-477:
--
Description: 
*环境*
Weex 版本: Weex iOS SDK 0.18.0
设备环境: 无(编译问题)

*概述/描述*

步骤1:新建一个swift项目
步骤2:新建Podfile,添加:pod 'WeexSDK', '0.18.0'
步骤3:命令行pod install
步骤3:创建Objective-C类MJBWeexNetworkImpl,生成MJBWeexNetworkImpl.h/MJBWeexNetworkImpl.m
步骤4:生成xxx-Bridging-Header.h
步骤5:在MJBWeexNetworkImpl.h文件import下面代码
#import 
#import 
步骤6:在xxx-Bridging-Header.h同样import上面代码

*测试结果*
预期结果是可以编译通过;
实际结果是在桥接文件和.h文件都提示'WeexSDK/WXResourceRequestHandlerDefaultImpl.h' file not found

  was:
*环境*
Weex 版本: Weex iOS SDK 0.18.0
设备环境: 无(编译问题)

*概述/描述*

步骤1:新建一个swift项目
步骤2:新建Podfile,添加:pod 'WeexSDK', '0.18.0'
步骤3:命令行pod install
步骤3:创建Objective-C类MJBWeexNetworkImpl,生成MJBWeexNetworkImpl.h/MJBWeexNetworkImpl.m
步骤4:生成xxx-Bridging-Header.h
步骤5:在MJBWeexNetworkImpl.h文件import下面代码
#import 
#import 
步骤6:在xxx-Bridging-Header.h同样import上面代码

测试结果*粗文本*
预期结果是可以编译通过;
实际结果是在桥接文件和.h文件都提示'WeexSDK/WXResourceRequestHandlerDefaultImpl.h' file not found


> 无法import文件:WXResourceRequestHandlerDefaultImpl.h
> 
>
> Key: WEEX-477
> URL: https://issues.apache.org/jira/browse/WEEX-477
> Project: Weex
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 0.18
>Reporter: zhengzuanzhe
>Assignee: xingZhang
>Priority: Critical
>
> *环境*
> Weex 版本: Weex iOS SDK 0.18.0
> 设备环境: 无(编译问题)
> *概述/描述*
> 步骤1:新建一个swift项目
> 步骤2:新建Podfile,添加:pod 'WeexSDK', '0.18.0'
> 步骤3:命令行pod install
> 步骤3:创建Objective-C类MJBWeexNetworkImpl,生成MJBWeexNetworkImpl.h/MJBWeexNetworkImpl.m
> 步骤4:生成xxx-Bridging-Header.h
> 步骤5:在MJBWeexNetworkImpl.h文件import下面代码
> #import 
> #import 
> 步骤6:在xxx-Bridging-Header.h同样import上面代码
> *测试结果*
> 预期结果是可以编译通过;
> 实际结果是在桥接文件和.h文件都提示'WeexSDK/WXResourceRequestHandlerDefaultImpl.h' file not 
> found



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (WEEX-477) 无法import文件:WXResourceRequestHandlerDefaultImpl.h

2018-06-25 Thread zhengzuanzhe (JIRA)
zhengzuanzhe created WEEX-477:
-

 Summary: 无法import文件:WXResourceRequestHandlerDefaultImpl.h
 Key: WEEX-477
 URL: https://issues.apache.org/jira/browse/WEEX-477
 Project: Weex
  Issue Type: Bug
  Components: iOS
Affects Versions: 0.18
Reporter: zhengzuanzhe
Assignee: xingZhang


*环境*
Weex 版本: Weex iOS SDK 0.18.0
设备环境: 无(编译问题)

*概述/描述*

步骤1:新建一个swift项目
步骤2:新建Podfile,添加:pod 'WeexSDK', '0.18.0'
步骤3:命令行pod install
步骤3:创建Objective-C类MJBWeexNetworkImpl,生成MJBWeexNetworkImpl.h/MJBWeexNetworkImpl.m
步骤4:生成xxx-Bridging-Header.h
步骤5:在MJBWeexNetworkImpl.h文件import下面代码
#import 
#import 
步骤6:在xxx-Bridging-Header.h同样import上面代码

测试结果*粗文本*
预期结果是可以编译通过;
实际结果是在桥接文件和.h文件都提示'WeexSDK/WXResourceRequestHandlerDefaultImpl.h' file not found



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)