Questions tagged [photo-picker]

22 questions
0
votes
0 answers

Saving an image from PhotosPicker to CoreData with SwiftUI

I want to let my users add/save photos using PhotosPicker and CoreData but I'm struggling quite a lot. Actually, I'm fine with IDs, Dates, Values and Strings but not really with Images. I guess everything I need is in this page:…
Alexnnd
  • 429
  • 4
  • 13
0
votes
0 answers

How do you compress selected image to firebase with Swift's PhotoPicker?

I switched from using UIViewController Photo Picker to Swift's new native Photo Picker. The image picker itself works fine but uploading to firebase does not. I want to compress the image to not fill up my Firebase storage too fast. With the old…
user21082368
0
votes
2 answers

How to solve Photopicker error in android Studio?

I have the following code , im receiving an error : enter image description here package com.example.photopicker; import androidx.activity.result.ActivityResultLauncher; import androidx.activity.result.PickVisualMediaRequest; import…
0
votes
2 answers

Photopicker android

I am using retrofit Multipart request to upload an image and it is uplaoding successfully to the server, in another screen I want to implement the functionality to change or delete that image and when I fetch the image from the server I only got the…
0
votes
0 answers

Gallery / PhotoPicker crashes on later Android devices

I have an app that works fine on older Android versions, however, on later (Android 11> onwards) whilst the camera(take photo) function works fine, and permissions are OK I can't use the PhotoPicker function, it just shows blank picker , before…
DannyRoy
  • 81
  • 7
0
votes
0 answers

Optional image into my model return me Hashable error

I'm trying to add Image? on my data model in SwiftUI project for add this image into my array of data with the new PhotoPicker announced on WWDC22. It returns me this error message: Type 'RecipeModel' does not conform to protocol…
Knight E
  • 11
  • 3
0
votes
1 answer

What library is needed for Photo Picker of Android 13?

As provided by https://developer.android.com/about/versions/13/features/photopicker, in Android 13, we have a new Photo Picker. I try the code val intent = Intent(MediaStore.ACTION_PICK_IMAGES) The ACTION_PICK_IMAGES can't be recognized. What…
Elye
  • 53,639
  • 54
  • 212
  • 474
1
2