Skip to content
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

Push-Notifications #73

Open
timoweiss opened this issue Mar 3, 2016 · 5 comments
Open

Push-Notifications #73

timoweiss opened this issue Mar 3, 2016 · 5 comments

Comments

@timoweiss
Copy link
Member

Please edit this post if you have additions / changes.
For discussion -> comment.

// basic impl.
message.addData('title', '');
message.addData('message', '');
message.addData('entity', '');
message.addData('entity_id', );
message.addData('icon', 'drawable-hdpi-icon');

Someone you follow creates a new location (done)

  • title: TBD
  • message: TBD
  • entity: location
  • entity_id: location_id

Someone you follow creates a new impression

  • title: TBD
  • message: TBD
  • entity: location
  • entity_id: location_id

Someone follows you (done)

  • title: TBD
  • message: TBD
  • entity: user
  • entity_id: user_id

Someone favorites a location of you (done)

  • title: TBD
  • message: TBD
  • entity: user or location?
  • entity_id: user_id or location_id?

Someone favorites a location where you have posted an impression

  • title: TBD
  • message: TBD
  • entity: user or location?
  • entity_id: user_id or location_id?

Someone posts an impression where you have also posted one

  • title: TBD
  • message: TBD
  • entity: location
  • entity_id: location_id
@markusheilig
Copy link
Member

Someone favorites a location of you and Someone favorites a location where you have posted an impression both should be
entity: user
entity_id: user_id
--> i think it's enough to specify the location name in the message part.

The definition of the data schema looks good to me.

@markusheilig
Copy link
Member

implemented push notifications with the following message-keys:
title, message, entity, entity_id.

@sigoetti
Copy link
Member

Someone favorites a location of you is currently implemented as
{ message: '<username_of_favorator> folgt jetzt deiner Location <locationname>!', title: 'Hallo <username_of _loc_owner>, entity: 'user', entity_id: '<user_id_of_favorator>' }

@sigoetti
Copy link
Member

Someone follows you is currently implemented as
{ message: '<username_of_follower> folgt dir jetzt!', title: 'Hallo <username>', entity: 'user', entity_id: '<user_id_of_follower>' }

@timoweiss
Copy link
Member Author

I think we should find a definition for what it means to press the heart button of a location.
Does it mean that you follow, like or love the location?

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

No branches or pull requests

3 participants