• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Adobe air on iOS - FileReference Download Error

Guest
Oct 03, 2014 Oct 03, 2014

Copy link to clipboard

Copied

I guys,

when I use the Download method of the FileReference class, everything works fine on Desktop and Android, but I get an error on iOS.

This is the code:

var req = new URLRequest(url); 
var localRef:FileReference = new FileReference();
localRef
.download(req);

On iOS I'm getting an Alert:

Download Error
File downloads not supported.

I already tried to NavigateToUrl() and it asks save the file in Dropbox or another App.

How can I fix this error?

Thanks!

TOPICS
Development

Views

301

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Oct 05, 2014 Oct 05, 2014

Copy link to clipboard

Copied

LATEST

What are you intending to do with the downloaded file? Will it be used solely by the app, or you attempting to download some othe media (photo, video, music, etc.) to be referenced outside the app.

If you want to do the former I think I can help...

The later, I am not sure how to, or if you can, do.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines