Http:// not working when cordova



Hi, I’m trying to create an embed tweet widget in that will use cordova to get a native app.
I’m loading the script (notice I’m using http not https)

The problem is that when I load the widgets script, there’s a call to https and for that reason there’s an error in the certificates (Failed to load resource: The certificate for this server is invalid. You might be connecting to a server that is pretending to be “” which could put your confidential information at risk.)

Can someone help me regarding this issue?

Tweet Widget not working in Cordova and iOS
Embed a tweet on Cordova iOS platforms

The {{}} domain uses a TLS certificate signed with SHA-1, which will fail App Transport Security on iOS 9 or greater.

Are you able to set an exception domain in your Cordova app to allow a connection to {{}}?


Thanks Niall!

However, for some reason, after widgets is called, the iframe is created but without data-tweet-id and the content is not loaded on the iframe. I can see the blockquote twitter-tweet and iframe. Do you know what’s the problem?


This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.