1010
Views
24
Comments
Solved
[InAppBrowser Plugin] How to use InAppBrowser Plugin.
Question
Forge component by OutSystems R&D
11
Published on 09 Jan 2020

I have installed / downloaded this app in my environment but I dont know how to make it work as i have never used such plugin and im totally new to outsystems 10. Im using silkUI mobile theme. Any guidance will be appreciated. 


i know we have to 

Use the Open client action in order to open the given URL

but how to do that is the question

Staff
Rank: #67
Solution

Hello Hafsa.

I think I found your problem!

In the method Open from the plugin, you're assigning the value Entities.Target.IN_APP_BROWSER to the input Target and you should have the value Entities.Target.SYSTEM.

Staff
Rank: #67

Hello Hafsa.

To use the InAppBrowser Plugin you can do something simple like this:

Cheers,

GM

Staff
Rank: #67

Hello Hafsa.

Can you give me more details about your issue.You're saying that you're redirected to "the website". 

What website? You'll always see an instance of a browser being opened with the target url.



Rank: #2814

I have links to an external website that I want to open in my app. Instead of opening those links/pages in my app it redirects to the eternal website. 

lets say i want to open www.outsystems.com in my app but when i click the link to it ,it takes me to the website of outsystems out of my app instead of opening it in my app.

Rank: #2814

Attached is the oml of what im saying

HashooFoundationNew.oml

Staff
Rank: #67
Solution

Hello Hafsa.

I think I found your problem!

In the method Open from the plugin, you're assigning the value Entities.Target.IN_APP_BROWSER to the input Target and you should have the value Entities.Target.SYSTEM.

Staff
Rank: #67

The most secure thing should be to use https on your end too.

The Website as you said, if you're the owner, you need to disable the https - but I clearly advise you not to do it!

Rank: #21534

I am also running into this issue. Can the app be configured to load https:// website pages?

*Please note that this issue only occurs on iOS builds. Android loads both https:// and https://

Rank: #25915

Any updates? 

I need to load HTTP sites in my app using inappbrowser in iOS, how can I do it? It works fine with HTTPS but not HTTP

Rank: #200

Good afternoon,

I'm using the plugin to open a youtube video, however the video is opening on the youtube application.

How do I open the video in my app using the InAppBrowser Plugin?

Thank you.

Rank: #200

Hi Goncalo,

I tried on more than one smartphone.

Android.

Thank you.

Rank: #41972

Hi,


I tried the Client Action flow and also tried using either the entity "Entities.Target.SYSTEM" or "Entities.Target.IN_APP_BROWSER". However, it is not working. I am unable to open the url in InApp browser as there is no response when I click.

May I have someone here to help and give me some advice as to how I can make it work.


Thanks in advance.


Rank: #2838

While implementing this plugin, it is showing the output as Plugin not available, even I am clicking on the button, nothing is working.

Help me to implement this.


Thank you so much.

Staff
Rank: #13789

Hello Irfan, 


Did you generate the app again after adding the InAppBrowser to the app? It's mandatory to recompile the app to install the plugin. 


Best regards.

Rank: #2838

Yes Vitor, I did that.

The error message is" inAppBrowser is not defined".


Rank: #26900

Irfan You must use un android emulator or a movile phone to test de plug ins.

Rank: #26900

Hi guys,

Anybody can help me,  i have the following error. i made an example, calling  www.google.com in the plug in, if i  wanna see a zip or pdf, the plug in not make nothing,  but if click on json, txt, or another extension file the plug in show okay the file in the window.

Thank you so much.

img1.png

Rank: #606

How can I get a geo position on a webpage using inapp ? 

I'm using inapp in conjunction of a know webpage where I need a geo location from user device.