device not show up in BackEnd Devices

6 posts, 2 answers
  1. William
    William avatar
    7 posts
    Member since:
    Mar 2014

    Posted 24 Mar 2014 Link to this post

    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.
  2. Anton Dobrev
    Admin
    Anton Dobrev avatar
    539 posts

    Posted 25 Mar 2014 Link to this post

    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.

     
  3. William
    William avatar
    7 posts
    Member since:
    Mar 2014

    Posted 25 Mar 2014 in reply to Anton Dobrev Link to this post

    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




  4. Answer
    Anton Dobrev
    Admin
    Anton Dobrev avatar
    539 posts

    Posted 25 Mar 2014 Link to this post

    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.

     
  5. William
    William avatar
    7 posts
    Member since:
    Mar 2014

    Posted 25 Mar 2014 in reply to Anton Dobrev Link to this post

    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?
  6. Answer
    Anton Dobrev
    Admin
    Anton Dobrev avatar
    539 posts

    Posted 26 Mar 2014 Link to this post

    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.

     
Back to Top