Is "OPEN URL" working?

dimsdaledimsdale Member, PRO Posts: 481
edited December 2022 in Tech Support

I need to put together a quick app that loads an embedded website.

I can't find anything in the cook book any more, I'm sure there used to be something there??

something like this should work??

I just get a blank white screen with the word "close" on a black bar on the top left.

using an iPhone 12, tested build in TestFlight.

Comments

  • The GlessnerdThe Glessnerd Member, PRO Posts: 54

    I have it in my current bills and it works as it should. However, mine redirects to email, not a website

  • adent42adent42 Key Master, Head Chef, Executive Chef, Member, PRO Posts: 2,761

    Can you DM me your project? It should work fine, but we haven't touched that code for iOS in a while so it may need updating.

    I'm asking for your project publishing link, because sometimes it's project specific so that just save me time since I'd likely be looking at this over the weekend.

  • dimsdaledimsdale Member, PRO Posts: 481

    thank you @adent42

    let me know if you didn't get me message, I'm not sure it sent or not.

  • dimsdaledimsdale Member, PRO Posts: 481

    any updates on this?

    thanks in advance.

  • adent42adent42 Key Master, Head Chef, Executive Chef, Member, PRO Posts: 2,761

    I DMed @dimsdale, but for everyone else who is wondering:

    iOS has a thing called App Transport Security and that's interfering with the openURL behavior.

    It will take us a few days to add configs for that setting in publishing UI, so you'll have to do it manually until then:

    You will need to add the following in your plist (so build, download, edit plist, sign using iOS App Signer).

    • Right Click and "Show Package Contents"
    • Open Info.plist
    • Look for "App Transport Security Settings" or "NSAppTransportSecurity"
    • Under that look for "Exception Domains" or "NSExceptionDomains"
    • Click the ">" to the left of the above key to it so it points down "⌄".
    • Click on the + the right to and enter your domain in that new plist entry.
    • Do that for every domain you want to open.


Sign In or Register to comment.