You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The plugin uses the `ANDROIDX_CORE_VERSION` variable to configure `androidx.core:core` dependency. This allows to avoid conflicts with other plugins that have the dependency hardcoded.
50
+
If no value is passed, it will use `1.6.+` as the default value.
More examples [here](#camera-getPicture-examples). Quirks [here](#camera-getPicture-quirks).
175
177
@@ -472,16 +474,6 @@ displays:
472
474
// do your thing here!
473
475
}, 0);
474
476
475
-
#### Windows quirks
476
-
477
-
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
478
-
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
479
-
start page from scratch and success and error callbacks will never be called.
480
-
481
-
To avoid this we suggest using SPA pattern or call `camera.getPicture` only from your app's start page.
482
-
483
-
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)
@@ -567,12 +559,6 @@ function displayImage(imgUri) {
567
559
}
568
560
```
569
561
570
-
To display the image on some platforms, you might need to include the main part of the URI in the Content-Security-Policy `<meta>` element in index.html. For example, on Windows 10, you can include `ms-appdata:` in your `<meta>` element. Here is an example.
## Take a Picture and Return Thumbnails (Resize the Picture) <aname="getThumbnails"></a>
577
563
578
564
To get smaller images, you can return a resized image by passing both `targetHeight` and `targetWidth` values with your CameraOptions object. In this example, you resize the returned image to fit in a 100px by 100px box (the aspect ratio is maintained, so 100px is either the height or width, whichever is greater in the source).
0 commit comments