Is it possible for the DTTG share extension to share cookies with the DTTG app to prevent this from happening? (From my own programming I know that NSURLSession can technically share cookies, but not sure ofcourse if that fits the design of DTTG)
If not possible: is there a way to prevent DTTG from ‘following’ the link (for specific sites)? Because it grabs the URL and title from Safari first the are correct on the first clip, but actually update to the wrong URL / title.
The work around for this would be an iOS shortcut, but it would be nice if this could be solved with DTTG.
Hopefully not. The share extension is running in your browser, and DTTG is a completely different app. You’re basically asking your browser to leak its content to other apps. Which it will not and should not do.
DTTG is running its own instance of a webview (or something like that) which should have its own cookie jar.
I’m not sure how NSURLSession relates to that. It also hopefully only shares cookies within one app and does not give them away to some completely unrelated different program. If it where, that would be a very huge security blunder. Not that Apple were incapable of those, but even they hopefully do not permit their APIs to leak data to other Apps.
One solution would be to not clip the link but rather the content in a non-HTML format.
That not how I would look at it. It’s the share extension provided by DTTG so in my view they are closely linked. It’s also how it is provided: if you delete DTTG you also delete the share extension as they’re part of the same package.
I wouldn’t mind them having a separate cookie jar (even preferably) but what is problematic in this case is that I can’t influence the cookie jar used by the share extension, leading to the issue I described.
That might be an option indeed - but it would already help if just the original non-redirected URL and page title could be saved. Because those are now redirected to a login page I can’t save the intended (original) URL at all
That would be a workaround indeed - but because the URL is redirected (because no cookies are used to save login details) I simply can’t clip the non-redirected boomkmark (other than by resorting to using a bookmarklet or iOS shortcut)