Introduction

Installation

Getting started

React Native Guide

API Documentation

UTILS

· connect()

· connect_v2()

· connectLit()

· isConnected()

· logout()

WRITE

· createPost()

· editPost()

· deletePost()

· react()

· updateProfile()

· setFollow()

· setGroupMember()

· createGroup()

· updateGroup()

· createChannel()

· updateChannel()

· createConversation()

· sendMessage()

· uploadMedia()

GET

· getPosts()

· getPost()

· getReaction()

· getGroup()

· getGroupMembers()

· getIsGroupMember()

· getChannel()

· getDids()

· getProfile()

· getProfilesByUsername()

· getProfileGroups()

· getIsFollowing()

· getProfileFollowing()

· getProfileFollowers()

· getConversations()

· getConversation()

· getMessages()

· getNotifications()

· getCredentials()

· decryptMessage()

· decryptPost()

orbis.getNotifications()

Returns an array of notifications received by the connected user. The user must be connected for this query to work.

How to use?

let { data, error } = await orbis.getNotifications();

Parameters

  • options: A JSON object with the parameters used to retrieve notifications
  • type: Must be social, social_in_context or messages

Examples

/** To query the feed notifications (mentions, likes, replies etc) for the connected user */
orbis.getNotifications({ type: 'social' });

How it works?

Build on Orbis

Ecosystem

Blog

Orbis Web App

Documentation

© Orbis Labs