Firebase

This blog post is more of a cheat sheet type on how to use UIImagePickerController in Swift with Firebase to upload a user profile image to Google cloud. I am also going to include here a video demonstration taken from my video course “Firebase and Swift: Practical examples“. This video will demonstrate the use of the below code…

Read More UIImagePickerController in Swift with Firebase. Cheat Sheet.

This page lists down different Swift code snippets which demonstrate how to work with Firebase Realtime Database. I like to have this page handy when working a mobile app for iOS platform with Swift and Firebase. Set up Firebase Realtime Database Dependencies to install with Cocoapods pod ‘Firebase/Database’ Configure a FirebaseApp shared instance, in your application’s…

Read More Firebase Realtime Database Cheat Sheet

Add Required Libraries to Xcode Project with Cocoapods pod ‘Firebase/Core’ pod ‘Firebase/Messaging’  Enable Push Notifications in Capabilities Tab Enable Background Modes in Capabilities Tab Note: Additionally to enabling the Background Modes, you also need to enable the Remote notifications mode by checking its checkbox as shown in the image below. AppDelegate.swift – Libraries to Import import…

Read More Push Notifications with Firebase Cloud Messaging – Cheat Sheet

With this blog post, I would like to share with you how to send Silent Push Notification using CURL or Postman HTTP client via Firebase Cloud Messaging and how to receive silent push messages in your mobile app built with Swift. Silent push messages when received by your mobile app are not displayed to user…

Read More Silent Remote Notifications with Swift and Firebase