Open in app

Sign In

Write

Sign In

Sagar Malhotra
Sagar Malhotra

28 Followers

Home

About

Published in

ProAndroidDev

·Pinned

Phone Number Hint API in Jetpack Compose

The Phone Number Hint API is a part of the Google Play services library and uses a PendingIntent to initiate the flow. This means that the user is presented with a UI that lists all of their SIM-based phone numbers. The user can then select the phone number they would…

Androidwithsagar

3 min read

Phone Number Hint API in Jetpack Compose
Phone Number Hint API in Jetpack Compose
Androidwithsagar

3 min read


Published in

ProAndroidDev

·Sep 11

Building a Referral system: Play Install Referrer Library in Android

Pre-requisites: A unique referral code generation mechanism for every user(should be done in the backend). Testing the feature can be done in the developer release of your app. Applying and checking the referral code validation should be done with your backend API request. (Not shown here) Implementation: Sender: This perspective is of the…

Android

4 min read

Building a Referral system: Play Install Referrer Library in Android
Building a Referral system: Play Install Referrer Library in Android
Android

4 min read


Published in

Stackademic

·Sep 5

Firebase Cloud Messaging in Android: Efficiently Handling the Device Token

FCM workflow Overview: A unique identifier of every device is generated each time the fresh(First launch, clear data, re-installing, etc) app is there. We’ll call it Device FCM Token or just Token. Token is required to send PUSH notifications to those particular devices.(We can also group some Tokens and send group notification) You…

Android

5 min read

Firebase Cloud Messaging in Android : Efficiently handling the Device Token
Firebase Cloud Messaging in Android : Efficiently handling the Device Token
Android

5 min read


Published in

Stackademic

·Aug 17

Testing Retrofit API Calls in Android

Retrofit is a type-safe HTTP-Client which you are using in your android project to consume the API responses you want. Why need to test this? Your API development is independent from your android project and it might have some structural changes over the time. So, to ensure everything works fine after the changes, you can…

Android

4 min read

Testing Retrofit API Calls in Android
Testing Retrofit API Calls in Android
Android

4 min read


Published in

ProAndroidDev

·Aug 13

ViewModel Testing with JUnit5, MockK & Turbine

Introduction: Unit testing your viewmodel class is one of the most important step in your Android application development as it is the only place where you manage all your UiState and interact with data layer, so you need to ensure everything works as expected in this layer. JUnit5 is the next…

Android

4 min read

ViewModel Testing with JUnit5, MockK & Turbine
ViewModel Testing with JUnit5, MockK & Turbine
Android

4 min read


Published in

Stackademic

·Aug 12

Using Proto Datastore in Jetpack compose with Hilt

What is Proto Datastore: One of the downsides of SharedPreferences and Preferences DataStore is that there is no way to define a schema or to ensure that keys are accessed with the correct type. Proto DataStore addresses this problem by using Protocol buffers to define the schema. Using protos, DataStore knows what types are…

Android

4 min read

Using Proto Datastore in Jetpack compose with Hilt
Using Proto Datastore in Jetpack compose with Hilt
Android

4 min read


Published in

ProAndroidDev

·Jul 28

Use GoogleMaps and get Marker Address Details in Jetpack Compose

Output:

Androidwithsagar

3 min read

Use GoogleMaps and get Marker Address Details in Jetpack Compose
Use GoogleMaps and get Marker Address Details in Jetpack Compose
Androidwithsagar

3 min read


Jul 17

Show ‘Turn on device location’ Request(like Google Maps) in Jetpack Compose

Output:

Androidwithsagar

4 min read

Show ‘Turn on device location’ Request(like Google Maps) in Jetpack Compose
Show ‘Turn on device location’ Request(like Google Maps) in Jetpack Compose
Androidwithsagar

4 min read


Published in

ProAndroidDev

·May 26

Google SMS-Retriever API in Jetpack Compose

Introduction: The Google SMS-Retrieval API allows Android apps to automatically retrieve SMS messages containing one-time passwords (OTPs) from the user’s device by showing a one-time consent to the user before reading the SMS. This can be used to improve the user experience by eliminating the need for the user to give…

Android

3 min read

Google SMS-Retriever API in Jetpack Compose
Google SMS-Retriever API in Jetpack Compose
Android

3 min read


Apr 21

Firebase Google & Phone Auth in Jetpack Compose

In this article, we will explore how to implement Firebase authentication using Google and Phone Auth in Jetpack Compose and provide step-by-step guidance for developers to create a robust and secure authentication system for their android applications. Pre-requisites These are some basic setup tasks that you have to do by…

Android

5 min read

Firebase Google & Phone Auth in Jetpack Compose
Firebase Google & Phone Auth in Jetpack Compose
Android

5 min read

Sagar Malhotra

Sagar Malhotra

28 Followers

Android | Open Source | YouTube

Following
  • Michal Bialas

    Michal Bialas

  • Simona Milanović

    Simona Milanović

  • Abhishek Pathak

    Abhishek Pathak

  • PINAR TURGUT

    PINAR TURGUT

  • Daniel Galpin

    Daniel Galpin

See all (79)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech

Teams