-
Notifications
You must be signed in to change notification settings - Fork 104
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
Foreground service notification not removed even if the service is stopped #442
Comments
I am still waiting for a response. Please check this issue. |
Sure, we all want something, but how can you help or contribute ? |
Please use https://github.com/hannesa2/paho.mqtt.android/releases/tag/3.6.0-beta7 and please tell me, how it works after several connect/disconnect. I didn't tested this. |
@mdrafi786 I will not merge #444 when you don't confirm it |
Why i need to confirm?
…On Mon, 17 Apr, 2023, 12:06 pm Hannes Achleitner, ***@***.***> wrote:
@mdrafi786 <https://github.com/mdrafi786> I will not merge #444
<#444> when you don't
confirm it
—
Reply to this email directly, view it on GitHub
<#442 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AWTDOWVOWFZG557A7IUHOBTXBTQIDANCNFSM6AAAAAAWXUPIAU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@mdrafi786 did you resolve this and what is the version working with you |
@mdrafi786 |
@hannesa2 not working |
I haven't resolved the issue. I just raise the issue and still waiting for
resolution. I got it in the latest version as well
…On Thu, 11 Jan 2024, 11:54 am ahmed elsawwah, ***@***.***> wrote:
@mdrafi786 <https://github.com/mdrafi786> did you resolve this and what
is the version working with you
—
Reply to this email directly, view it on GitHub
<#442 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AWTDOWVM3IJWAGHK7MQ56Q3YN6AR3AVCNFSM6AAAAAAWXUPIAWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBWGM3TEMJSHA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I have only verified the below solution on basicSample. At MqttAndroidClient.kt disconnect() functions, add
At MQTTExampleActivity, add lifecycle function
Then when activity is destroyed such as press back key within the app, notification will be removed. Pressing Home, it will not. Some extra modification for basicSample is that at addToHistory, I need to change :
|
Hello, I've been using the library on my open source app (https://gitpull.it/source/libre-busto/) for downloading data using MQTT, and since recently I have upgraded the version of your library, using the notification. I have the same problem with closing the notification, on devices running Android 11 and 14. I use the AndroidMQTTClient inside an MQTT-specific task, but I call the You can try the app yourself using the build available at https://gitpull.it/D156 |
@fattyCoderHK |
Hi there,
I have started the Mqtt connection as a foreground service and on logout, I want to close the MQTT and stop the foreground service. I called stopForeground(true) and stopSelf() to stop my Mqtt service. On destroy of service called but Foreground service notification is not removed from the notification tray. Please check. I have tried to remove the notification but have not been able to do that. Please please help me. I have used the latest version of your library Thanks in advance.
The text was updated successfully, but these errors were encountered: