box / box/box-android-sdk

Uploading files in Box using android app built in c# - Xamarin Android

Open
#355 2 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
Java
Stars
64
Forks
66
PR merge metrics
No merged PRs in 30d

Description

Hi,

We have an android app (built in c#- Xamarin Android + VS 2015) that running some tests and periodically the user upload the results. Every session has 4 to 20 files that need to be uploaded in Box account and the app usually has few sessions when the user decide to upload them. (3 to 20 sessions and every session has 4 to 20 files).

For every session the app will create a new folder. The android app was build at the end of 2017 (when passed all tests inclusive for uploading multiple sessions) and was very little used. A week ago when we retested again, we realized the app is not longer uploading more than 2 sessions.

After more tests we decided to create a new test android app only with this procedure of creating folders and uploading files in Box. The result are: we are not able to create more than 7 folders and upload files in them. After this number of folders the app is stopping and we are getting the error: {System.Threading.Tasks.TaskCanceledException: A task was canceled. at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x00026] in <7bb7d540a0364b6f8b3548406f3346c8>:0 at System.Runtime.CompilerService...

The original app is now able to upload only two sessions and after that is throwing the same error.

We tried to create another android test app and use Box API 3.6.0 but without success. It seems the new Box SDK 3.6.0 is not compatible with Android 7.1 - API 25. We are using .Net and Visual Studio 2015 & Xamarin for Android.

I opened this case with Box User Services Box but they responded: "Please file this as an issue against the Android SDK in GitHub"

Thank you,
Radu

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.