This question is locked. New answers and comments are not allowed.
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();
}
};
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();
}
};