fluwx
fluwx copied to clipboard
3.5.0 从微信内的H5调起APP,冷启动安卓端依然会白屏,iOS无法跳转。
Flutter 2.2.3 如果APP已在后台,通过微信内H5调起一切正常
升级成3.5.1试试?我目前用这个版本没遇到过
我这边3.6.1+1 安卓都是正常的 应该是配置问题 确认scheme配置正确么? 安卓冷启动是通过scheme去启动app的 话说您iOS h5 唤醒正常么?
升级成3.5.1试试?我目前用这个版本没遇到过
3.5.1 依然有问题
我这边3.6.1+1 安卓都是正常的 应该是配置问题 确认scheme配置正确么? 安卓冷启动是通过scheme去启动app的 话说您iOS h5 唤醒正常么?
scheme配置具体是指什么呢?
android_manifest 中是有这些配置的:
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data
android:host="${applicationId}"
android:path="/"
android:scheme="wechatextmsg" />
</intent-filter>
<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:scheme="${custom_scheme}"
android:host="${host_name}" />
</intent-filter>
<intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data
android:scheme="https"
android:host="${host_name}" />
</intent-filter>
还需要什么其他的配置么? 在APP已经启动的时候,所有的DeepLink,APPLink (即https或custom scheme)调起都没有问题。
iOS APP未启动时微信中的H5可以正常打开APP,但是不会跳转。 APP已启动后一切正常。
你iOS app 未启动的时候 能唤醒并跳转么?
<meta-data android:name="weChatAppId" android:value="wxxxxxxxxxxxxxc" /> <meta-data android:name="handleWeChatRequestByFluwx" android:value="true" />
<meta-data android:name="weChatAppId" android:value="wxxxxxxxxxxxxxc" /> <meta-data android:name="handleWeChatRequestByFluwx" android:value="true" />
这两个我也已经有了,在同一个Activity内。
应该缺失这俩
你iOS app 未启动的时候 能唤醒并跳转么?
iOS可以唤醒,但是无法跳转
这俩个meta-data 不在activity内 在application 节点内 你应该放置的位置不对
我这边ios冷启动通过粘贴板方式跳转了 貌似无法解决冷启动跳转的问题
去看看example,Android是没有问题的------------------ 原始邮件 ------------------ @.> 发送时间: 2021年9月17日(星期五) 下午2:33 @.>; @.***>; 主题: Re: [OpenFlutter/fluwx] 3.5.0 从微信内的H5调起APP,冷启动安卓端依然会白屏,iOS无法跳转。 (#410)
你们华为手机能调起吗?我的提示调起失败,配置啥的都正常
@emptyheadworm 能拉起来
@zcl0621 你好我这边无法读取APP外的粘贴板内容 ,请问是什么原因
@zcl0621 通过粘贴板复制 也不行。。微信浏览器会在打开的时候清空剪切板 你们那都是怎么做到的通过复制粘贴解决这个问题的
https://user-images.githubusercontent.com/8233731/178173377-1fc6e10d-a6b4-4988-aa86-3d2dd95040ad.mov
iOS 从微信和safari浏览器,都可以唤醒,然后读取粘贴版跳转到指定页呀 @ZhangZhiH
@zcl0621 为什么我查的是微信打开APP的时候会清空剪切板内容 导致我到APP读取粘贴板的时候是null,我现在是在微信中推荐他浏览器打开地址再唤醒APP 但是这样操作步骤有些繁琐 ,没有想到更合适的方法
@ZhangZhiH 微信说把。。 cm9ja2luX21hbg== base64
4.1.0