Easily embed Twitter widgets into your Angular application! No more having to kludge together a Twitter script loader, or manage embed state on route/visibility change.
the //platform.twitter.widget.js url give several problems in compiled apps with cordova, because the system take that url like a file file://,
also widget.js always is loaded from internet, which in some cases isn't a good practice for loading time, I resolved this problem including "https://" to the default URL and a function to change it if want to load it from local.
the
//platform.twitter.widget.js
url give several problems in compiled apps with cordova, because the system take that url like a filefile://
, also widget.js always is loaded from internet, which in some cases isn't a good practice for loading time, I resolved this problem including "https://" to the default URL and a function to change it if want to load it from local.