Unsolved WebEngine cannot generate token from firebase
-
QML debugging is enabled. Only use this in a safe environment. qt.webenginecontext: GL Type: desktop Surface Type: OpenGL Surface Profile: NoProfile Surface Version: 2.1 QSG RHI Backend: OpenGL Using Supported QSG Backend: yes Using Software Dynamic GL: no Using Multithreaded OpenGL: yes Init Parameters: * application-name testweb * browser-subprocess-path /home/khanh/Qt/6.3.1/gcc_64/libexec/QtWebEngineProcess * disable-features ConsolidatedMovementXY,InstalledApp,BackgroundFetch,WebOTP,WebPayments,WebUSB,PictureInPicture * disable-setuid-sandbox * disable-speech-api * enable-features NetworkServiceInProcess,TracingServiceInProcess * enable-threaded-compositing * in-process-gpu * use-gl desktop qml: --- ~/DUYKHANH/Projects/QT/Firebase/WebviewQt qml: --- ~/DUYKHANH/Projects/QT/Firebase/WebviewQt qml: --- false QtWebEngineQuick::initialize() called with QCoreApplication object already created and should be call before. This is depreciated and may fail in the future. qt.qml.context: qrc:/testweb/main.qml:31:9 Parameter "message" is not declared. Injection of parameters into signal handlers is deprecated. Use JavaScript functions with formal parameters instead. qml: +++ my_application xin chao qt.qml.context: qrc:/testweb/main.qml:26:9 Parameter "feature" is not declared. Injection of parameters into signal handlers is deprecated. Use JavaScript functions with formal parameters instead. qml: +++ 6 qml: +++ Notification Permission qml: +++ [object DOMException]
Is there the way to run web app to receive push notification from firebase? When I run in Chrome it can generate token but not when run in Webengine Qt