AleksanderMielczarek / ObjectBoxExample

Project showing usage of ObjectBox

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ObjectBox Example

Project showing usage of new mobile object database ObjectBox.

Application receives push notifications and shows them on list. Notifications can be:

  • removed
  • marked as read

Notifications on list are refreshed automatically.

Screenshot

Setup

In order to setup project you have to create new Firebase project with applicationId of this one. Than download google-services.json and put in app folder. Server key for sending messages can be found in Cloud Messaging tab in Firebase project settings.

To send notifications:

https://fcm.googleapis.com/fcm/send
Content-Type:application/json
Authorization:key=AIzaSyZ-1u...0GBYzPu7Udno5aA

{
  "to": "/topics/notifications",
  "data": {
    "title": "Some title",
    "body": "Some body"
  }
}

Other used libraries

About

Project showing usage of ObjectBox


Languages

Language:Java 100.0%