Replies: 1 comment 2 replies
-
You may be hitting a configuration issue with the linker settings. Make sure to review https://learn.microsoft.com/en-us/dotnet/core/deploying/trimming/trimming-options?pivots=dotnet-7-0. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Current behavior
Hi,
I am using MQTTnet in my Android app. I have created an Android application on the UNO platform. The application is working fine in debug mode but when I publish my app and run it on my mobile phone, I am unable to receive subscribed topic after installing "APK" file on my mobile phone. Unable to find out the cause behind it.
Steps:-
Please provide me with a solution to it. Why my app is not receiving published messages in release mode?
Attaching a video for help.
DebugMode.mp4
AfterInstalling_APK_File_In_ReleaseMode.mp4
Expected behavior
My App should work in the same way as it is working in debug mode. But after installing published "APK", App is not able to receive MQTTnet messages.
How to reproduce it (as minimally and precisely as possible)
No response
Workaround
No response
Works on UWP/WinUI
None
Environment
Other
NuGet package version(s)
https://github.com/dotnet/MQTTnet--4.1.4.563
Affected platforms
Android
IDE
Visual Studio 2022
IDE version
17.5.0
Relevant plugins
https://github.com/dotnet/MQTTnet
Anything else we need to know?
You should use "https://github.com/chkr1011/MQTTnetApp" application to get connected with "test.mosquitto.org"
Beta Was this translation helpful? Give feedback.
All reactions