I've been trying out STTwitter in an iOS share extension to send a DM. I get the following error when doing so: Error Domain=NSURLErrorDomain Code=-995
Searched on Stackoverflow and the error is due to disk cache being denied by default to an extension. Adding a shared app group fixes the issue.
Adding the following to STHttpRequest.m:813 fixed the issue.
Hello,
I've been trying out STTwitter in an iOS share extension to send a DM. I get the following error when doing so:
Error Domain=NSURLErrorDomain Code=-995
Searched on Stackoverflow and the error is due to disk cache being denied by default to an extension. Adding a shared app group fixes the issue.
Adding the following to
STHttpRequest.m:813
fixed the issue.Allowing user to set a shared app group name when initialising STTwitterAPI or something similar should help.