Skip to content

Get user preference "push_notifications" and expo push tokens #1

Open
@dkastl

Description

@dkastl

Currently, there is no Rest API to fetch login user's preference push_notifications and expo push tokens for the user, but in mobile client sthose values are important to manage push notification setting.

So, can we consider to provide those notification related values as the API ?

The followings may be possible.

  1. GET /my/account.json with adding user preference's push_notifications + tokens

    • Add notification related information when parameter has ?include=notification (or ?include=preference ?).
      • This is the best way, because client app side request count will be just one.
  2. GET /expo_push_tokens

    • Eventually this only can fetch expo_push_tokens table's value, so still user preference's push_notifications is necessary on another endpoint.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requesthelp wantedExtra attention is needed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions