codehubapp / codehub-push Goto Github PK
View Code? Open in Web Editor NEWPush notification server built in Node.js for the iOS application CodeHub
Push notification server built in Node.js for the iOS application CodeHub
Since a couple of weeks push notifications have stopped in CodeHub iOS app. I have a Pro upgrade.
Any known issue?
this query looks wrong:
.none('select * from records where token=$1 and oauth=$2', [token, auth])
you execute SELECT
via none
, meaning the query isn't supposed to return anything. Doesn't look right;)
I'm looking at adding an option to get "participating notifications" only (i.e., setting participating=true
in the API call).
It looks like that would involve adding a new (nullable) participating
column to the records
table. Is that something you would be open to? I'm thinking it would become a second constructor parameter on Client
and get added to the request if it's truthy.
The corresponding issue in the app repository (CodeHubApp/CodeHub#375) would be handled by adding a new "Participating" toggle option. It would only be enabled if push notifications are enabled, and toggling it on/off would have to do a register/unregister cycle to propagate the option value to the push server.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.