Uncaught TypeError: Cannot read property 'app' of undefined

I’m using an ads SDK and it throws this error :

Does anyone knows, why playcanvas wraps ads SDK’s?
I tried with Adinplay and Poki SDK’s, both of them doesn’t work properly with Playcanvas.
They work without playcanvas properly.

For some reason, Playcanvas catches these errors or handles them.

Without seeing the code on how you have integrated it, it’s impossible to tell what the issue is. Can you provide a minimal sample project please?