This is a migrated thread and some comments may be shown as answers.

device not show up in BackEnd Devices

5 Answers 73 Views
Push Notifications
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
William
Top achievements
Rank 1
William asked on 25 Mar 2014, 03:14 AM
Hi, I was trying out the Backend Services Push Notifications Sample and it seems that I could register my phone to enable notifications. 
However, my phone does not show up in the BackEnd devices list and it does not receive any notifications.

5 Answers, 1 is accepted

Sort by
0
Anton Dobrev
Telerik team
answered on 25 Mar 2014, 11:11 AM

Hello William,

In order to provide better assistance we would appreciate if you could be more specific on the following:
- Could you please specify the sample for which platform is used?
- After enabling the notifications for the device and then registering the device in the backend are there any errors displayed?
- Could you please verify the settings for push notifications in the UI portal of the backend project?

Regards,

Anton Dobrev
Telerik
 

Build cross-platform mobile apps using Visual Studio and .NET. Register for the online webinar on 03/27/2014, 11:00AM US ET.. Seats are limited.

 
0
William
Top achievements
Rank 1
answered on 25 Mar 2014, 03:56 PM
Hi Anton,

> - Could you please specify the sample for which platform is used?

I am using the sample app from http://docs.telerik.com/platform/appbuilder/sample-apps/sample-backend-services-pushnotifications
on AppBuilder extension for Visual Studio

> - After enabling the notifications for the device and then registering the device in the backend are there any errors displayed? 

No errors displayed

> - Could you please verify the settings for push notifications in the UI portal of the backend project?

my settings are as follows:
telerik backend api key: valid
google project number: valid
android api key: valid




0
Accepted
Anton Dobrev
Telerik team
answered on 25 Mar 2014, 04:56 PM
Hi William,

Thank you for providing this. Actually, a bug was observed, occurring in the behavior of the sample app, stating a device is registered whilst it is not. Thus, the option to register the device in Everlive is not presented to the user. This was fixed with manually enabling the PushPlugin from the App's Properties.

Here is a working project that was tested to register a device in the backend project. You have to enter the API key and Google Project number manually.

Could you please test it and get back to us?

P.S. The settings for your project were removed from the previous post, as they are not longer needed.

Regards,
Anton Dobrev
Telerik
 

Build cross-platform mobile apps using Visual Studio and .NET. Register for the online webinar on 03/27/2014, 11:00AM US ET.. Seats are limited.

 
0
William
Top achievements
Rank 1
answered on 26 Mar 2014, 01:57 AM
Hello Anton, I tested your sample app and it worked.

One more question, for the Android API key (at backend), I had to use the "Key for browser apps (with referers)" instead of "Key for Android apps (with certificates)" right?
0
Accepted
Anton Dobrev
Telerik team
answered on 26 Mar 2014, 07:57 AM
Hello William,

Basically, the workflow is the one described here. We have always adhered to it: create a server key and use the Key for server application > API key as a token passed to the server part of the push notifications functionality.

Regards,
Anton Dobrev
Telerik
 

Build cross-platform mobile apps using Visual Studio and .NET. Register for the online webinar on 03/27/2014, 11:00AM US ET.. Seats are limited.

 
Tags
Push Notifications
Asked by
William
Top achievements
Rank 1
Answers by
Anton Dobrev
Telerik team
William
Top achievements
Rank 1
Share this question
or