Home Applications irisfirebase

irisfirebase

InterSystems does not provide technical support for this project. Please contact its developer for the technical assistance.
5
1 reviews
0
Awards
181
Views
3
IPM installs
1
1
Details
Releases (2)
Reviews (1)
Issues
Articles (2)
Firebase module for InterSystems IRIS

What's new in this version

New feature added FCM (Firebase Cloud Message) integration

How to Work With it

Initialization

Follow the steps of this tutorial to configure your instance:

https://community.intersystems.com/post/firebase-cloud-messaging-irisfirebase-fcm

Useful commands

Send Message to Token ID:

##class(Firebase.FCM).Send(appName, token, title, body, image, data)

Save Token:

##class(iFirebase.FCM).SaveToken(appName, token, id)

Send Message to Saved ID:

##class(Firebase.FCM).SendMessageToId(appName, id, title, body, image, data)

IrisFirebase module

Use

Clone/git pull the repo into any local directory e.g. like it is shown below
(here I show all the examples related to this repository, but I assume you have your own derived from the template):

$ git clone https://github.com/daniel-aguilar-garcia/irisfirebase

Open the terminal in this directory and run:

$ docker-compose up -d --build

How to Work With it

Initialization

Follow the steps of this tutorial to configure your instance:

https://community.intersystems.com/post/firebase-module-unleashing-power-firebase-realtime-database-intersystems-iris

Useful commands

Create register:

##class(Firebase.RTDB).Create(“appName”,objData,“tableName”,id)

Update register:

##class(Firebase.RTDB).Update(“appName”,“tableName”,id,.objTest)

Read a single register:

##class(Firebase.RTDB).Read(“appName”,“tableName”,id)

Read the whole node:

##class(Firebase.RTDB).ReadTable(“appName”,“tableName”)

Delete a single register:

##class(Firebase.RTDB).Delete(“appName”,“tableName”,id)

Delete the whole node:

##class(Firebase.RTDB).Delete(“appName”,“tableName”)

Made with
Install
zpm install iris-firebase download archive
Version
1.0.127 Jul, 2024
Python package
firebase-admin
Ideas portal
https://ideas.intersystems.com/ideas/DP-I-146
Category
Integration
Works with
InterSystems IRISInterSystems IRIS for HealthInterSystems FHIR
First published
16 Jan, 2024
Last edited
27 Jul, 2024