Skip to content

Downloader working fine in Debug mode but downloads only the first url multiple times in Release Mode #8

Description

@tarzon

Hi
I have used Download Manager to download video files and pictures. The manager works fine when using in debug mode. As soon as i test the application with Ad-hoc certificate with release mode on, the manager downloads the first url only. No matter how many times you provide the new url. I used the delegate methods to implement code. Here's the code :

   NSURL* url = [NSURL URLWithString:obj.streamUrl];
   [IADownloadManager downloadItemWithURL:url useCache:YES];
  //Use delegate or blocks to inform you of the progress
 [IADownloadManager attachListenerWithObject:obj
                              progressBlock:^(float progress, NSURL *url) {
                                  [self downloadManagerDidProgress:progress withUrl:[NSString stringWithFormat:@"%@",url] downloadingObj:obj];
                              }
                            completionBlock:^(BOOL success, id response) {
                                [self downloadManagerDidFinish:success response:response downloadingObj:obj];
                            } toURL:url];

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions