Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iframe not working #313

Open
halilincigit opened this issue Jan 6, 2025 · 0 comments
Open

iframe not working #313

halilincigit opened this issue Jan 6, 2025 · 0 comments

Comments

@halilincigit
Copy link

halilincigit commented Jan 6, 2025

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

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant