Mobile notifications for iOS (#210)
* mobile: wire notification registration and listener
* implement backend components for push notifications
* refactor: agentic comment cleanup
* docs: use proper module name for particle processor
* set required env variables for push notifications
* bump version
* fix: always upsert push token on mobile start
* Revert "fix: always upsert push token on mobile start"
This reverts commit 90ff18a788.
* send push notifications regardless of online status
This commit was merged in pull request #210.
This commit is contained in:
@@ -34,11 +34,10 @@ const (
|
||||
)
|
||||
|
||||
type Service interface {
|
||||
// returns AlreadyInWaitlistError if already in the waitlist
|
||||
// any other error is a failure
|
||||
// AddToWaitlist returns AlreadyInWaitlistError if the email is already present.
|
||||
AddToWaitlist(ctx context.Context, email string, metadata map[string]string) error
|
||||
GetWaitlist(ctx context.Context, filter GetWaitlistFilter) ([]*WaitlistEntry, error)
|
||||
// returns error if not found
|
||||
// GetWaitlistEntryByEmail returns EntryNotFoundError if missing.
|
||||
GetWaitlistEntryByEmail(ctx context.Context, email string) (*WaitlistEntry, error)
|
||||
MarkWaitlistEntryInvited(ctx context.Context, email string) error
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user