Hello everyone,
I am trying to use the Twitter JavaScript SDK to display embedded Tweets in a Cordova / Ionic application. And it is not working.
It works perfectly well with the embed codes suggested on the Twitter website if I use it in a classic website or even on Android using Cordova / Ionic.
However it does not work when running the same code under iOS. The network requests can be seen but the embedded HTML stays “unrendered”.
If I try to create a tweet with the SDK (see: https://dev.twitter.com/web/javascript/creating-widgets) an iframe is created but it only contains an empty HTML container. I tried a lot using different approaches and debugging but I cannot seem to find the problem.
There are lots of threads around the web (and here as well: Unable to embed timeline in Ionic App but closed whatsoever). I cannot find real solutions so I try to open up this topic again and bring it to a solution hopefully.
If more info is needed I am happy to provide everything needed.