Web2App - Quickest Feature-Rich Android Webview

Web2App - Quickest Feature-Rich Android Webview 2024-02-23

No permission to download

Mannu

Active member
Mar 27, 2020
196
113
43
No bro i don't want this documentation. This is already i i have .I want that extra tutorial but that needs purchase code so if u copy paste or share .

I will try my best for the same.
Let me know which tutorial you need ?
 

Mannu

Active member
Mar 27, 2020
196
113
43
here it is:

The WebView is designed to show web pages as they are, just like a browser. It currently doesn’t provide any tools to hide parts of the WebView’s content, like div’s, ads or headers.
The best thing to do would probably be to detect the user agent of the WebView from your site, and if the user agent is equal to the WebView user agent, hide the div’s/links on your site you want to hide. You can also consider to load your site under a specific subdomain in the WebView, and hide the divs when the subdomain is used. (E.g. when visiting webview.yoursite.com, hide the header). There is a plugin to automate this process for WordPress, that applies custom CSS to a webpage if a certain user agent is detected. Note that while you’re free to try these methods, they are beyond the scope of our support, so I can’t assist you with these changes.
To summarize, Web2App itself has no functionalities build in to modify the contents of a page, but such functionalities can be achieved as described above or even with cookies.
 
  • Love
Reactions: jarvis_ag

jarvis_ag

Member
May 3, 2019
78
27
18
here it is:

The WebView is designed to show web pages as they are, just like a browser. It currently doesn’t provide any tools to hide parts of the WebView’s content, like div’s, ads or headers.
The best thing to do would probably be to detect the user agent of the WebView from your site, and if the user agent is equal to the WebView user agent, hide the div’s/links on your site you want to hide. You can also consider to load your site under a specific subdomain in the WebView, and hide the divs when the subdomain is used. (E.g. when visiting webview.yoursite.com, hide the header). There is a plugin to automate this process for WordPress, that applies custom CSS to a webpage if a certain user agent is detected. Note that while you’re free to try these methods, they are beyond the scope of our support, so I can’t assist you with these changes.
To summarize, Web2App itself has no functionalities build in to modify the contents of a page, but such functionalities can be achieved as described above or even with cookies.
Thank u bro
 

Mannu

Active member
Mar 27, 2020
196
113
43

bro i need this tutorial @Mannu
and thank u bro for the last tutorial

Here it is:

Create a new line in your WebView code (as per instructions below depending on your template) an paste the following code:
Code:
browser.getSettings().setUserAgentString("user-agent-string");

Web2App

Open WebFragment.java and locate the code block where browser.getSettings() get’s repeatedly called and create a new line in this code block (i.e. below the line browser.getSettings().setDomStorageEnabled(true); )
 
  • Like
Reactions: jarvis_ag

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu