Comments (2)
Any idea when this might be implemented? I'd love to have access to the getUnregisteredDevices
method directly using this library.
from php-pushwoosh.
Hi @curtisgibby, we're sorry to not be very reactive since several months on this project. We have too much work to do on other projects :).
If you want you can create a PR we'll review, implementing a new request is not too complex because we've clearly organize the source code to make this very easy.
WARNING Please always use the develop
branch for your PR and never the master
branch (this is because we use the Gitflow workflow).
Here are the steps to follow to implement a new request
- First create a new request class in
src/main/php/Gomoob/Pushwoosh/Model/Request
and the associated Unit Test class insrc/main/php/Gomoob/Pushwoosh/Model/Request
- Then create the associated response in
src/main/php/Gomoob/Pushwoosh/Model/Response
and the associated unit test class insrc/test/php/Gomoob/Pushwoosh/Model/Response
- Add the new method in
src/main/php/Gomoob/Pushwoosh/IPushwoosh.php
,src/main/php/Gomoob/Pushwoosh/Client/Pushwoosh.php
andsrc/main/php/Gomoob/Pushwoosh/Client/PushwooshMock.php
- Add a complete unit test in for your new method in
src/test/php/Gomoob/Pushwoosh/Client/PushwooshTest.php
Finally for the getUnregisteredDevices
we'll perhaps need a new Model\Device
package and a new Device
class.
If you can please take an extreme care about the documentation, I think this is what makes the API easy to understand, use and update by other developers.
Do not hesitate if you have other questions.
Hope you'll have the time to develop this ;-)
from php-pushwoosh.
Related Issues (20)
- PushwooshMock - Abstract method not implemented
- Internal Server Error and vendor folder HOT 7
- Internal Server Error When calling the sample code HOT 6
- Add Algolia doc search HOT 1
- Composer install problems with phpdocumentor HOT 1
- Hey from Pushwoosh! HOT 1
- getMock() undefined in unit tests with HHVM, any idea ? HOT 2
- Run tests with PHP 7.1 HOT 1
- Chrome and Firefox support in RegisterDeviceRequest
- Add a SensioLabs Insight badge
- Be compliant with all PSR naming conventions
- CreateMessageResponse does not pass along UnknownDevices
- setCURLClient documentation wrong HOT 2
- No DefaultTimeOut HOT 3
- Create a Guzzle HTTP client
- Add `use XXXX` namespaces to examples and readme
- Is this repo still maintained ? HOT 2
- Send push notification only to testDevice
- PHP 8 support?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from php-pushwoosh.