Banner Tap Behavior Error

Avatar

Avatar

MmxmD

Avatar

MmxmD

MmxmD

10-08-2016

We get an error when tapping a banner that goest to pinterest.com. It is only happening on iOS. It has only been happening since the AEM update where banners can link to more than websites. We've tried "http" and "https". The error text is:

Cannot Open Page
This page cannot be opened because of an error.
The error is "The URL can't be shown" (101).

Accepted Solutions (0)

Answers (5)

Answers (5)

Avatar

Avatar

Christophe_Joss

Employee

Avatar

Christophe_Joss

Employee

Christophe_Joss
Employee

26-08-2016

our engineers state the root cause is that the web page executes some javascript automatically upon load which redirects the url to Pinterest:// xxxx. So if Pinterest is not installed, UIWebView will report an error that the URL could not be opened.

I do not have a timeframe yet but this behaviour will change to ignore the error in future AEMM release.

Hope that helps

Avatar

Avatar

Christophe_Joss

Employee

Avatar

Christophe_Joss

Employee

Christophe_Joss
Employee

11-08-2016

I could swear it was working when I first tested! I'm now getting the same error on tablet and phone. I'll test again today and see if I can get more info on this.

UPDATE: in fact everything works when you have the Pinterest App installed on device. I had removed the App from while testing and I'm now getting the error.

The error is not on the page you request but it looks more like the pages have a redirection pointing to the App on iTunes that does not work well in the in-App browser. I also did a network communication capture and I see page not found on 'https://www.pinterest.com/resource/UserSessionResource/create/', not sure if that is related.

I will pass this on internally.

Avatar

Avatar

Ana_Laura_Gomes

Avatar

Ana_Laura_Gomes

Ana_Laura_Gomes

11-08-2016

did not work for me either.

so, i've checked the URL at browser and, because i'm in brazil, it was transformed to: https://br.pinterest.com/lowes/prepare-to-be-floored/

so, i put these url at banner and worked fine.

but it's not a good answer, i believe... why the internal browser on AEM couldn't support the region of URL from Pinterest?

kind regards!

Avatar

Avatar

MmxmD

Avatar

MmxmD

MmxmD

11-08-2016

It's only on Pinterest. One of the URLs we are trying to go to is http://pinterest.com/lowes/prepare-to-be-floored/

IMG_0002.PNG

Avatar

Avatar

Christophe_Joss

Employee

Avatar

Christophe_Joss

Employee

Christophe_Joss
Employee

11-08-2016

Hi Matt,

I just tested in both AEM Preflight and custom viewer and it works fine. I'm presented with the website within the in-app browser and since I have the Pinterest App installed on device, I get a pop-up asking me whether or not I want to open directly in the App itself.

I'm not sure what's going on here, do you only have the issue with 'pinterest.com' or other websites as well?

Screen Shot 2016-08-11 at 09.56.14.png