delight-im / delight-im/Android-AdvancedWebView

iframe not working

Open
#313 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2.4k
Forks
578
PR merge metrics
No merged PRs in 30d

Description

Hello, I am trying to access
https://sales.rubixb2.com:5018/test/getzreport?sid="+Singleton.getInstance().getCurrentUser().getSessionId();
page has a date filter and an iframe. I am displaying a pdf file with an iframe. When I go to the url from the browser, it works fine, but when I use the weview component, only the date filter appears and the iframe part is not displayed.

I would be very happy if you could help.

example url : https://sales.rubixb2.com:5018/test/getzreport?sid=6139e80b-a1ce-49e7-99f9-ef7e68aa33e0

@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {

View view = inflater.inflate(R.layout.fragment_preorder, container, false);


webView = (AdvancedWebView) view.findViewById(R.id.PreOrderWebView);

String url = "https://sales.rubixb2.com:5018/test/getzreport?sid="+Singleton.getInstance().getCurrentUser().getSessionId();

webView.loadUrl(url);
}

![image](https://github.com/user-attachments/assets/5f9fd686-d6e4-4826-a049-699070f344f0)

![image](https://github.com/user-attachments/assets/b80b73a3-c092-480e-a5fd-eab3f9bfe135)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.