Monta
Monta

Reputation: 1180

Ionic - Open some URL into modal

I'm not sure if this is even possible but, I have a button (Add event to calendar).

This button should let the user create an entry to his Google calendar.

For this, I have to open somewhere this URL

My concern here is that I don't want the user to "quit" the main page (where the button is placed). So opening it in a new tab is not an option.

So I'm wondering if it is possible to open it in ion-modal or anything else that keeps the user with the page.

Upvotes: 0

Views: 1482

Answers (1)

Chetan Bansal
Chetan Bansal

Reputation: 1944

If your app is based on cordova you can use In App Browser to load a url within the app.

If you are using capacitor you can use Browser Plugin, same purpose.

Upvotes: 2

Related Questions