How to upload image to Firestore in swift

Hi how can I upload an image chosen from the gallery to Firestore ? import UIKit import FirebaseStorage class HomeViewController: UIViewController, UIImagePickerControllerDelegate, UINavigationControllerDelegate { @IBOutlet weak var button: UIButton! @IBOutlet weak var image: UIImageView! let imagePicker = UIImagePickerController() override func viewDidLoad() { super.viewDidLoad() image.makeRoundCorners(byRadius: 20) image.image = UIImage(named: (“upload”)) //Default image } @IBAction func choose(_…

Details

Can I use Spring Batch Admin into Spring-Boot 2.2.2 (latest)?

I’m working with spring-batch project. And I added Dependency like below. <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> <exclusions> <exclusion> <artifactId>snakeyaml</artifactId> <groupId>org.yaml</groupId> </exclusion> <exclusion> <groupId>org.slf4j</groupId> <artifactId>jul-to-slf4j</artifactId> </exclusion> <exclusion> <groupId>org.slf4j</groupId> <artifactId>log4j-over-slf4j</artifactId> </exclusion> <exclusion> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-to-slf4j</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-batch</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> <optional>true</optional> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-configuration-processor</artifactId> <optional>true</optional> </dependency> <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <optional>true</optional>…

Details

Yocto build: Debian Package Management error

I’ve build images with the standard RPM package management, but now that i want to use debian package management instead of RPM, Yocto returns an error in the last steps of image do_rootfs step. The error; update-alternatives: Error: not linking /home/yoctouser/build/tmp/work/myimage/1.0-r0/rootfs/usr/bin/dpkg-deb to /bin/busybox.nosuid since /home/yoctouser/build/tmp/work/jetson_nano-poky-linux/myimage/1.0-r0/rootfs/usr/bin/dpkg-deb exists and is not a link ERROR: myimage-1.0-r0 do_rootfs: Postinstall…

Details