1、服务端intent参数中设置为launchFlags=0x04000000。
intent:#Intent;launchFlags=0x04000000;package=cn.ddd.mShop.android;component=cn.ddd.mShop.android/com.sss.mshop.page.activity.PushAndLinkMessageProcessingActivity;S.gttask=“123”;end
2、尝试更改intent中设定的activity的启动模式为singleTask。
<activity
android:name="com.sss.mshop.page.activity.PushAndLinkMessageProcessingActivity"
android:exported="true"
android:launchMode="singleTask"
android:screenOrientation="portrait"
android:theme="@style/EasyPermissions.Transparent">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data
android:host="launch"
android:scheme="com.ddd.shopping" />
</intent-filter>
</activity>