Run a Repeatable Work from the Background using WorkManager

  Рет қаралды 9,923

Stevdza-San

Stevdza-San

Күн бұрын

Пікірлер
@bradlara8995
@bradlara8995 Жыл бұрын
Good lord, what a hight quality content. I really appreciate this kind of videos my friend, many thanks
@ayyanchira
@ayyanchira 9 ай бұрын
What an amazing content!!! Thank you so much for explaining this with example!
@AndrewDChristie
@AndrewDChristie Жыл бұрын
Thanks!
@bigpiglove
@bigpiglove Жыл бұрын
Thank you for your time helping us to understand this topic!
@ChrisAthanas
@ChrisAthanas Жыл бұрын
Short and sweet
@nipunshah1373
@nipunshah1373 Жыл бұрын
Does a single unique work can have multiple status (ie WorkInfo) at a given time?
@ChrisAthanas
@ChrisAthanas Жыл бұрын
Easy work request has a individual status
@tiltedbybox6118
@tiltedbybox6118 2 ай бұрын
Is there even a situation where you would NOT want unique work?
@marlonlom
@marlonlom Жыл бұрын
where do the worker must be launched ? activity, application class?
@denisk3852
@denisk3852 Жыл бұрын
How about reload of device? Does WorkManager need to enqueue again?
@mubaraknative
@mubaraknative Жыл бұрын
Great stefan
@yakayaka2979
@yakayaka2979 11 ай бұрын
work manager not for battery saving. What is the solution for this?
@PratikSahu18
@PratikSahu18 Жыл бұрын
I have a periodic work manager which checks local db and send notification based on that. Problem is it works if I run in emulator or install in my device via adb but when I download from playstore the work manager never runs. It runs only when I open the app. Is the device stopping work manager for battery saving? My device was not in powersaving mode and it was at 90% charge.
@thangamxx5408
@thangamxx5408 10 ай бұрын
I tried but not running on background which run only when app opened not closed completely. Can you please give hand?
@StevdzaSan
@StevdzaSan 10 ай бұрын
If you tried triggering the foreground service from the background then yes, there are restrictions from the os itself.
@thangamxx5408
@thangamxx5408 10 ай бұрын
@@StevdzaSan I didn't tried yet bro, I've read background process documentation which says long running tasks need foreground service not for below 10 mins. This is my requirement, I want to show notification daily interval when app closed it takes only few milliseconds isn't right? And also as you said triggering foreground service also restricted in background. Do you have any solution for this bro! 🙏 I found one use FCM but currently not necessary for me so...
@StevdzaSan
@StevdzaSan 10 ай бұрын
@thangamxx5408 You've misinterpreted the docs. You can't trigger a Foreground service from the background, unless the user manually changes the settings for youe app to allow it.
@thangamxx5408
@thangamxx5408 10 ай бұрын
@@StevdzaSan so you suggest to use foreground service for my requirement isn't right?
@StevdzaSan
@StevdzaSan 10 ай бұрын
@thangamxx5408 Like I said, you need to let your users know that they do need to enable that option manually.
@aungpyaesone7938
@aungpyaesone7938 Жыл бұрын
Thank u so much
@thecoderui
@thecoderui 9 ай бұрын
Thank you
@engineerfred9427
@engineerfred9427 10 ай бұрын
hei Stev.. in my project im intending to use two CustomWorkers and i don't know how to handle the work factories for both Workers in the application class. PLease reply its required for my project
@anamikaraj8949
@anamikaraj8949 Жыл бұрын
Can you please make a video on How to make OTP verification in Kotlin in Android Studio I Love all Your Videos Your Videos are Soo Helpful ThankYou So Muchh....
@jopadjr
@jopadjr Жыл бұрын
72nd...Thanks
@marvin4519
@marvin4519 Жыл бұрын
@eunicehirthe
@eunicehirthe Жыл бұрын
Promo-SM 😆
@fernandovallervideos
@fernandovallervideos 9 ай бұрын
Thank you
Execute an important work using WorkManager - Expedited work
14:47
Stevdza-San
Рет қаралды 4,7 М.
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 41 МЛН
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН
Мен атып көрмегенмін ! | Qalam | 5 серия
25:41
When you have a very capricious child 😂😘👍
00:16
Like Asiya
Рет қаралды 18 МЛН
Full Guide to Jetpack Compose Effect Handlers
24:56
Philipp Lackner
Рет қаралды 99 М.
Kotlin Multiplatform vs Flutter: Which should we use?
4:42
Kei Fujikawa
Рет қаралды 27 М.
Google’s Quantum Chip: Did We Just Tap Into Parallel Universes?
9:34
Foreground Services - Android Basics 2023
22:22
Philipp Lackner
Рет қаралды 89 М.
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 41 МЛН