[SSL Pinning Plugin] [ErrorScreen] Cannot read property 'apply' of undefined

Forge Component
Published on 12 Feb by OutSystems R&D
1 vote
Published on 12 Feb by OutSystems R&D

Hi, I am trying to apply the ssl pinning plugin in my app, and now the app does not open, it stays in the screen "There was an error processing your request.  Reload" and I started seeing these two errors on service center: 

[ErrorScreen] Cannot read property 'apply' of undefined

[ErrorScreen] controller.user_Logout$ServerAction is not a function

Can anyone help?


It is solved with the help of outsystems suport,

It was two things, this component does work well with the multilangual component

and the dummy key that is needed when we do not have a second certificate, for iphone needs to be the one shown on the example configuration file on the documentation. 


Hi, Filipe.
Thank you for sharing the cause of the issue. I'm facing the same problem.

Did you manage to [somehow] make SSL Pinning get along with Multilingual, or you had to choose which component to keep?

Hi Teodomiro, I had to clone the multilingual plugin

I changed the "AddTranslationFromResource" action and on the js "LoadResource" I removed this line "xhr.overrideMimeType('text/json; charset=utf-8');"

Thank you for your quick reply, Filipe!!!

I'm gonna try that.