childBrowser resizing
Hello. I have an external links in my app. It opens in childBrowser. But the page in childBrowser cannot be resizing. How can i add "resize page" functional to childBrowser? Thanks
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
Hello. I have an external links in my app. It opens in childBrowser. But the page in childBrowser cannot be resizing. How can i add "resize page" functional to childBrowser? Thanks
Hi Dmitriy,
Try opening different links. The existing of possibility to scale page is regulated by opened page via page attributes.
No one link has scale possibles
how can i solve this problem ? may be open links via external browser ?
Please, try to open "http://gs.statcounter.com" in childBrowser on real device. On this page you can use pinch to zoom.
Most of modern sites have responsive design -- web page adjusts for screen size. Old sites (like link above) doesn't have this option.
Just in case, for tests I using this function, which placed in JS-asset:
precodefunction myNavigate( url ) {
var cb;
if ( window.plugins ) {
cb = window.plugins.childBrowser;
}
if ( cb != null ) {
cb.showWebPage( url );
} else {
window.open( url );
};
}/code/pre