html5 - launch a web page automatically NativeScript -


there website of company, when open first time login page opens automatically. i'm going build mobile version of it. want when app opened, login page launched. how started? need use auto-launch? or need set page manually using openurl etc?

is there typescript alternative this:

// my-page.js var openurl = require("nativescript-openurl"); openurl("http://www.master-technology.com"); 

or should use webview? if so, how make launch automatically? thanks.

if yоu using web-view need pass url , load on fly

<webview url="https://www.nativescript.org" width="*" height="*"/> 

of course, can bind web-view url property , pass source dynamically.

there plugin called nativescript-webview-interface can ease bi-directional communication. nice tutorial plugin can found here


Comments

Popular posts from this blog

java - Suppress Jboss version details from HTTP error response -

gridview - Yii2 DataPorivider $totalSum for a column -

Sass watch command compiles .scss files before full sftp upload -