Pianoc
Pianoc

Reputation: 797

Is there any way to open a URL within a Cordova app

Is there anyway to open a URL (eg. https://stackoverflow.com/) within a Cordova app without making use of the system browser?

Upvotes: 0

Views: 49

Answers (1)

Anas Omar
Anas Omar

Reputation: 504

i am working with ionic so this what we do in our app

<ion-view view-title="your-title" hide-nav-bar="true">
<ion-content overflow-scroll="true" scroll="false" class="no-header" fab-scroll-container>
     <iframe ng-src="the-website-link" class="my-iframe" frameborder="0"></iframe>


</ion-content>

and this is the css

.takaful-iframe{
width: 100%;
height: 100%;}

Upvotes: 1

Related Questions