I hope this video helps me in my task. Will update after watching the video. Liked before Edit: It helped a lot. Thanks so much bro
@justflutter
8 ай бұрын
update?
@bensosfrequents
11 күн бұрын
my question is can I use services to upload images to server? if so how do I pass data from UI to background service. Do those services have parameters? Thank you
@Haru-iu2rf
Жыл бұрын
Thank you so much for this tutorial
@chchandrasekhar5575
7 ай бұрын
Super bro it is working thank you for this video
@dzaenkireolm
Жыл бұрын
holy shit! liked and subscribe thank you man!!! also share your code for more experimentation
@justflutter
Жыл бұрын
Welcome
@meshkatshadik
Жыл бұрын
can you please tell, why we don't use workmanager here. I saw workmanager is also able to do the background task. Then what's the difference between flutter_background_service and workmanager. In which case we choose flutter_background_service and in which we choose workmanager?
@justflutter
Жыл бұрын
Work manager will execute code at once. Like if we set some sheduled messages.. But background service is the services which continuesly run in background
@meshkatshadik
Жыл бұрын
@@justflutter I've seen in the pub, workmanager , "This is especially useful to run periodic tasks, such as fetching remote data on a regular basis.", That means, it runs continously, am I right? In that case, I think you said the opposite
@nabinkawan9298
8 ай бұрын
Yes, it runs in periodic basics not continuously.@@meshkatshadik
@abdifatahnour4191
Жыл бұрын
Many thanks to you, your video helped me.
@justflutter
Жыл бұрын
Thankyou for love
@ironmans234
5 ай бұрын
thank you sir your code work
@sikkicoding
Жыл бұрын
Thank you scrip academy for covering important topic
@justflutter
Жыл бұрын
It's my pleasure
@trendingfeelingsongs
3 ай бұрын
I like this video, but background service is auto start, when I clicked stop service button and then next time application open.
@Amjadkhan-kn2qt
Жыл бұрын
Great tutorial
@justflutter
Жыл бұрын
JAZAKALLAH
@AbhishekJain-o8h
21 күн бұрын
Is there a part 2 following this video?
@Tiktop-ld8qq
Жыл бұрын
Great 👍 sir
@justflutter
Жыл бұрын
JAZAKALLAH
@ASCTeam-q4b
Ай бұрын
i want to implement notification with timer when its duration is zero then remove notification otherwise show and user should not cancel
@thiagofurlan6763
9 ай бұрын
Excelent video!
@justflutter
8 ай бұрын
thankyou
@sandeepsandy3786
6 ай бұрын
For Ios it is not Working , Can you Suggest any solutions to run service when app is in kill state , Any Suggestions from Others , it Helps me a lot , Thanks in advance
@RechieArnado-ni5rn
5 ай бұрын
same. can you share if you already solved this problem?
@vasyasolovyov6702
Жыл бұрын
Thanks you!
@justflutter
11 ай бұрын
Ios part will be uploaded next week
@nanjiboyy7007
Жыл бұрын
Sir I'm working on namaz notification app and I want to receive notification on time so is it good approach to use this? Or how to get notifications in app killed state on time?
@justflutter
Жыл бұрын
If app killed this is best approach
@justflutter
Жыл бұрын
You can try workmanager too
@vibhavgupta4022
20 күн бұрын
Ek app try karna mullah ki daud masjid tak
@manvendrayadav9085
Жыл бұрын
is this possible I have to run background music on selected battery parsentage In IOS device (if I selected 45% battery on my device when it become 45per the alarm ring on background)
@muhamadirwan99
Жыл бұрын
Is possible to place websocket listener code in background service?
@HamdaShahid-j8w
Ай бұрын
there is neither the dependency block in my andriod.gradle file nor the build script block . but when i add it myself it gives a lot of errors for compatibility . the ext.kotlinversion is also not written there. how to figure out this? kindly help
@prashantnigam6698
Ай бұрын
update in setting.gradel
@C8705
Жыл бұрын
Got this error needs to hold android.permission.SCHEDULE_EXACT_ALARM or android.permission.USE_EXACT_ALARM to set exact alarms
@justflutter
Жыл бұрын
Follow the error
@BOYGG-be8tb
5 ай бұрын
Is possible to place websocket listener code in background service?
@nomanmughal4764
10 ай бұрын
what if i want to check charger in plug in or not??? when user connects the cable!!!
@farhadadarbar
Жыл бұрын
thnx big man
@nanjiboyy7007
Жыл бұрын
sir it is not sending the notification again and again just updating it
@justflutter
Жыл бұрын
It is working fine my code. May be you are doing something wrong
@illiteratenerd
Жыл бұрын
Bhai next time try adding the source code link so that we can get started and build on top of it.
@justflutter
Жыл бұрын
Source code will be shared today
@saadiprogrammer8927
Жыл бұрын
@@justflutter Where ?
@رولامهدي-غ7ج
Жыл бұрын
@@saadiprogrammer8927 wher
@officialismailshah
6 ай бұрын
Nice content quick question sir is the notification in the background undismissable? like if I try to swipe left or right will it be dismissed?
@justflutter
6 ай бұрын
Background services can not be dismissed. It constantly run unless you turn off from settings
@SkjoyBd
Жыл бұрын
What is the real life use, just showing notifications? And your video would have been more helpful if you could have shown some work being completed in the background. Like calling data from an API, and storing it in a local database. Thanks anyway.
@justflutter
Жыл бұрын
Will make another video within a couple of days to send location in background. Or any kind of service in nackground
@성이름-y9y3q
Жыл бұрын
Is it only alive about 15-30 seconds in ios background service?
@justflutter
Жыл бұрын
No
@maazafridi2090
Жыл бұрын
ye video great hai sir.... magar please sir.. phone auth mein problem arahi hai ... wo otp ajata hai magar sms naii ataa jiss mei code show ho.. please make a video on phone auth... emergency.
@justflutter
Жыл бұрын
Ok brother
@sumanth_g_l1120
Жыл бұрын
Why does Flutter not support foreground services for Android 11 and 12
@justflutter
11 ай бұрын
Security reasons
@antoniofuller2331
Ай бұрын
@@justflutterthen how do people make music players??
@jorgericardorodriguezzapat427
Жыл бұрын
Please part 2, pleeeasseee ! Great video. Thanks. I need to catch incomming calls and I think this is almost what I need. I already have the code in android native, just need to know how to add that code into this plugin. Thanks
@justflutter
Жыл бұрын
Coming soon!
@easytricks2674
Жыл бұрын
@jorgericardorodriguezzapat427 Have you been able to find a solution. I have been searching, I even tried using workmanager but it gave me a missing plugin exception error. My situation is just like yours
@DaniCraft187YT
8 ай бұрын
Please part 2!@@justflutter
@himanshukumargupta9993
Жыл бұрын
In the main function you wrote 'await initializeService()' but for me it's giving error. Any idea why?
@justflutter
Жыл бұрын
may be you did't define it
@mubashirvp4519
Жыл бұрын
But sir when i killed my app from recent in ios the service is being stop running. In android its working fine after killing the application. Is there any way to run same as in ios
@justflutter
Жыл бұрын
There is a problem in this code for ios. I will release next part to resolve it
@mubashirvp4519
Жыл бұрын
@@justflutter Thank you for your replay. And please release the next part asap .🙂
@ting7597
Жыл бұрын
@script academy can you share update for the working iOS
@mohdramzan770
8 ай бұрын
Main function you wrote 'await initializeService()' but it's giving error: plz help
@justflutter
8 ай бұрын
which error
@nidasensoy9498
11 ай бұрын
ios background service doesn't work. On foreground it works. on Android it works both. I don’t understand why and i doesn’t find any solution after i searched deeply. Xcode doesn’t give me any error about it. Do you have any idea? I appreciate it if you give me some clue about it.
@justflutter
11 ай бұрын
Ok let me check it then
@TheEgyptianflutter
5 ай бұрын
@@justflutter I have the same issue have you solved it ?
@usamasadiq5857
11 ай бұрын
Sir I have implemented the background service and flutter local notification, Now I want to cancel background services and hide notificition, when user tap on cancel action in notification. Like youtube and google maps. Please guide. I am unable to handle cancel task, means where to call?
@justflutter
11 ай бұрын
Bro vo notifications hoty hen. Background tasks nahi
@usamasadiq5857
11 ай бұрын
@@justflutter Thanks sir. Ma us task ko cancel krna chahta hun kesy ho notification sy
@fernandomontenegro7425
5 ай бұрын
Saludos, quiero que me ayudes con una app, y quiero saber cual es el costo
@melomanzer5508
Жыл бұрын
No part two?
@justflutter
11 ай бұрын
Part two will be on iphone
@manishkarki8119
11 ай бұрын
Where is part 2?
@codecraftmanisha_official
Жыл бұрын
I want background location when app is killed or terminated ..in flutter
@justflutter
Жыл бұрын
on start method just call location
@ghayoorhussain8930
Жыл бұрын
Women Safety Series Complete hogai h?
@justflutter
Жыл бұрын
Yeh usi ki e part hy.. Background p even app close ho g tab bhi shake effect chaley ga
@codecraftmanisha_official
Жыл бұрын
Does this work when app is killed or terminated if we remove from recent apps too
@justflutter
Жыл бұрын
it is built for this
@melikesoygullucu
Жыл бұрын
Sir where is part 2?
@justflutter
11 ай бұрын
Uploaded next week
@fatihdemir4639
Жыл бұрын
part 2 please...
@manishgautam2424
Жыл бұрын
What about windows and Linux or Mac background services
@justflutter
Жыл бұрын
can not say anything
@reelstoday9
Ай бұрын
not working in android 14
@antoniofuller2331
Ай бұрын
That is NOT surprising.
@watchshortshere
Жыл бұрын
SIR CAN I GET THE CODE
@justflutter
11 ай бұрын
Next week
@melomanzer5508
Жыл бұрын
IS it mandatory to show notifications ?
@justflutter
Жыл бұрын
yeah for foreground task.
@CodeWhizxyz
5 ай бұрын
bro please share source code
@unleedobj
Жыл бұрын
is it possible to use more than one service?
@justflutter
Жыл бұрын
Yes why not. What type of service you would like to put
@unleedobj
Жыл бұрын
@@justflutter i want to continuous track user location and incoming calls, but both will only work if user start the service.
@unleedobj
Жыл бұрын
@@justflutter i already has the code for both, but incoming call listener doesnt work, maybe because i use a kotlin code with EventChannel to do that.
@justflutter
Жыл бұрын
@@unleedobj both can be put in background service
@jeanpierreunis
9 ай бұрын
useless for ios, it keeps it alive 15 to 30 seconds :(
@justflutter
8 ай бұрын
for IOS I have to work around more
@quanghuybui7694
Жыл бұрын
i try to apply your code into my app but i got this err: ERROR:flutter/runtime/dart_vm_initializer.cc(41)
Пікірлер: 107