You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, none of the overridden methods of myAppHandler appear to be called.
This appears to be because of the line at line 93 of KCEF.kt:
currentBuilder.addAppHandler(AppHandler)
While the name of addAppHandler seems to suggest that multiple app handlers can be added, by looking at its implementation in CefAppHandler.java it seems that this is not true, and any subsequent call to it will remove any previously set app handler.
So it looks like the issue may be that this call in KCEF.kt removes any app handler that is added in the builder.
The text was updated successfully, but these errors were encountered:
zaroxh
added a commit
to zaroxh/KCEF
that referenced
this issue
Jul 11, 2024
It is possible to call
KCEF.init
with a builder that has an app handler supplied, like:However, none of the overridden methods of
myAppHandler
appear to be called.This appears to be because of the line at line 93 of KCEF.kt:
currentBuilder.addAppHandler(AppHandler)
While the name of
addAppHandler
seems to suggest that multiple app handlers can be added, by looking at its implementation in CefAppHandler.java it seems that this is not true, and any subsequent call to it will remove any previously set app handler.So it looks like the issue may be that this call in
KCEF.kt
removes any app handler that is added in the builder.The text was updated successfully, but these errors were encountered: