Nayef
Posts: 0
Joined: Mon Jun 17, 2013 4:08 pm

How to download a file using javascript

Unfortunately , I was wrong

The result is different when i install the app in my phone
It doesn't work any more , I'm sorry

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

How to download a file using javascript

Hello! But it's working in browser?
On what device/OS version do you test?

Nayef
Posts: 0
Joined: Mon Jun 17, 2013 4:08 pm

How to download a file using javascript

Hi , yes it's working in browser
Android 4.1.2

Nayef
Posts: 0
Joined: Mon Jun 17, 2013 4:08 pm

How to download a file using javascript

Hi,

1- When i copy the download link to my phone browser and hit enter .. he start downloading without authorization so Why i need authorization to download pdf file from inside the app ?

2- What is curl command ?

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

How to download a file using javascript

Is your app shared with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a (http://docs.appery.io/documentation/s...) so we can test? Please do it and tell its name.

Nayef
Posts: 0
Joined: Mon Jun 17, 2013 4:08 pm

How to download a file using javascript

Done , Project name : Test Project

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

How to download a file using javascript

Hi,

Please delete the header for authorization, you don't need it. After you delete it the first button works properly on Nexus7 4.3. The first button works on browser only, the second one is for the built apk/ipa app only.

Nayef
Posts: 0
Joined: Mon Jun 17, 2013 4:08 pm

How to download a file using javascript

It doesn't work both ways
my device is Galaxy Note GN7000

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

How to download a file using javascript

Hello! Is your "Test Project" app still shared with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a?

Helen
Posts: 0
Joined: Wed Aug 28, 2013 8:35 pm

How to download a file using javascript

Hello,
I experience the same problems & errors running sample FileTransfer code on Android device.

It fails whether I'm running Appery Test App or install .apk.

Can someone please have a look?

My app GoldBelt is already shared. Test code is on DataSynch page upon device ready.

Thank you!
Helen

Return to “Issues”