Filepicker.io upload fails with mobile safari full-screen -
filepicker.io works fine if use single-page angular.js app using desktop, ipad, or iphone directly mobile safari. if add website iphone homescreen, , run app using:
<meta name="apple-mobile-web-app-capable" content="yes"> then app fails upon choice of picture when selecting camera. displays red bar error, effect of "end results screen failed. please close window , try again..."
short version: use {container} option open filepicker.io iframe in page in case.
more full explanation: default mobile behavior open in new window, , current ios model spawn new safari instance homescreen apps off window.open(). when filepicker.io sends data calling app, safari sandboxing prevents data being transmitted, causing error seen.
to fix behavior, can force filepicker.io open in iframe in page using {container} property.
Comments
Post a Comment