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

conceptual decisions and future work #28

Open
ghostbuster91 opened this issue Jul 2, 2016 · 0 comments
Open

conceptual decisions and future work #28

ghostbuster91 opened this issue Jul 2, 2016 · 0 comments

Comments

@ghostbuster91
Copy link
Collaborator

There are couple of things which should be discussed, in order to move forward with implementation without doubts:

$1
How should we implement the contact / conversation list?
Propositions:

  1. As a list of conversations in repository
  2. As a list of contacts in repository
    Possible problem: We have to put some fake entry into conversation repository right after conversation has been started in case when user exit conversation before sending any message.

$2
We will eventually add some invitation mechanism to allow users to accept or decline invitations (by invitation I mean pending_request). This will add additional complexity to android service which will have to filter out messages from users whose invitations weren't accepted. Also we will probably need some place to store declined invitations to know which messages should be filtered out in service. It might be stored locally. Or maybe we shouldn't allowing users to send messages until invitation has been accepted. We have to decide if it should be possible to resend invitation after it was rejected.

$3
Android service for sending notifications from background.
For now I have only one idea when to send notifications to the user which is to wait some amount of time e.g. 5 seconds and if message hasn't been changed to read during that time, send this message as notification.

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

1 participant