Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Try the plugin https://github.com/apache/cordova-plugin-inappbrowser
Well, if the site is not mobile-friendly, you will have to work with styles and code.
Or define USER-AGENT and open another, lightweight copy of the site.
$useragent = strtolower($_SERVER[ 'HTTP_USER_AGENT' ]);
if (preg_match('/windows\s*ce|iphone|ipod|ipad|android|palm|symbos|symbianos|mobi|minimo/', $useragent)) {
// значит, загружено с мобилки
}
If you need to make it easy to view a web page on your phone, instead of writing an application, you can use the Get&Check service and its mobile application . In the service, you create a page, or ref to your own, and the application will be able to open it. Get push notifications as a bonus.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question