Hi Don,
The issue probably is with the Cordova environment, here’s why: The Web Intent supports being instantiated in pop-ups, as pages/tabs in mobile browsers, and as standalone pages through regular web navigation. The “Close” UI therefore only applies in some contexts, and we toggle the button (plus window.close() behaviour) where it’s available.
Regular browsers, and mobile browsers with tabs, maintain a concept of page hierarchy via the window.parent property, when window.parent is available, we enable the ‘close’ button, as this indicates that the window will have permission to close itself (browsers do not tend to allow pages to close windows that scripts did not also create, lest the user experience be unexpectedly hijacked.)
My understanding of the PhoneGap environment is that by default there is only a single page canvas, so there is probably no window.parent, and so the Intent would be unable to close itself.
To compensate for this environment, in your website app you would need to listen for links to the Intents and perhaps open them in a dedicated browser context, or alternatively listen for an /intent/tweet/complete path and trigger the navigation based on that.
Hope that helps,
Ben