Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

[Android] fix playground app crash while url query is null #1847

Merged
merged 3 commits into from
Nov 29, 2018

Conversation

erha19
Copy link
Contributor

@erha19 erha19 commented Nov 29, 2018

Changed:

  • fix playground app crash while url query is null.

Fixed #1842.

@weex-bot
Copy link

weex-bot commented Nov 29, 2018

Messages
📖 No android file has been changed.
📖 android build verification finished.

Generated by 🚫 dangerJS

@@ -275,7 +275,7 @@ private void startHotRefresh() {
URL url = new URL(mUri.toString());
String host = url.getHost();
String query = url.getQuery();
String wsport = getUrlParam("wsport", query);
String wsport = query == null? "8082" : getUrlParam("wsport", query);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TextUtils.isEmpty(query)? "8082" : getUrlParam("wsport", query)

@erha19
Copy link
Contributor Author

erha19 commented Nov 29, 2018

@YorkShen done!

@YorkShen YorkShen merged commit 374dc3b into apache:master Nov 29, 2018
katherine95s pushed a commit to katherine95s/incubator-weex that referenced this pull request Jul 4, 2019
* [Android] replace IWXDebugProxy as WXSDKInstance class
katherine95s pushed a commit to katherine95s/incubator-weex that referenced this pull request Jul 11, 2019
* [Android] replace IWXDebugProxy as WXSDKInstance class
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

最新playground app navigator 跳转 问题 直接回退到扫码
3 participants