Firebase Initialization and Login with email id

By // No comments:
You can use Firebase Authentication to let your users authenticate with Firebase using their email addresses and passwords and to manage your app's password-based accounts.


1. First Initialization in build Gradle file 

2. Next Step 

Click Download google-services.json to obtain your Firebase Android config file (google-services.json).

3. Next Step Create MainActivity java file and initialization firebase authentication in Oncreate() and Onstart()


4. How will log in by Email id with Firebase 

what is a push notification ?

By // No comments:
Definition :

A Notification is a message that pops up on a user's device. Notifications can be triggered locally by an application, or the can be sent/pushed from a server to the user.


  • How to push notification work?

          1. An app implements push notification and the users confirm that he wishes to receive these notification 👉 swipe for an explaining diagram

     2. the user receives a device token, which is generated for example by the Firebase Cloud Messaging server. the device token works as the address that the push notification will be sent to.
  
        3. the server where the backend of the app is running on sends a push notification request to the firebase Cloud Messaging (FCM) server

      4. The FCM then sends the push notification to the user's device

        on the Firebase websites, you can find information on how to implement push notifications I wanted to share some code as well, but I couldn't make it work yet Maybe I can share some at another time :)


Reference :

AutoComplete TextView

By // No comments:
AutoComplete TextView Demo 

AutoComplete TextView Demo also see the GitHub available

    First Create a xml layout in which <AutoCompleteTextview> apply


Second Create a java file in which use java code


Powered by Blogger.