Build and Run Open Source Messenger
Welcome to Part 2 of the tutorial! In this section, we will download the source code of Messenger apps and build it on a real device. Let's get started!
Downloading the Source Code
The latest Messenger App code is regularly updated mesibo GitHub repositories. Follow the instructions below to download Messenger code for language and platform of your choice:
$ mkdir Messenger
$ cd Messenger
$ git clone https://github.com/mesibo/messenger-app-android.git
$ mkdir Messenger
$ cd Messenger
$ git clone https://github.com/mesibo/messenger-app-android-kotlin.git
$ mkdir Messenger
$ cd Messenger
$ git clone https://github.com/mesibo/messenger-app-ios-swift.git
$ mkdir Messenger
$ cd Messenger
$ git clone https://github.com/mesibo/messenger-app-ios.git
$ mkdir Messenger
$ cd Messenger
$ git clone https://github.com/mesibo/messenger-javascript.git
Ensure to Star(*) the project on GitHub to get notified whenever the source code is updated.
Build and Run
Now, let's proceed to build and run the code.
For Android, open Messenger project in Android Studio, build and Run.
For iOS, open Messenger project in Xcode, build and Run.
For JavaScript Messenger, host Messenger code on a secure (https) website and load index.html
in a browser window.
That's it! You should now see the welcome screen followed by the login screen of the Messenger app. You can log in using a phone number and start using the app to communicate with your family and friends. How cool is that?
Please remember that for this demo, you need to generate the OTP yourself by logging into your [mesibo account]]( https://console.mesibo.comopen_in_new) and following the instructions in the "Demo Apps" menu. In the later part of this tutorial, we will cover how to automatically send OTPs to your users.
Conclusion
Congratulations! In this part, we successfully built and ran the Messenger app. You're one step closer to creating your own messaging platform.
In next part, we will learn about customizing.