DeepLink在adb shell命令模擬時,如果有多個參數(shù),& 符號之前要加 \ 進(jìn)行轉(zhuǎn)義,否則后面的參數(shù)收不到。
解決方法:
$ adb shell am start -W -a android.intent.action.VIEW -d "scheme://host?package=com.tencent.mm\&isNeedComment=true"
DeepLink在adb shell命令模擬時,如果有多個參數(shù),& 符號之前要加 \ 進(jìn)行轉(zhuǎn)義,否則后面的參數(shù)收不到。
解決方法:
$ adb shell am start -W -a android.intent.action.VIEW -d "scheme://host?package=com.tencent.mm\&isNeedComment=true"