backend library

Classes

AppVersion
FCMNotification
Frappe
Class for handling Frappe-specific functionality.
FrappeLogManager
Class for handling Frappe-specific Logs
NotificationMessage
Represents the notification map within the FCM Notification object Only contains body & title (Android) In iOS, the data will be appended to this object (Use rawNotification) to access the fields

Extensions

FrappeTime on DateTime
Extension to handle DateTime object for Frappé

Exceptions / Errors

AppNotInstalled
Thrown when an API is called while the backend doesn't have the app installed
AppVersionFormatError
An error thrown when the app version is not in the format x.y.z
EmptyContentError
An error thrown when the content to log is empty
EmptyResponseError
An error thrown when the response is empty
NotCheckError
An error thrown when trying to convert a check docfield where the value is not 0 or 1
NotDocStatusIntegerError
An error thrown when trying to convert docStatus where the value is not 0, 1 or 2