We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3febe68 commit 6ccb0b0Copy full SHA for 6ccb0b0
android/src/main/java/com/capacitorjs/plugins/camera/CameraPlugin.kt
@@ -90,7 +90,7 @@ class CameraPlugin : Plugin() {
90
ionFlow.load()
91
}
92
93
-
+ @Deprecated("Use either takePhoto for CameraSource.Camera or chooseFromGallery for CameraSource.Photos")
94
@PluginMethod
95
fun getPhoto(call: PluginCall) {
96
legacyFlow.getPhoto(call)
@@ -126,6 +126,7 @@ class CameraPlugin : Plugin() {
126
ionFlow.editURIPhoto(call)
127
128
129
+ @Deprecated("Use chooseFromGallery instead")
130
131
fun pickImages(call: PluginCall) {
132
legacyFlow.pickImages(call)
0 commit comments