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