Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing information for configuring app #76

Open
jumpjack opened this issue May 3, 2022 · 2 comments
Open

Missing information for configuring app #76

jumpjack opened this issue May 3, 2022 · 2 comments

Comments

@jumpjack
Copy link

jumpjack commented May 3, 2022

The documentation does not clearly explain how to "register" a tabris app on firebase server to enable the app to receive notifications:

Send to a single device
From Firebase console Notification section, click New Message.
Enter the text of your message in the Message Text field.
Set the target to Single Device.
Check the logs for the InstanceID token, copy and paste it into the Firebase console Token field.
If you cannot find the token in your logs, click on the LOG TOKEN button in the application and the token will be logged in logcat.
Click on the Send Message button.
If your application is in the foreground you should see the incoming message printed in the logs. If it is in the background, a system notification should be displayed. When the notification is tapped, the application should return to the quickstart application.

Is the app registered by "token"? Is there a single token for each tabris app or is there a single token for developer app? How to access/generate these tokens?

Or does it register by its url/name? (com.my.app.whatelse)

There is no (more) "send message" in firebase console, there is "new campaign" with many variants and options, some screenshots would help.

@cookieguru
Copy link
Contributor

The documentation does not clearly explain how to "register" a tabris app on firebase server to enable the app to receive notifications

It's the first link in the Readme you linked to


Is there a single token for each tabris app or is there a single token for developer app? How to access/generate these tokens?
https://firebase.google.com/docs/cloud-messaging/manage-tokens

From the Firebase token docs: "On initial startup of your app, the FCM SDK generates a registration token for the client app instance". Simply put, the token refers to an installed instance of your app.

There is no (more) "send message" in firebase console, there is "new campaign" with many variants and options, some screenshots would help.

The Firebase docs suggest using the notifications composer--is that what you're trying?

@jumpjack
Copy link
Author

jumpjack commented May 5, 2022

Yes, I created a project, I associated an app (using a random package name):

image

I created a campaign

image

using the token provided by this example source and inserted here:

image

But I am not sure at all of what I am doing, I am proceedingly randomly, documentation is quite focused on offline development, while I need to develop online, using playground and developer app.
Maybe I should use the package name of the developer app? Where do I find it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants