Code Monkey home page Code Monkey logo

Comments (3)

MestOfBasters avatar MestOfBasters commented on June 16, 2024

I made a new Project with 2019.3.9f1 and integrated the BackgroundDownloader to test, if any settings of my main-project is blocking the Process. Still the same.

What I experience:

  • I tought the Callback "android.intent.action.DOWNLOAD_COMPLETE" (that is included in your backgrounddownloader-AndroidManifest) is not in the final AndroidManifest and therefore is missing to get called/ handled.
  • It seems, that the downloader won't start and handle the download: The code "starts" the download, but nothing is in progress, the data wont get loaded. It won't start in the background, then it jumps to "_download.status == BackgroundDownloadStatus.Failed".

from backgrounddownload.

MestOfBasters avatar MestOfBasters commented on June 16, 2024

I assumed a long time, that the "temp/StagingArea"-AndroidManifest is the final manifest, and therefore has not included the same content as the backgrounddownloader-AndroidManifest - but the only legit/final AndroidManifest is in the APK itself (which is including the right content).

Now I'm not really further:

  • it still won't start the Download
  • instant getting "_download.status == BackgroundDownloadStatus.Failed"
  • the "_download.error" is "Unknown Error".

I'm still kind of confident finding the issue I have/made.
Any suggestions would be nice.
I'll keep you updated.

from backgrounddownload.

MestOfBasters avatar MestOfBasters commented on June 16, 2024

I added following to my custom "proguard-user.txt":

-keep class com.unity3d.backgrounddownload { *; } -keep class com.unity3d.backgrounddownload.** { *; } -keep class com.unity3d.backgrounddownload.BackgroundDownload { *; } -keep class com.unity3d.backgrounddownload.CompletionReceiver { *; } -keep class com.unity3d.backgrounddownload.CompletionReceiver$Callback { *; }

now its working...

Additionally, one of my urls had a typo and thats why I had the "Unknown Error" on that part (changed some paths, since last working test).

from backgrounddownload.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.