Tencent / VasSonic

VasSonic is a lightweight and high-performance Hybrid framework developed by tencent VAS team, which is intended to speed up the first screen of websites working on Android and iOS platform.
Other
11.8k stars 1.61k forks source link

华为手机 Meta10 加入这个后 goback无效 #324

Open yuditxj opened 5 years ago

yuditxj commented 5 years ago

What steps will reproduce the problem? 该问题的重现步骤是什么?

  1. 华为手机应用第二次打开后goback白屏无效

What is the expected output? What do you see instead? 你期待的结果是什么?实际看到的又是什么?

What version of the product are you using? On what operating system? 你正在使用产品的哪个版本?在什么操作系统上? VasSonic implementation 'com.tencent.sonic:sdk:3.1.0' Adroid Api 28

Please provide any additional information below. 如果有的话,请在下面提供更多信息。

zkzszd commented 5 years ago

解决了吗?我也遇到同样问题,goback无效

linxu-link commented 4 years ago

我这边暂时将sonic的sessionMode改为Default就可以正常使用goback。 sessionConfigBuilder.setSessionMode(SonicConstants.SESSION_MODE_DEFAULT)

1mf2 commented 4 years ago

我这边暂时将sonic的sessionMode改为Default就可以正常使用goback。 sessionConfigBuilder.setSessionMode(SonicConstants.SESSION_MODE_DEFAULT)

加上这个改动可以了,这属于基本功能,太坑了

gleolee commented 4 years ago

我这边暂时将sonic的sessionMode改为Default就可以正常使用goback。 sessionConfigBuilder.setSessionMode(SonicConstants.SESSION_MODE_DEFAULT)

加上这个改动可以了,这属于基本功能,太坑了

设置了SESSION_MODE_DEFAULT模式,goBackOrForward()才能正常调用,不能用SESSION_MODE_QUICK模式,这个混合框架还有什么优势,无语 #