arcticfox1919 / flutter-scankit

Flutter QR code scanning
MIT License
142 stars 46 forks source link

自定义扫码打开黑屏,无法相机预览 #42

Closed gyh124 closed 1 year ago

gyh124 commented 1 year ago

不是自定义扫码就没问题,我的项目是混合的,使用的是flutter boost,纯flutter项目自定义扫码也是没问题的,但是混合项目打开就是黑屏

arcticfox1919 commented 1 year ago

@gyh124 请提供相关的报错和日志信息

gyh124 commented 1 year ago

@gyh124 请提供相关的报错和日志信息 没走生命周期,remoteView只走了on onCreate,后续的onStart onResume

gyh124 commented 1 year ago

@arcticfox1919 请提供相关的报错和日志信息 没走生命周期,remoteView只走了on onCreate,后续的onStart onResume没走

arcticfox1919 commented 1 year ago

和生命周期没关系,通过logcat就能获得日志信息.另外混合项目没必要使用该插件,直接使用华为原生SDK即可