files not picked up by Ipad

Questions and answers on designing your Servoy solutions, database modelling and other 'how do I do this' that don't fit in any of the other categories

files not picked up by Ipad

Postby stefan » Fri Mar 03, 2017 4:03 pm

Greetings all,

I'm struggling with a mysterious issue with my solution and Ipads.

My customers can store files in the database so they can view them in the field when nessecairy.
When a document is asked for a temp file is made and send to the user with

Code: Select all
.....
plugins.file.writeFile(_name, _file.getBytes(), _file.getContentType())


This all works fine on all platforms / devices EXCEPT on an Ipad
Wierd thing is: it does work in my development enviroment, but not live.

Does anyone have a clue why / how to fix that? (Apple wasn't helpfull at all)

Thanks in advance.

Stefan.
Last edited by stefan on Mon Mar 06, 2017 4:44 pm, edited 1 time in total.
stefan
 
Posts: 2
Joined: Mon Nov 14, 2016 3:29 pm
Location: Hazerswoude-Dorp, NL

Re: files not picked up by Ipad

Postby Bernd.N » Sun Mar 05, 2017 9:33 am

You may want to post an issue in Servoy's JIRA system.
It could be an authorisation issue, so that the Ipad operation system does not allow that plugin or Servoy to write the file.
Maybe you could check if the user has writing permit when logged in with Servoy.
Bernd Korthaus
LinkedIn
Servoy 7.4.9 SC postgreSQL 9.4.11 Windows 10 Pro
User avatar
Bernd.N
 
Posts: 544
Joined: Mon Oct 21, 2013 5:57 pm
Location: Langenhorn, North Friesland, Germany

Re: files not picked up by Ipad

Postby stefan » Wed Mar 08, 2017 3:36 pm

After extended testing with several configurations, I conclude it's a bug that snug in with servoy 7. The Ipad doesn't have this issue with servoy 5. Will post bug report.

Stefan
stefan
 
Posts: 2
Joined: Mon Nov 14, 2016 3:29 pm
Location: Hazerswoude-Dorp, NL


Return to Programming with Servoy

Who is online

Users browsing this forum: Bing [Bot] and 7 guests