Re: Oauth2 (Dropbox) on iOS

2018-07-31 Thread Ben Rubinstein via use-livecode
Thanks Monte. > As I just commented on the bug report you should be able to resolve this using the following plist entry: That solution does work, but only on iOS 10 or later, so prevents apps from earlier working. > This is actually a general issue for anyone wanting to run a little in

Re: Oauth2 (Dropbox) on iOS

2018-07-25 Thread Monte Goulding via use-livecode
> On 26 Jul 2018, at 12:54 am, Ben Rubinstein via use-livecode > wrote: > > I've been trying with some variations of this - so far without success! Hi Ben As I just commented on the bug report you should be able to resolve this using the following plist entry: NSAppTransportSecurity

Re: Oauth2 (Dropbox) on iOS

2018-07-25 Thread Ben Rubinstein via use-livecode
Hi Panos, Thanks for looking this up for me. I've been trying with some variations of this - so far without success! QC #21444 would also help! best regards, Ben On 25/07/2018 15:21, panagiotis merakos wrote: BTW if you want to add a whitelist for ATS in the plist, here are some more

Re: Oauth2 (Dropbox) on iOS

2018-07-25 Thread panagiotis merakos via use-livecode
BTW if you want to add a whitelist for ATS in the plist, here are some more details on which keys/values you need and how to add them: http://forums.livecode.com/viewtopic.php?f=49=28294 Best, Panos -- On Wed, Jul 25, 2018 at 3:16 PM, panagiotis merakos wrote: > Hi Ben, > > The "App URL Query

Re: Oauth2 (Dropbox) on iOS

2018-07-25 Thread panagiotis merakos via use-livecode
Hi Ben, The "App URL Query Whitelist" field is for specifying a list of custom url schemes that the standalone can launch (using the "launch URL custom_url_scheme" command) on iOS 9+. See bug https://quality.livecode.com/show_bug.cgi?id=18687 for more details. Best, Panos -- On Wed, Jul 25,

Re: Oauth2 (Dropbox) on iOS

2018-07-25 Thread Ben Rubinstein via use-livecode
Aha! Thanks Sean, that was a good tip: I now understand the problem. On simulator, my cut-down test app worked fine. On device, console shows: App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your

Re: Oauth2 (Dropbox) on iOS

2018-07-24 Thread Pi Digital via use-livecode
Open a console with either the device connected or the simulator and see what calls are made when the allow button is pressed > On 24 Jul 2018, at 19:20, Ben Rubinstein via use-livecode > wrote: > > I feel I've been through this before, but I've not been on it for a while, > and I'm still

Oauth2 (Dropbox) on iOS

2018-07-24 Thread Ben Rubinstein via use-livecode
I feel I've been through this before, but I've not been on it for a while, and I'm still (again) stuck. Using Oauth2 to connect an app to the Dropbox API works fine on desktop. On iOS, I get the overlay; with the Dropbox log-in; I sign in, and it then shows the message that this app would