Notification Settings

Step 1: Creating Firebase Project

  1. Log into your Email account
  2. Go to
  3. Click on Add project 
  4. Complete all settings there until the project has been created
  5. On the final step,You will get Your new project is ready, click on Continue button

Step 2: Creating Firebase Database

  1. Expand Develop menu
  2. Click on Database
  3. Click on Create Database
  4. Scroll down to Realtime Database
  5. Click on Rules tab and put the following code to Rule Setting area. You need to replace the default code that is already there. So delete and replace all code. Then click the “Publish” button to complete. { /* Visit to learn more about security rules. */
  /* Visit to learn more about security rules. */
  "rules": {
    "connections": {
      ".read": true,
      ".write": true  
    "blockedList": {
      ".read": true,
      ".write": true  
    "deviceTokens": {
      ".read": true,
      ".write": true  
    "messages": {
      "chats": {
         "$messageID": {
           ".read": "!data.exists() || data.child('fUser').val() == auth.uid || data.child('sUser').val() == auth.uid",
    	     ".write": "!root.child('messages').exists() || !root.child('messages').child('chats').exists() || (root.child('messages').child('chats').child($messageID).child('fUser').val() == auth.uid || root.child('messages').child('chats').child($messageID).child('sUser').val() == auth.uid) || !root.child('messages').child('chats').child($messageID).exists() || (!root.child('messages').child('chats').child($messageID).child('fUser').exists() || !root.child('messages').child('chats').child($messageID).child('sUser').exists())"
      "users": {
        "$uid": {
      		".indexOn": ["userID", "active", "new", "timestamp", "displayName"],
            ".read": true,
            ".write": true
      ".read": true,
    	".write": true

Step 4: Enable Email in Firebase Authentication

  1. Click on Authentication
  2. Navigate to Sign-in Method 
  3. Enable Email option

Step 4: Uploading Google Private Key File to your website

  1. Click on Project Overview -> Select Users and Permissions
  2. Click on Manage their permissions / Advanced Project Settings link
  3. Click on Service accounts -> Create Key
  4. Select JSON format -> Download it
  5. Log into your website
  6. Click on Wiloke Tools -> Notification Settings -> Upload the downloaded file

Step 4: Firebase Message Configuration

  1. Click on Project Settings
  2. Click on Add Firebase to your web app -> Click Register App -> Next until finish.
  3. Now, You are in Project setting area -> Scroll to Web apps area -> Click on Config
  4. A window popup will appear, it contains your Firebase Information. Log into your site -> Wiloke Tools -> Notification Settings -> Firebase Configuration -> Using the information in the Firebase Popup to complete all settings here.

    Please notice, the firebase database url must have the url end with “”
    If the database url not end with “”, you need to create new database, with the location of the firebase is US ( to make sure the database url end with *, then get the database url of newly created database to add to Wilcity Notifications.

Step 5: Config Push Notification in Android App

Please follow:

Leave A Comment?