Does Google ban internally implemented mobile push notification - android

I want to implement my own push notification system. My question is does google will ban or show warning for my application cause I don't use its Firebase Cloud Messaging?

Wether or not you decide to use FCM, you will have to create notifications locally when a message is received from server. There are no restrictions on local notifications so the answer is No, there are no restrictions or warnings.

Simple answer - No, it does not.
It would be kinda hilarious if they punished(banned) developers for creating notifications, something that's pretty vital in many applications.

Related

Disable firebase cloud messaging from going to tray via Cloud Messaging

I've researched this topic for a little while, but I can't seem to get it. Apparently Google hasn't made an UI for this is what I understand. So here's the question.
I like to send cloud messages to my app users (100k+) occasionally. The users have an option to turn these notifications off which works fine if the app is in foreground.
But for background, Firebase does not give me any way of handling this. The message will always go to the tray even a user has disabled it inside the app. Understandably the notification never makes it to the app.
I've read responses from people that we should send such messages directly from our own servers. Yes, I've got my own servers and I do send a lot of messages to my users directly from the server. I maintain a database of all fcm codes.
But I'm wondering if there's a way of achieving this through the firebase console. It's nice to have all messages in once place e.g. ios and android. Google will also show us statistics which are also important in analysing which notifications are working better.
I've seen a possible answer here, How can I disable firebase notification on android client app, but it looks very unconventional.
Any help would be appreciated.
to disable notifications just must add
FirebaseMessaging.getInstance (). UnsubscribeFromTopic ("Topic_Name");
Note: these must be previously subscribed to the Topic
to enable notifications again use this
FirebaseMessaging.getInstance (). SubscribeToTopic ("Topic_Name");

Is Google Cloud Messaging Service required for push notifications

I am looking to create an Android app that uses a MySQL database located on a server. When certain changes are made to this database, I'd like a push notification to be sent to some app users. My question is, is the Google Cloud Messaging Service required to implement this? This page http://developer.android.com/google/gcm/index.html seems to suggest that using the Google Developers Console is also required. If so, is it possible to export this project into Eclipse? Thanks in advance.
My question is, is the Google Cloud Messaging Service required to implement this?
Yes and no, if you want to do real push messages then yes it is required however if you dont want to use GCM you can use XMPP to send messages to devices
Push notification can be generated using alarm in android.See this.
But here you are looking to send push notification after certain changes in your database which is located in your server,for that GCM will be a better option.You can find an excellent tutorial of GCM here.

Sending message from one app to al other as admin

I have an app where anyone can download an iOS or android app. No user will have to register or login.
I need to be able for admin users to send notifications to all users if and when new information needs to be delivered. This will be a one way conversation from admin to all users. There may be multiple admins.
What is the best way to handle this? Is push notifications the best and if so what is the best solution? I looked at Parse and it might be a solution.
Can anyone please advise?
Parse and Urban Airship are very solid, and likely either will work for your needs.
Another solution is creating your own service using the Apple Push Notification Service (APNS) and Google Cloud Messaging. However, it requires a significant amount of integration time.

Notification system

I've been looking at notifications for an app I'm making and I'm looking for a similar functionality to the Facebook app. There you receive notifications even though you are not in the App (by receiving something via WiFi/3G).
I've noticed for example that after you restart your phone (and without opening facebook) the notifications still arrive.
It is an important part of my app because it is used to display alerts of failures on a machine.
Anyone knows how to do that or what material I should read for that?
Thank you for your time.
Google cloud messaging user notifications does this.
http://developer.android.com/google/gcm/notifications.html
Push notifications is what you're looking for.
http://developer.android.com/google/gcm/index.html
I'd go with Google Cloud Messaging. It will send broadcast to your device in which you can decide if to raise a notification or not
refer to this link :http://developer.android.com/guide/topics/ui/notifiers/notifications.html
try this out !!

Can an android work on both GCM and C2DM?

I have an app that currently uses C2DM for push notifications. I would like to inquire if I update the app to GCM and if some users do not upgrade their app, will Google allow me to use both the C2DM and GCM for the two versions of my app?
Or will the users on my previous app never receive a PUSH notification altough I still have the push logic implemented for C2DM?
I've completely replaced C2DM with GCM in the app, and left support for both protocols in the server side. Works like a charm; details are here.
They will still receive them as long as you don't remove any authorisation keys, ids etc. as GCM uses the Project ID while C2DM uses the registered e-mail address.
More on it here: C2DM to GCM Migration
Once the C2DM service was deprecated recently I advice you to migrate your pushes system to GCM service.
The best way to deal with it is doing the thing like Google says. Take a look at this topic in the official GCM's documentation.
While not the original question, an interesting one would be: Can one app simultaneously use C2DM and GCM.
C2DM uses the Sender-Account while GCM uses the Project-ID to register. The only thing they both might share is the App-package name (and obviously the google account of the device, but that shouldn't matter as there are multiple apps which can use gcm/c2dm in parallel anyway).
In my experience registering C2DM and GCM in the same app can cause some serious problems.
Reason to have both in one app might be that you want to use GCM in the app, but can't everywhere because a legacy backend might not be able to switch to GCM yet. Probably a rather rare scenario - but currently happening for our app.

Categories

Resources