Technology for realtime messaging to mobile apps - google-app-engine

We are developing a mobile game with app-engine as our backend.
We now want to add realtime messaging from our server to our clients. (IOS & android)
Note: We are not talking about push notifications.
Has anyone out there implemented realtime mobile apps and has any recommendations for us.
The Channel API is said not to be for mobile apps.
Google Cloud pub/sub is also said not to be for mobile apps.
Google Cloud Messaging may be an option but I got the feeling it's not right either.
We have looked at solutions like pubnub.com (which looks great) but it may be a bit too pricy since we hope for a huge success :-)
So our wish list is:
Deliver messages from app engine to mobile devices in realtime.
As cheap as possible since we hope for +50K daily users
IOS & Android API's or even better a Unity API.
Thanks in advance!
/Gunnar Eketrapp

Related

FCM Web push notification Google Analytics

In our web application, we use FCM to send push notifications. Tell me, please, is there a way to track using Google Analytics getting and opening push by the user?
All solutions that I found on the Internet are applicable only to mobile applications.
Thanks so much for any advice.
Google Analytics for Firebase only tracks events for iOS and Android users. It does not track events for web users, so you won't be able to see how many web users have opened your FCM messages.
The best workaround I know if is to use regular Google Analytics in your web app, and then combine the two data streams with either Google Tag Manager, or within BigQuery.

Synchronise a mobile light database with ASP.NET Web API 2

I am building a mobile application targeting iOS, Android and WP with Ionic/Cordova. And using ASP.NET Web API 2 REST APIs backend.
I have the requirement that the mobile application can collect data and synchronise it with the APIs and if the mobile is offline, the sync will happen when it is online. The data size is small and any light DB would do including the localStorage one. The required sync is only needed one way, mobile to APIs. Also, once a record is synchronised, it can be deleted from the mobile.
I was looking at Couchbase mobile, but I found it is a Mobile DB to DB sort of a solution.
Can you recommend a mobile DB to REST/Web API sync solution?
With the native Couchbase Mobile solution for Android/iOS coupled with the REST APIs you are able to get data from Mobile device to your backend. Then delete any documents off your device once you get back a 200 status.
For Windows Phone, you can explore using PouchDB or going with the javascript browser based solution across all platforms since WP is not currently supported.
For the replication or sync to occur when your device is online again, you would require your backend to use Couchbase Server and implement the replication class methods in your native mobile app to have the push feature. Or you can use the REST API with logic detection when you are online again to POST to your backend.

Google Cloud Messaging Library for Google App Engine

I've successfully implemented part of the process involved in sending push notifications : going from google app engine to google cloud messaging using just urlfetch.fetch ..
I have searched the web for libraries for this portion of the process that would be more robust out of the box than the simple implementation that I have, yet, google changed google cloud messaging about 2 months ago, and everything I've seen is much older than that.
Does a library exist for google app engine to talk with google cloud messaging, that isn't out of date?
Or, does anyone have any suggestions on things to look out for as far as going from your own server to gcm?

Which Flurry SDK Should I Use With Phonegap

I am installing Flurry into a Phonegap application so that I might collect better in app analytics. I've seen numerous cordova plugins allowing you to use Flurry's iPhone and Android SDKs with Phonegap
e.g. https://github.com/jfpsf/flurry-phonegap-plugin
However Flurry has released a Mobile Web SDK. I assume the Mobile Web SDK is easier to integrate with a phonegap application, however I'm concerned that it is not as full featured or ill suited for working with phonegap. Can anyone comment on which SDK should be used in this situation? Many thanks.
Posing the question to Flurry's support team I received the following reply:
"The Mobile Web SDK tracks devices on the basis of cookies. The native SDK's track it on the basis of device id.
Apart from that, the mobile web SDK doesn't provide metrics like carrier, device and OS metrics. The native SDK provides those.
Crash reporting is not supported on the Mobile Web SDK. The native iOS and Android SDK's provide that."
Ergo, the SDKs are not created equally. One should use the native SDKs whenever they have the opportunity.

Social applications with Corona SDK

Is it possible / feasible to develop social applications with Corona SDK? I am talking about applications like Path, or a more feature rich application like Facebook for iOS?
We are going to develop a mobile application but don't want to assign resources for both iOS and Android versions of the software.
Maybe I should give more information about our project.
Users will use device camera, location services and there will be lots of web service calls as expected.
You can access the the camera as well. See the media.show() API Call: http://docs.coronalabs.com/api/library/media/show.html
Your web service access will be using the network.request() API call.
It is possible. Though I'm not sure about device camera but you can use location services and you can also develop a client side in corona

Resources