Missing Cloud Messaging section in Firebase Console - firebase-cloud-messaging

just like in title above. I am unable add cloud messaging section to the project settings.
This is odd because it's invisible only for one project, other projects even those which don't have enabled cloud messaging have this section visible. This section is needed to add server key or configure project for mobile. The question is, how to add Cloud Messaging section to project settings.
Thank you in advance.

Related

How to enable Advanced Google Services via new Cloud Projects?

It seems that Google updated their projects console, and when you go to enable an advanced service in Apps Script it no longer directs you to the auto-generated project for your apps script project.
The docs say that a project will be automatically created for apps script projects.
Click Cloud Platform Project link here:
Which takes you to https://console.developers.google.com/cloud-resource-manager where it asks you to create a project.
There is no longer a selection or area to add APIs to the Apps Script project. If I follow that link with an existing Apps Script project that already has working advanced services, it errors out on the project Id.
How can Advanced Services be enabled on new Apps Script projects?
From the page you ended up on, click the "hamburger" icon/navigation menu, and then in the sidebar at the bottom, click "Google Cloud Platform." Then click the same navigation icon, and from the sidebar menu, choose "APIs and Services" That gets you to the page that should open by default.
Your account is automatically loading some other page by default. I could only guess why. We may never know why. The browser and Apps Script probably need to coordinate somehow to know what URL to load, but with the new changes, it looks like something went wrong.

Is there any sample worklight push notification project with FCM?

is there any sample worklight push notification project with FCM not GCM? so could you please give me any link where i can download.
The sample for GCM or FCM is the same one. The only thing that differs is the FCM setup steps (which now supersede those for GCM, so essentially you have only FCM).
The setup steps are mentioned here: https://mobilefirstplatform.ibmcloud.com/tutorials/en/foundation/8.0/notifications/sending-notifications/#google-cloud-messaging--firebase-cloud-messaging
Visit the Firebase Console.
Create a new project and provide a project name.
Click on the Settings “cog wheel” icon and select Project settings.
Click the Cloud Messaging tab to generate a Server API Key and a Sender ID and click Save.
As mentioned, the sample is the same sample:
For Cordova: https://mobilefirstplatform.ibmcloud.com/tutorials/en/foundation/8.0/notifications/handling-push-notifications/cordova/
For Android: https://mobilefirstplatform.ibmcloud.com/tutorials/en/foundation/8.0/notifications/handling-push-notifications/android/
if you are using older releases, the setup steps are the same.

How to configure Android Push Notifications (GCM) in Appcelerator Titanium Dashboard?

I've tried to following the instructions
Configuring push services for Android devices
However, the steps mention 'Click Push Notifications on the left-side navigation' but they don't exist...
Once you've created a Google API project with GCM enabled, you need to update your application's settings page in Dashboard with the API key and sender ID you generated.
To configure Arrow for push notifications using Dashboard:
Open Dashboard and select your application from the Apps drop-down menu.
Click Push Notifications on the left-side navigation <-- MISSING.
Select the Android Push tab.
Enter the server key in the GCM API Key field and the GCM sender ID in the GCM Sender ID field.
Here's a screenshot to show what's listed...
If I look under Arrow (where I suspect it might be expecting to be listed) that's empty (I'm not using Arrow - I thought it was an alternative UI using declarative XML)...
I've checked the subscription that I'm on (Indie) and it shows that I should have the ability to send up to 1 million push notifications for free..
Does anyone know how I can associate the Appcelerator Titanium project to the GCM server key??
Also, when I looked in Googles developer console, my application (which is live on their app store) wasn't listed, so I've created a new application called 'Gcm'. The Appcelerator Titanium seemed to confirm that I needed to 'create' the application, I was just too worried to call it the same name as the live application. How does the 'Google Developer Console' Application relate to the 'Google Play' application?! - if at all?
UPDATE
I've just discovered in TiApp.xml that I can enable some 'Cloud' settings and this has unlocked the 'Push' menu - so I think all is good now, could someone confirm that this is the right thing to do and answer my related question about Google play applications v google developer console applications?
Update 2
I started to get this error
[ERROR] : GooglePlayServicesUtil: The Google Play services resources
were not found. Check your project configuration to ensure that the
resources are included.
[INFO] : CloudPush.retrieveDeviceToken error: INVALID_SENDER
I'm simply calling this to try and register for Android push notifications ...
CloudPush.retrieveDeviceToken({
success : function(e) {
console.info("CloudPush.retrieveDeviceToken success");
},
error : function(e) {
console.info("CloudPush.retrieveDeviceToken error:"+e.error);
}
});
I have tried with and without the ti.cloud module (I think it got added when I clicked the 'Enable Services' button which meant that I could see the 'Push Notifications' tab, but it seems to still be listed whether the ti.cloud module is elected or not)..
Before..
Q - How to stop the Google Play error and retrieve the device token (oddly I was getting the token before enable services.
Q - Is ti.cloud used to receive the push notification, or is ti.cloudpush sufficient for this?
Thanks for the detailed question :) Let me go into some of the things you mention and clarify what I can.
If I look under Arrow (where I suspect it might be expecting to be listed) that's empty
As you later found out you have to enable platform services for your app which will create an ArrowDB app with the same name as your app. This app will have the Push Notifications in the sidebar to configure. I've updated the guide's wordings to make clear we mean the ArrowDB app, not the Titanium app.
(I'm not using Arrow - I thought it was an alternative UI using declarative XML)...
Don't confuse Arrow with Alloy - which is the MVC framework for Titanium which indeed uses XML.
How does the 'Google Developer Console' Application relate to the 'Google Play' application?! - if at all?
It doesn't. You can even have multiple apps share the same GCM sender.
[ERROR] : GooglePlayServicesUtil: The Google Play services resources were not found.
What did you use to test? A Genymotion emulator without Google Apps installed perhaps? You'll need that.
Is ti.cloud used to receive the push notification, or is ti.cloudpush sufficient for this?
ti.cloud is the module to communicate with ArrowDB, subscribe to channels etcetera. On Android you need ti.cloudpush (or as #Shawn mentioned another module) to retrieve the device token where on iOS you can use a Ti. API for that. Follow this guide for all steps.
You can ignore the Google Play Service error, but it seems your GCM Sender ID and/or API Key is wrong. Read through the tutorial and make sure you put down the right ones.
If you are using Appcelerator Cloud Service to send push notifications, you need ti.cloud to register the devices.
To get the device token and to receive push notifications, you use ti.cloudpush. There are other modules that you can use instead of ti.cloudpush.

Google-cloud-messaging key not visible in console

In my app gcm server key that is being used on server is not visible on google developer console.
Hence when i am trying to use google-services.json approach to integrate analytics its resulting in creating new key and project id.
how do i get google-services.json file for existing project.
Follow this link to get a configuration file to add to your project. The configuration file provides service-specific information for your app. To get it, you must select an existing project for your app. Check this documentation.

How (and where) to upload manifest file? (Google Gmail Gadget)

I'm new on this Gmail Gadget developments and I follow the instructions here:
https://developers.google.com/gmail/contextual_gadgets
I follow the Hello World example, replacing the variables with my owns, generating the manifest, the specs, etc.
But when it comes to upload the manifest file, it's saying to go to
http://code.google.com/googleapps/console/a/yourDomainName
and log in there. Then there is a serie of steps depending on this one.
The problem here is, what is the address I have to put there? I did register on the Google Apps (for bussiness) and register a domain. Still that domain isn't work.
I found several people with the same problem and none gave them a solution:
How to create an account on Google Apps to use Google Apps Extensions Console?
Logging into Google Apps Extension Console
http://grokbase.com/t/gg/google-appengine/141vmhsdqr/how-do-i-log-in-to-google-apps-extensions-console
Anyone knows how to create a Gmail Contextual Gadget?
Thanks in advance!
Ok, so the Gmail Contextual Gadgets doc says "Gmail contextual gadgets can be listed for sale in the Google Apps Marketplace". The Google Apps Marketplace docs say apps can be published on the Chrome Web Store but the web store seems to want some sort of .json manifest file that doesn't fit the documentation for Contextual Gadgets (read: Google's documentation is terrible).
Instead, I found a section inside the developer's console on Contextual Gadgets. It's also different from the documentation, but seems like the right spot.
Open your Google developers console
Select or create a project
Open the Google Apps Marketplace SDK page
Click "Enable API"
Click "Configuration"
Check the box marked "Gmail contextual gadget extension"
There are then options to fill out info on the Contextual Gadget.
I suggest :
https://code.google.com/apis/console/
Go on that link a for log in use your Google Apps for bussiness account , then create new project (gadget) and then you can upload manifet. Sorry for my English.
Hope this will help you.