Quick start Firebase based Android Chat Application
IMPORTANT NOTE -Please replace google-services.json file with yours in app folder
-
In ChatActivity.java the logic used to identify current user and other user is :
- /*** Current user id*/ public static final int MY_ID = 1;
- /*** Other user id*/ public static final int OTHER_ID = 2;
Use this according to your need