-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Support for Bark (APN) notifications #782
Support for Bark (APN) notifications #782
Conversation
Update bark.js
I am still working my way through them on my own PR, but please also write tests for the notification. You can see examples in #760 of how I am writing the tests, and what tests I am writing. I would ask that you are a bit more through for this new notification, testing your helpers etc. on top of send. |
I'd prefer you to pick my pull request and merge into your branch, so we can keep the commits nice and clean.
|
Bark requires a self-hosted-backend and an iOS device that generates APN token to work together, and I don't know how to setup a mock backend in your workflow... |
Its not going to be the easiest to keep things clean as I still have a few days of work to do. For now, just start with the Apply the changes I made to config/jest-backend.config.js and use |
BTW I'm not super experienced in Open Source, but is it an accepted practice to leave a comment like that in a MIT licensed project? |
Can you provide context as to the exact comment you are referencing @chakflying, and why you are asking about it? |
If you mean the comment generated by my code editor saying "all right reserved", then, I did not change the license file in the project which means it is still under MIT licensen. |
I'd like to wait for it, then check how can I write the test. |
This SO question appears to be asking the same thing: https://softwareengineering.stackexchange.com/questions/117572/mit-and-copyright and it looks like the consensus is that marking your copyright like this is fine (you automatically hold copyright for all works you are the authoring entity of anyway), and that it just also falls under MIT's clauses. You can still claim the copyright of that code, but it doesn't mean all that much, as its now part of the project. Someone else can use/edit it as MIT allows etc.
I guess I have some tests to finish then. |
Oh, got it. Change it to "Busy" and it becomes yellow. |
Tested