Android Push Messaging issue
Dan Friedman
dan at clearvisiontech.com
Wed May 17 16:59:58 EDT 2023
Panos,
Thank you for the reply. Yes, I have seen that lesson – many times. I have everything in place, and I have downloaded and installed the json file. It’s not that the app isn’t getting the push message, it’s that the device isn’t getting the message – at all! If the app is or is not launched, the device isn’t getting the message. Even though Google says it’s been successfully sent.
FYI… I have another app that is using FB and it’s working fine.
Thank you!
-Dan
From: use-livecode <use-livecode-bounces at lists.runrev.com> on behalf of panagiotis m via use-livecode <use-livecode at lists.runrev.com>
Date: Wednesday, May 17, 2023 at 1:21 PM
To: How to use LiveCode <use-livecode at lists.runrev.com>
Cc: panagiotis m <merakosp at gmail.com>
Subject: Re: Android Push Messaging issue
Hello Dan,
Have you seen this lesson?
https://lessons.livecode.com/m/4069/l/1473964-how-do-i-use-push-notifications-with-android-in-livecode-9-6-5
What is your code that handles the notification?
Kind regards,
Panos
On Wed, 17 May 2023, 22:38 Dan Friedman via use-livecode, <
use-livecode at lists.runrev.com> wrote:
> I am stumped! I have an app that where push messaging is working fine
> using Legacy Cloud Messaging (and LC 9.6.2). I have setup the new Firebase
> Cloud Messaging and downloaded the new “google-services.json” file and
> included it in my updated standalone (LC 10.0.0). The app when launched on
> a device is registering a valid token. When I use the Firebase Cloud
> Messaging test tool (and include the token from my app) it says a message
> was sent successfully but was not received on the device. Any thoughts?
>
> FYI… Sending from our server gives the same result: sent successfully,
> but no push to the physical device.
>
> If it matters, both Firebase Cloud Messaging API and the Legacy Cloud
> Messaging services are enabled (because the non-Firebase app is still being
> used in production).
>
> -Dan
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list