mozilla/geckoview

GeckoResult<AllowOrDeny> onLoadRequest not getting called at all

ppanagiotou39 opened this issue · 0 comments

session.setNavigationDelegate(new GeckoSession.NavigationDelegate() {
            @Nullable
            @Override
            public GeckoResult<AllowOrDeny> onLoadRequest(@NonNull GeckoSession session, @NonNull LoadRequest request) {
                Log.e("EDW", "onLoadRequest");
                return GeckoSession.NavigationDelegate.super.onLoadRequest(session, request);
            }
        });

Using the above implementation, onLoadRequest is not getting called at all when browsing youtube.com website.