Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to receive push notifications from quickblox #385

Closed
Ghouse87 opened this issue Mar 8, 2017 · 4 comments
Closed

Unable to receive push notifications from quickblox #385

Ghouse87 opened this issue Mar 8, 2017 · 4 comments

Comments

@Ghouse87
Copy link

Ghouse87 commented Mar 8, 2017

Help avoid duplicate issue reports, check [existing issues](link to issues section of repo)

Environment details
(Operating system, browser information, SDK version)
Android 6.0.1

Did this work before?
Sample given by quickblox is able to receive notification for group chat.

Expected behavior
Changed with my credentials (like account credentials and gcm sender id) in sample given by quickblox should be able to receive notification for group chat.

Actual behavior
Unable to receive notification when changed with my credentials (like account credentials and gcm sender id)
Logs
(please, use github gist)

Steps to reproduce the behavior
Get the code from https://github.com/QuickBlox/quickblox-android-sdk.git
Import project into android studio
Login into quickblox.
Create an application in quickblox admin panel.
Replace the latest applicaton appId, auth_key, auth_secret & account_key values in qb_config.json
Replace the users_tag & users_password in sample_config.json
Install the application in two different devices & login with two different ids.
Start messaging from first device and in second device move to Chat dialogs screen wait.
Not able to receive notification.

Any others comments?
In logs i get this message "SubscribeService: Successfully subscribed for QB push messages", but unable to receive any notification on device.

@tatanka987
Copy link
Contributor

hello @Ghouse87 please set your sender_id to string resources, then remove app from device and install it again

@ameenmaheen
Copy link

@tatanka987 push Not working even after sender_id moved to resources

@tatanka987
Copy link
Contributor

Did you set GCM API key in admin panel? Please see screenshot how to get GCM API Key

@ameenmaheen
Copy link

No just added now its working , thanks for the help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants