Skip to main content

Pushy - An Alternative to Google Cloud Messaging

Pushy is a standalone push notification gateway, completely independent of GCM. It maintains its own background socket connection, just like GCM, to receive push notifications. The underlying protocol is MQTT, an extremely light-weight pub/sub protocol, utilizing very little network bandwidth and battery. We chose MQTT after comparing multiple protocols, including WebSockets and XMPP. Also, the fact that Facebook chose to implement its push notifications using MQTT is highly-convincing.

A huge advantage of Pushy is that it's a drop-in replacement for Google Cloud Messaging. The code for sending a push notification (from the server) and receiving a registration ID is almost identical for GCM and Pushy. This makes it super easy to switch to Pushy after implementing GCM and having to ditch it for its instability.

We charge $0.005 for each active device (number of devices connected to the service at least once during one month of period) every month.

Do you have plans for iOS?
Absolutely. We'll be adding support for iOS if there is enough demand. The support will most likely consist of a wrapper around Apple's APNS service.

Can I run Pushy on my own servers?
Yes. Contact us to discuss this type of deployment.

An Alternative to GCM
Pushy

Comments

Most Favorite Posts

WKWebView - The better UIWebView

WKWebView Framework API Differences WKWebView ↔︎ UIWebView JavaScript ↔︎ Swift Communication If your app is little more than a thin container around web content, WKWebView is a game-changer. All of that performance and compatibility that you've longed for is finally available. It's everything you might have hoped for. If you're more of a native controls purist, you may be surprised at the power and flexibility afforded by the new technologies in iOS 8. It's a dirty secret that some stock apps like Messages use WebKit to render tricky content. The fact that you probably haven't noticed should be an indicator that web views actually have a place in app development best practices. NSHipster

Validity Time Auto-Renewables in Sandbox

The subscription durations, sandbox durations and incentive durations of auto-renewables. Hint: In Sandbox the validity time differs from live environment!!! Durations Sandbox Duration Incentive Durations (optional) 7 days 3 minutes 7 days 1 month 5 minutes 7 days, 1 month 2 months 10 minutes 7 days, 1 month 3 months 15 minutes 1 month 6 months 30 minutes 1 month, 2 months 1 year 1 hour 1 month, 2 months, 3 months After 6 extensions the abo is cancelled automatically in the sandbox environment.

Cheat sheet for working with iOS, iTunes, AppStore auto-renewables or Android, GooglePlay subscriptions

How to test auto-renewable subscriptions on iOS and Android? Test purchases Sandbox Live iOS Sandbox account TestFlight internal/external Android License testing group via Alpha Channel Release Management > App releases > Manage Alpha > Manage testers License testing account via Alpha/Internal Channel Settings > Account details > Gmail accounts with testing access Reduced test subscription time Test subscriptions renew more quickly than normal to aid in testing. The following table identifies the testing renewal times for subscriptions of various durations. Note: Test subscriptions will renew a maximum of 6 times. iOS AppStore Connect Note: Test subscriptions will renew a maximum of 6 times; after that you can continue testing with the user. Actual Duration Test Duration 1 week 3 minutes 1 month 5 minutes 2 months 10 minutes 3 months 15 minutes 6 months 30 minutes 1 year 1 hour Android Google Play ...

Optimize App Retention with the Hooked Model

Nir Eyal explores how applying the Hooked Model drives customer retention and engagement by fostering good habits Trigger. An event that encourages someone to act, which is either an: External trigger: something in the environment — a ping, a ding, or a ring — that alerts a person to do something. Internal trigger: the desire to escape from an uncomfortable emotional state. Action. A behavior that anticipates a reward — opening an app, scrolling a feed, checking a dashboard, or playing a video. The simpler the behavior is to accomplish, the more likely the user is to do it. Reward. The user gets what they came for. Investment. The user puts something back into the product that makes it better the next time they use it. https://www.amazon.de/Hooked-How-Build-Habit-Forming-Products/dp/0241184835

How to link to TestFlight App in iOS

There are two things you need to do. First, check to see if TestFlight is installed. Then create a new link to your app. NSURL *customAppURL = [NSURL URLWithString:@"itms-beta://"]; if ([[UIApplication sharedApplication] canOpenURL:customAppURL]) {     // TestFlight is installed     // Special link that includes the app's Apple ID     customAppURL = [NSURL URLWithString:@"https://beta.itunes.apple.com/v1/app/978489855"];      [[UIApplication sharedApplication] openURL:customAppURL]; } This special https://beta.itunes.apple.com URL will be opened directly in TestFlight. Finally, if you are using iOS 9 (or later), you need to make an addition to your Info.plist to get the canOpenURL: method to work. If your app is linked on or after iOS 9.0, you must declare the URL schemes you want to pass to this method. Do this by using the LSApplicationQueriesSchemes array in your Xcode project’s Info.plist file. For each URL scheme you wan...

The Trimodal Nature of Software Engineering Salaries

The software engineering compensation market becoming trimodal - split into three distinct groups that "spike" and that have little overlaps.  Most engineers are not aware of this third, Big Tech pillar and the compensation ranges it introduces, assuming compensation can not go beyond what is offered at the second pillar:  Read more about salary tier strategies and competable compensations: The Pragmatic Engineer