Hi,
Same program as I've discussed before (.net running on UWP and Android) I'm having an issue when it runs on Android (works as expected on UWP. In fact I haven't even touched this particular code in months, but has only just stopped working on Android). In this case I've over-ridden the app settings with a hard-coded path so that it really is the exact same file in the exact same location on both devices. 😉
Trying to get the metadata for the file I'm uploading, Visual Studio is saying that my "metadata" variable, which is the output of the operation, is null! It's an output variable, so it's taking the output of the operation and having that assigned to it. It starts out null, and then (hopefully) ends up not null. Normally only get Null exception for an input file, not an output file!
I'm not getting any messages from Dropbox - errors or otherwise - so I can't be sure if UploadAsync is actually running or not. i.e. is VS throwing the exception at the start or the end of the operation? Is there a way to get UploadAsync to display some output either way so that I can see if it's executing? Or do you have any ideas on what's happenning here? I'm thinking it's not getting that far, cos if it ran and failed then the code should then go to the catch statement. See screenshot of code (VS is stopping at line 305, but only on Android, not UWP).
