From b89645c7498d6002d1f6cdf2bdf3a93f56310165 Mon Sep 17 00:00:00 2001 From: Vladimir Kotikov Date: Tue, 23 Aug 2016 16:15:38 +0300 Subject: [PATCH] CB-11295 Add WP8.1 quirk when choosing image from photoalbum --- README.md | 10 ++++++++++ jsdoc2md/TEMPLATE.md | 10 ++++++++++ 2 files changed, 20 insertions(+) diff --git a/README.md b/README.md index fef0049..a15680c 100644 --- a/README.md +++ b/README.md @@ -472,6 +472,16 @@ displays: Invoking the native camera application while the device is connected via Zune does not work, and triggers an error callback. +#### Windows quirks + +On Windows Phone 8.1 using `SAVEDPHOTOALBUM` or `PHOTOLIBRARY` as a source type causes application to suspend until file picker returns the selected image and +then restore with start page as defined in app's `config.xml`. In case when `camera.getPicture` was called from different page, this will lead to reloading +start page from scratch and success and error callbacks will never be called. + +To avoid this we suggest using SPA pattern or call `camera.getPicture` only from your app's start page. + +More information about Windows Phone 8.1 picker APIs is here: [How to continue your Windows Phone app after calling a file picker](https://msdn.microsoft.com/en-us/library/windows/apps/dn720490.aspx) + #### Tizen Quirks Tizen only supports a `destinationType` of diff --git a/jsdoc2md/TEMPLATE.md b/jsdoc2md/TEMPLATE.md index 2e53a89..65cdbbc 100644 --- a/jsdoc2md/TEMPLATE.md +++ b/jsdoc2md/TEMPLATE.md @@ -122,6 +122,16 @@ displays: Invoking the native camera application while the device is connected via Zune does not work, and triggers an error callback. +#### Windows quirks + +On Windows Phone 8.1 using `SAVEDPHOTOALBUM` or `PHOTOLIBRARY` as a source type causes application to suspend until file picker returns the selected image and +then restore with start page as defined in app's `config.xml`. In case when `camera.getPicture` was called from different page, this will lead to reloading +start page from scratch and success and error callbacks will never be called. + +To avoid this we suggest using SPA pattern or call `camera.getPicture` only from your app's start page. + +More information about Windows Phone 8.1 picker APIs is here: [How to continue your Windows Phone app after calling a file picker](https://msdn.microsoft.com/en-us/library/windows/apps/dn720490.aspx) + #### Tizen Quirks Tizen only supports a `destinationType` of