google-cloud-messaging

GCM and App Engine for chat application

耗尽温柔 提交于 2019-12-22 04:59:51
问题 I am planning to make a chat app through which user can send and receive text and media - audio, image and video. For simplicity I decided to use app engine with GCM. Doing downstream with GCM seems to be working well (for text messages) using the example guide provided and Android Studio template. When I tried upstream I did not receive the message back. May be this is very trivial but can someone please point me to a good tutorial or book on this. Any suggestions? Used this for downstream:

Push Notifications in Android using Google App Engine

时光毁灭记忆、已成空白 提交于 2019-12-22 04:53:09
问题 I am currently developing an app where users create posts that are stored on a server. When another user shows interest in a post by clicking a button, I want to notify the author of the post using push notifications. I have already set up the data storage using cloud endpoints with Google App Engine. Is there anyway I can use these endpoints to implement push notifications? If not is there another easy way to implement push notifications given my current setup? I have already read about

where is com.google.android.gcm.GCMBaseIntentService?

百般思念 提交于 2019-12-22 04:11:22
问题 I'm following the tutorial on GCM here http://developer.android.com/guide/google/gcm/gs.html At point 5 of Step 2 , it says: Add the following intent service: service android:name=".GCMIntentService" This intent service will be called by the GCMBroadcastReceiver (which is is provided by GCM library), as shown in the next step. It must be a subclass of com.google.android.gcm.GCMBaseIntentService , must contain a public constructor, and should be named my_app_package.GCMIntentService (unless

failed to resolve com.google.firebase:firebase-core:10.0.1

99封情书 提交于 2019-12-22 03:55:26
问题 I want to use Firebase Cloud Messaging in my Android App. This is my app level gradle file apply plugin: 'com.android.application' android { signingConfigs { config { keyAlias 'androiddebugkey' keyPassword 'android' } config1 { keyPassword 'android' } } compileSdkVersion 23 buildToolsVersion "23.0.3" packagingOptions { exclude 'main/AndroidManifest.xml' } defaultConfig { applicationId "com.shikhar.dexter.project" minSdkVersion 19 targetSdkVersion 22 versionCode 1 versionName "1.0" }

NotRegistered Response from FCM even when the app is installed on a users mobile device

扶醉桌前 提交于 2019-12-22 03:35:21
问题 We just migrated from GCM to FCM. For tracking uninstalls we send a silent notification to all our users and if we get a "NotRegistered" response we treat the user as uninstalled. Since the last few days, we started getting "NotRegistered" for some of the users who have not uninstalled the app. On querying the FCM diagnostics for the same Registration token the messages are being delivered but they are continuously in accepted state.Attached is the screenshot. The error code I received while

How to send a high-priority GCM?

自古美人都是妖i 提交于 2019-12-22 01:53:49
问题 I'm using a Nexus 5 with Android M Preview. My problem that I'm trying to solve is: Network access is disabled, unless your app receives a high priority Google Cloud Messaging tickle. What I'm doing is: I put the phone into Doze mode and then I send a push notification with the priority with value 10 and I'm expecting to have internet access for a brief moments, but this is not working. Should I use other type of notifications? There are any documentation already available? Thanks. Android M

Android GCM Registration Id

烈酒焚心 提交于 2019-12-22 01:31:47
问题 I want to use GCM. I tried with following in the client side: Manifest: <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.test" android:installLocation="preferExternal" android:versionCode="1" android:versionName="1.0"> <uses-sdk android:minSdkVersion="8" android:targetSdkVersion="16" /> <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.ACCESS_NETWORK

How can we implement web push notification?

蹲街弑〆低调 提交于 2019-12-22 01:19:32
问题 How to implement push notification in browsers using the googles GCM service. What are the steps to implement the same. 回答1: The basic steps that you will have to do if you want to add push notifications in browsers are the following: First of all, you need an HTTP S webpage (GCM requires it for browser notifications). Secondly, you need to add some javascript code into your webpage that will do the following points: Ask the user for push permissions Register the browser that are accessing

How to open detail page when click notification in Ionic

怎甘沉沦 提交于 2019-12-21 23:43:30
问题 i m using Ionic platform to create a mobile app and need a help about this situation. I can take regId with this code and then can send notification. But when i send a notification about a shop from my app, how can i open that shop's page when click notification that i get ? var pushNotification; function onDeviceReady() { document.addEventListener("backbutton", function (e) {}, false); var pushNotification = window.plugins.pushNotification; if (device.platform == 'android' || device.platform

Where to view Google Cloud messaging for Android reports and request details

佐手、 提交于 2019-12-21 23:06:23
问题 Where to view Google Cloud messaging for Android reports and request details Some of message i'm receiving from GCM and some not, so i want to see the reports or api access list in google console. Where can i see this details Source code i used http://www.androidhive.info/2012/10/android-push-notifications-using-google-cloud-messaging-gcm-php-and-mysql/ 回答1: As you noticed, Stats on the Google API Console are not enabled for GCM. The GCM Stats are only available on the Developer Console