Comments (4)
https://developer.android.com/about/versions/oreo/android-8.0-changes#back-all
https://developer.android.com/guide/components/foreground-services
You can give https://github.com/hannesa2/paho.mqtt.android/releases/tag/3.4.0-beta7 a try. It's without foreground-services
from paho.mqtt.android.
eclipse/paho.mqtt.android#418
eclipse/paho.mqtt.android#274
eclipse/paho.mqtt.android#195
from paho.mqtt.android.
I don't mind use it as a foregroun service if it's needed
but I currently don't know what to put inside this foregroundNotification
since I don't use it in my app.
what should I put inside of it or can I just put null
?
from paho.mqtt.android.
Please have a look in the code. It's a running sample
from paho.mqtt.android.
Related Issues (20)
- The foreground service types are required since Android 14 HOT 2
- Started service vs bound service HOT 10
- Calling disconnect twice results in crash HOT 1
- Exact alarm HOT 6
- Network change results in a NullPointerException. HOT 17
- Sending when not connected results in crash HOT 1
- connectionLostAction crash: MqttException cannot be cast to android.os.Parcelable HOT 2
- Interference with Filterable HOT 2
- toolbar overlapped with notfication bar HOT 3
- PROBLEM TO POPULATE TEXTVIEW WITH MESSAGE_ARRIVED HOT 2
- IllegalArgumentException for Android S+ Version HOT 4
- 在发送心跳时 cpu占用高 HOT 2
- BroadcastReceiver components are not allowed to bind to services HOT 4
- The play store console stated that am using FOREGROUND_SERVICE_DATA_SYNC even though I don't. HOT 8
- WorkManager version, WAKE_LOCK permission and Chucker Library HOT 5
- Long running tessts in sleep mode HOT 2
- Unexplained websocket disconnection precisely 5 minutes after the connection is established HOT 5
- Need Android 14 support - App Crashes HOT 2
- MQTT连接后androidx.work mqtt的消息也收不到 HOT 1
- android14设备,使用3.6.4,经常会断开连接,提示:已断开连接 (32109) - java.net.SocketException: Software caused connection abort HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from paho.mqtt.android.