17
Views
4
Comments
[SafariViewControllerPlugin] [SafariViewControllerPlugin] SafariViewController is not defined in Demo
safariviewcontrollerplugin
Mobile icon
Forge asset by André Gonçalves
Application Type
Mobile
Service Studio Version
11.54.55 (Build 63233)

I tried to run a demo for the SafariViewControllerPlugin to showcase our web app, but when attempting to launch the Safari view, it shows an error message saying 'SafariViewController is not defined.'

Do I need to install any additional dependencies? OutSystemUI, OutSystemMaps, etc. are already installed with the latest version.

Thanks 


Screenshot 2024-04-17 at 10.26.22.png
2021-01-04 08-13-48
Toto
 
MVP

Hi, 

Did you run this on browser on your laptop ?
I think this is need to run natively on the IOS devices.

Thanks

UserImage.jpg
Okadoc Account

Ok thank for the answer
let me try to run natively

UserImage.jpg
Okadoc Account

Hi @Toto
I have tried to run natively on iOS 16, but when I launch the WebView, the app crashes.
Could it be due to lack of support for the latest iOS version?

Thanks

Screenshot 2024-04-22 at 13.48.27.jpg
Screenshot 2024-04-22 at 13.48.21.jpg
UserImage.jpg
Ricardo Silva

Hey @Okadoc Account,

@Toto is right. The plugin description on Forge has the following: "It launches the native SafariViewController on iOS and uses window.open an Android". This means that it can only be run in native apps, not PWAs.

BR.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.