In this short tutorial, you will learn how to use AWS CloudFront Signed Cookies with NodeJS as the server and iOS as clients.

Note: React, iOS and Android implementation will be available soon

Setup CloudFront S3 bucket

Create a key pair for a trusted key group (recommended)

To create a key pair for a trusted key group, perform the following steps:

Create the public–private…


In this short tutorial, you will learn how to use RSA private-public key to achieve end-to-end encryption that compatible with both iOS and Android. This is a simple approach and not the best approach. (According to the internet, best approach is Hybrid encryption with RSA and AES).

This simple approach…


In this short tutorial, you will learn how to write a thread safe API Service using below:

  1. Alamofire
  2. Codable

If you want to learn how to write a thread safe API Service in Android, Follow this

Add dependencies

CocoaPods is a dependency manager for Cocoa projects. For usage and installation instructions, visit…


In this short tutorial, you will learn how to register a domain to your AWS Route53 and get an SSL certificate using AWS Certificate Manager.

Limitation: This free SSL certificate only valid for ACM Integrated Services

Register your domain to AWS Route53

If you don’t have a domain with you, you can purchase it directly from…


In this short tutorial, you will learn how to write a thread safe API Service using below:

  1. Retrofit2
  2. Okhttp3
  3. Kotlin Coroutines
  4. Gson
  5. ViewModel

If you want to learn how towrite a thread safe API Service in iOS, Follow this

Add dependencies

Add below dependencies to your app level build.gradle

//Retrofit2
implementation "com.squareup.retrofit2:retrofit:<version>"
implementation "com.squareup.retrofit2:adapter-rxjava2:<version>"
implementation…


In this short tutorial, you will learn how to get the number of faces from a UIImage using CIDetector and Swift. CIDetector supports on-device face detection.

If you want to learn how to get the number of faces in Android, Follow this

FaceCountManager

Write a Singleton class and a method to…


In this short tutorial, you will learn how to get the number of faces from a bitmap image using FirebaseVision and Kotlin. FirebaseVisionFaceDetector supports both on-device and cloud base face detection.

If you want to learn how to get the number of faces in iOS, Follow this

Add Firebase to your Android project (more)

  1. Create a Firebase…

Nipun Ruwanpathirana

Software Engineer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store