Commit 47f35a7d1ffb438f6db70ef20af16f90f3e80816

Authored by 袁思汶
1 parent cb98a89a

链接去空

OutSide_Share/src/main/java/com/cnlive/outside_share/activity/ShareIMActivity.java
... ... @@ -721,11 +721,14 @@ public class ShareIMActivity extends AppCompatActivity {
721 721 * @param shareType SelectForwardFragment.TYPE_SHARE_LINK
722 722 */
723 723 public static void startSelectForwardActivity(Context context, String shareTitle, String shareDesc, String shareImg, String shareLink, int shareType) {
  724 + if(shareLink!=null && shareLink.contains("(") && shareLink.contains(")")) {
  725 + shareLink = shareLink.substring(0, shareLink.indexOf("("));
  726 + }
724 727 ARouter.getInstance().build("/cnconversation/SelectForwardActivity")
725 728 .withString("shareTitle", shareTitle)
726 729 .withString("shareDesc", shareDesc)
727 730 .withString("shareImg", shareImg)
728   - .withString("shareLink", shareLink.trim())
  731 + .withString("shareLink", shareLink)
729 732 .withInt("shareType", shareType)
730 733 .withInt("inType", 0x1002)
731 734 .navigation(context);
... ...
config.gradle
... ... @@ -21,7 +21,7 @@ ext {
21 21 //编译方式
22 22 debug : false,
23 23 //版本号
24   - version: "1.0.2.4",
  24 + version: "1.0.2.5",
25 25 //Lib库前缀
26 26 packeg : "com.cnlive.outside_share",
27 27 //Lib库名称
... ...