mirror of
https://github.com/OpenFlutter/fluwx.git
synced 2025-05-17 23:36:13 +08:00
冷启动跳转添加 KEY_FLUWX_REQUEST_INFO_BUNDLE 传值,handleRequestInfoFromIntent 逻辑修复
This commit is contained in:
@ -72,6 +72,9 @@ object FluwxRequestHandler {
|
||||
is ShowMessageFromWX.Req -> {
|
||||
try {
|
||||
val intent = Intent(Intent.ACTION_VIEW, Uri.parse("wechatextmsg://${activity.packageName}/?extmsg=${baseReq.message.messageExt}"))
|
||||
val bundle = Bundle()
|
||||
baseReq.toBundle(bundle)
|
||||
intent.putExtra(KEY_FLUWX_REQUEST_INFO_BUNDLE, bundle)
|
||||
activity.startActivity(intent)
|
||||
activity.finish()
|
||||
WXAPiHandler.coolBoot = false
|
||||
|
Reference in New Issue
Block a user