Skip to content

Add Traits and allow store of all sent expo notifications #41

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

maximetassy
Copy link

@maximetassy maximetassy commented May 7, 2025

Allow store of all sent expo notifications

Problem

I was trying to store of all sent expo notifications in my database but could not find an easy way .
And since i've just implemented this package in my project and I though I'll help with some issue in the way :)

Solution

Use expo_notifications table to store all notifications by adding a sent attributes.
Add a command to clean sent notifications if user don't want to keep sent notifications.


Add Traits

Problem

Implementing the required relation for the notifiable class is not clearly documented

Solution

Add two Traits to simplify it's implementation and document it in the Readme

close #36

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

How to add the expo tokens inside the notifiable, in my case user can you add docs?
1 participant