OSAuth plugin - improve performance
147
Views
4
Comments
New
Mobile

While looking at logs for my Android app I discovered the following:

W/PluginManager(31282): THREAD WARNING: exec() call to OSAuth.startFlow blocked the main thread for 106ms. Plugin should use CordovaInterface.getThreadPool().

OSAuth is a plugin managed by OutSystems that is automatically bundled with mobile apps. 

It seems like there is an implementation problem that affects performance by blocking the main thread (and therefore blocking rendering). This is visible in SSO flows where UI becomes briefly unresponsive. Could this be improved?





Hi Tiago,

I think it would make more sense to report this through a support case.

Regards,

Daniel

Hi @Daniël Kuhlmann,

It makes sense for sure! Unfortunately, from my experience, reports like this get thrown in the "problem bag" with the "investigation on hold" status that never gets picked up. Alternatively, I've also been told to submit a support case as an idea like improving SSO plugin and concurrent requests on offline data sync, among others.

Perhaps I should create an idea about not deferring actual problems to ideas 😅

Hi Tiago,

We will pick up on this. Thanks for the feedback. 

Great to hear! Thanks @Filipe Fernandes