VYou Guides: Android
Published: 2022-08-29 13:23:41

---
title: VYou Guides: Android
published: true
date: 2022-08-23 09:48:49 UTC
tags: 
canonical_url: https://vyou-app.com/en/vyou-guides-android/
---

In this post we are introducing the Android SDK for [VYou](https://vyou-app.com/en/). This library includes a client SDK along with some artifacts and a sample to streamline your workflow. The SDK for Android is written in **Kotlin** using Kotlin Cross-Platform to provide support for Android and iOS applications.

## VYou SDK for Android: a guide

In this tutorial, we’ll explain what the VYou Android SDK is and how to get started with it. The Android SDK consist of the following artifacts:

- [KMM-Client](https://docs.vyou-app.com/guide/android-sdk.html#client): Client to manage operations with VYou authentication server.
- [Android-Google](https://docs.vyou-app.com/guide/android-sdk.html#integration-with-social-libraries): Library to sign in/up in VYou through Google libraries.
- [Android-Facebook](https://docs.vyou-app.com/guide/android-sdk.html#integration-with-social-libraries): Library to sign in/up in VYou through Facebook libraries.
- [Android-Stripe](https://docs.vyou-app.com/guide/android-sdk.html#integration-with-payment-methods): Library to make payments and subscriptions through Stripe.

## Getting Started

After you have completed the [installation](https://docs.vyou-app.com/guide/android-sdk.html#installation) & [updated modules](https://docs.vyou-app.com/guide/android-sdk.html#getting-started), you can **initialize the client** by initializing the VYou class, which is the main entry point for all the operations in the library. In order to create the client, you’ll need to follow our documentation: [https://docs.vyou-app.com/guide/android-sdk.html#initialize-the-client](https://docs.vyou-app.com/guide/android-sdk.html#initialize-the-client)

After initializing the client, you can use it through the application calling VYou.instance (). The client provides functionality to authenticate a user and manage the user’s information.

Each method returns a VYouCredentials class that contains the information to authorize any call covered by VYou auth server. Internally, this information is saved in encrypted shared preferences and can be recovered through these credentials and helper methods to check the user’s session.

If you already have a Google or Facebook implementation in your application, you can use these methods to sign in to VYou, further we will explain the social artifacts that cover the [implementation of social libraries](https://docs.google.com/document/d/14v4B1tClH1ehDCCoVfpQdiL0tKJb-XjS3GEcB7nODf4/edit#heading=h.xibkveyo4vzv).

To register a new user on the platform, firstly we will need to provide an email and the acceptance of the required terms of use & privacy policy. After signing up, the user will receive a confirmation code in the email provided in the previous step. The user must copy this code and enter it to verify registration. Lastly, if the code provided is valid, the user must register a password related to the email.

All these steps are needed to ensure all security steps related to the **OAuth protocol**.

## Profile

Users will have access to the information they will provide to the application via VYou. By creating a profile at VYou users can retrieve or update the current information by following [this guide](https://docs.vyou-app.com/guide/android-sdk.html#profile).

## Payments

VYou offers a Stripe integration to make payments through Stripe, so the SDK provides two methods to create payments through the VYou platform. In case you don’t have an integration with Stripe, we have created a [library](https://docs.vyou-app.com/guide/android-sdk.html#payments) to explain all Stripe integration through the VYou platform.

## Integrations

To facilitate integration with Google and Facebook, we have created several [artifacts](https://docs.vyou-app.com/guide/android-sdk.html#installation-social) to manage login through each platform. To start using them, first install each library you want to use through the VYou Builder that you will find in the VYou Client [getting started](https://docs.vyou-app.com/guide/android-sdk.html#getting-started) section.

VYou also wants to enhance your customers’ experience, the SDK also provides a solution that uses Stripe to make payments and create subscription methods. We have created [libraries](https://docs.vyou-app.com/guide/android-sdk.html#installation-stripe) just to help you out. 

Learn more about VYou asking for a FREE demo [here](https://vyou-app.com/en/contact/). For more details about integrations & code implementation, [check our documentation](https://docs.vyou-app.com/?_ga=2.198402216.626944925.1655714869-1341326018.1644925513).