ProtectedProviderReturns the name of this provider for use in error messages. Override in subclasses to provide a more descriptive name.
Archives a message. Override in subclasses that support this operation.
Parameters for archiving the message
Optionalcredentials: ProviderCredentialsBaseOptional credentials override for this request
Promise
Expo push has no draft concept; creating drafts is not supported.
Optionalcredentials: ExpoPushCredentialsDeletes a message. Override in subclasses that support this operation.
Parameters for deleting the message
Optionalcredentials: ProviderCredentialsBaseOptional credentials override for this request
Promise
Downloads an attachment from a message. Override in subclasses that support this operation.
Parameters for downloading the attachment
Optionalcredentials: ProviderCredentialsBaseOptional credentials override for this request
Promise
Expo push is send-only; forwarding is not supported.
Optionalcredentials: ExpoPushCredentialsExpo push is send-only; retrieving messages is not supported.
Optionalcredentials: ExpoPushCredentialsGets a single message by ID. Override in subclasses that support this operation.
Parameters for retrieving the message
Optionalcredentials: ProviderCredentialsBaseOptional credentials override for this request
Promise
Push is a real-time, send-only channel — only SendSingleMessage is supported.
Lists attachments on a message. Override in subclasses that support this operation.
Parameters for listing attachments
Optionalcredentials: ProviderCredentialsBaseOptional credentials override for this request
Promise
Lists folders/mailboxes available in the provider. Override in subclasses that support this operation.
Parameters for listing folders
Optionalcredentials: ProviderCredentialsBaseOptional credentials override for this request
Promise
Marks message(s) as read or unread. Override in subclasses that support this operation.
Parameters for marking messages
Optionalcredentials: ProviderCredentialsBaseOptional credentials override for this request
Promise
Moves a message to a different folder. Override in subclasses that support this operation.
Parameters for moving the message
Optionalcredentials: ProviderCredentialsBaseOptional credentials override for this request
Promise
Expo push is send-only; replying is not supported.
Optionalcredentials: ExpoPushCredentialsSearches messages using a query string. Override in subclasses that support this operation.
Parameters for searching messages
Optionalcredentials: ProviderCredentialsBaseOptional credentials override for this request
Promise
Sends a single push notification via the Expo Push API.
Maps the framework message model onto the Expo payload:
message.To → the recipient Expo push tokenmessage.ProcessedSubject (fallback message.Subject) → titlemessage.ProcessedBody (fallback message.Body) → bodymessage.ContextData.pushData / .data → dataThe processed message to send.
Optionalcredentials: ExpoPushCredentialsOptional per-request credential override. When omitted, the Expo access token (if any) is read from the environment.
The framework's standard MessageResult.
Checks if this provider supports a specific operation.
The operation to check
true if the operation is supported
Implementation of the Expo push-notification provider for MemberJunction's Communication framework. Sends mobile push notifications to Expo push tokens via the Expo Push API using a simple HTTPS POST (no SDK dependency).
Remarks
Push notifications are a fire-and-forget, send-only channel. Consequently this provider implements only SendSingleMessage; the mailbox-style operations (
GetMessages,ForwardMessage,ReplyToMessage,CreateDraft) return a "not supported" result, consistent with the base-class contract.