Missing API key!

2 posts, 0 answers
  1. Vivek Kumar
    Vivek Kumar avatar
    15 posts
    Member since:
    May 2010

    Posted 09 Apr 2014 Link to this post

    Hi All,

    I am just trying to configure https://github.com/telerik/backend-services-push-hybrid

    But it always says that Missing API key! It appears that you have not filled in your Everlive API key. Please go to scripts/app/main.js and enter your Everlive API key at the beginning of the file.

    I am changing API and google project on below stuffs but still it says above message. 

    Could you please let us know how it will work?

    Also how i can send test message once my device got registered. please let me know?

    //This is your Everlive API key.
    var everliveApiKey = 'EVERLIVE_API_KEY';

    var androidProjectNumber = 'GOOGLE_PROJECT_NUMBER';

    and on here

    var onDeviceReady = function() {
            if (!everliveApiKey || everliveApiKey == 'EVERLIVE_API_KEY') {
                $("#messageParagraph").html("Missing API key!<br /><br />It appears that you have not filled in your Everlive API key.<br/><br/>Please go to scripts/app/main.js and enter your Everlive API key at the beginning of the file.");
                $("#initializeButton").hide();
            } else if ((!androidProjectNumber || androidProjectNumber == 'GOOGLE_PROJECT_NUMBER') && device.platform.toLowerCase() == "android") {
                $("#messageParagraph").html("Missing Android Project Number!<br /><br />It appears that you have not filled in your Android project number. It is required for push notifications on Android.<br/><br/>Please go to scripts/app/main.js and enter your Android project number at the beginning of the file.");
                $("#initializeButton").hide();
            }
        };






  2. Anton Dobrev
    Admin
    Anton Dobrev avatar
    539 posts

    Posted 11 Apr 2014 Link to this post

    Hello,

    This question has been answered in another forum thread. For further questions and comments on this topic, please, head over to it.

    Regards,
    Anton Dobrev
    Telerik
     

    Share what you think about AppBuilder and Telerik Platform with us in our feedback portal, so we can become even better!

     
Back to Top