MAUI Android Background Services: The .NET Show with Carl Franklin Ep. 46

  Рет қаралды 10,789

DevExpress

DevExpress

Күн бұрын

Пікірлер: 49
@jitendrajadav9110
@jitendrajadav9110 Жыл бұрын
Thank you @Carl Franklin, please add background services for iOS this will really help!
@DeveloperExpress
@DeveloperExpress Жыл бұрын
He's working on it.
@jitendrajadav9110
@jitendrajadav9110 Жыл бұрын
@@DeveloperExpress Thank you so much really appreciate!
@benhorton6758
@benhorton6758 11 ай бұрын
Hi @@DeveloperExpress, any update on an iOS version? It'd be really helpful
@Spud9
@Spud9 10 ай бұрын
​@@DeveloperExpressIs there any progress on this? There's no really helpful guidance I can find anywhere else.
@kelputoo.
@kelputoo. 8 ай бұрын
It works, however an annoying notification will always appear sticky on your phone, is there any way to make a REAL background service and not a foreground service? I want to be able to display notifications on the app, without a foreground notification service. The title isn't very good explicit.
@cissemy
@cissemy Жыл бұрын
Can you make one about IOS ? Thanks
@jonny.rubber
@jonny.rubber 5 ай бұрын
Amazing tutorial. Just implemented SignalR to show an Alert in my MAUI app, but was thinking of exactly this functionality. After a quick browse I came here. Everything is there. Not as simple as I imagined it. Hopefully I'll find the same for Windows and iOS. Thanks a lot.
@carlfranklin7894
@carlfranklin7894 5 ай бұрын
Not at all as simple for iOS. I'm still trying to figure that out.
@billymartin6497
@billymartin6497 Жыл бұрын
Great video. Would really love to see one on Home Screen Widgets, something a lot of us would love to do.
@ShinkuRaj-ji8nc
@ShinkuRaj-ji8nc Ай бұрын
Hi Thanks for sharing the video. I have a small Doubt Can we have implement Dependency Injection to this Backgroud Service
@Dimitris.Christoforidis
@Dimitris.Christoforidis 2 ай бұрын
Thank you Carl!! Exellent work!! Background jobs are very important in mobile apps. I wonder if there is any ready-made library for this purpose. I looked for shiny-jobs. I don't think that it works very well. Do you have found any other libraries for net maui?
@carlfranklin7894
@carlfranklin7894 2 ай бұрын
No, I couldn't find any. That's why I wrote it myself. :)
@Dimitris.Christoforidis
@Dimitris.Christoforidis 2 ай бұрын
​@@carlfranklin7894 Thank you Carl! Can you create a ready library for this? Like a nuget? Or to add it via devexpress maui libraries in future.
@Spud9
@Spud9 10 ай бұрын
@DeveloperExpress, I'm running into an issue where after the app's closed and I get a notification, if I click the notification the app tries to launch but then gets stuck and crashes. Any insights?
@danielbrown7534
@danielbrown7534 8 ай бұрын
did you find a solution I am having the same issue.
@michaelhamilton6905
@michaelhamilton6905 10 ай бұрын
It would be nice to have some more details in regards to the warnings about not using it in production due to security concerns. It is not clear to me what are the details about the security concern or what needs to be done to mitigate that concern.
@marcoerlwein2165
@marcoerlwein2165 Жыл бұрын
great Carl, thanks a lot, please for IOs
@carlfranklin7894
@carlfranklin7894 Жыл бұрын
Working on it. iOS has an official process for notifications, so I'm first going to focus on background services, which have to continuously restart themselves to avoid being shut down by the OS.
@marcoerlwein2165
@marcoerlwein2165 Жыл бұрын
@@carlfranklin7894 Thank you very much for the answer, you are a great person
@jeanhibbert
@jeanhibbert Жыл бұрын
Thanks Carl!
@hamzaougui6751
@hamzaougui6751 Жыл бұрын
​@@carlfranklin7894hello carl .. please is there any news about iOS 😐
@RongMilon
@RongMilon 8 ай бұрын
Not working with api 33/34 working fine with api 31 any solution for new api?
@RickardApps
@RickardApps 6 ай бұрын
Have you found a solution?
@draganradovac8803
@draganradovac8803 6 ай бұрын
That was an amazing tutorial. Thank you
@AD2S2023
@AD2S2023 Жыл бұрын
Hi how to disable the background service is running notification in this solution can you please help me
@craigpeter9355
@craigpeter9355 6 ай бұрын
This is an excellent video, thank you! Does it work on Android Emulator (Pixel 5 API34 Android 14)? I got it to work on my phone but not the emulator.
@ChidubemMichael-sb6uz
@ChidubemMichael-sb6uz 3 ай бұрын
Same with me. it doesnt work on my emulator, same emulator as yours. what do you think could be the issue with it
@cimishpk
@cimishpk Жыл бұрын
Excellent presentation Carl, but please make the repository public.
@DeveloperExpress
@DeveloperExpress Жыл бұрын
Here's the link... github.com/carlfranklin/mauiandroidfs
@cimishpk
@cimishpk Жыл бұрын
@@DeveloperExpress Thank you Carl, but something wrong again with GitHub, error code 404 page not found.
@carlfranklin7894
@carlfranklin7894 Жыл бұрын
@@cimishpk Fixed.
@cimishpk
@cimishpk Жыл бұрын
@@carlfranklin7894 Thank you
@jeanhibbert
@jeanhibbert Жыл бұрын
thank you Carl! you rock dude!
@ferhatbulga
@ferhatbulga Жыл бұрын
Can we add a right click event to this background application? For android
@harrydang5248
@harrydang5248 Жыл бұрын
Great video Carl, Can you share that code?
@carlfranklin7894
@carlfranklin7894 Жыл бұрын
Links are in the show notes at thedotnetshow.com but here's the repo link: github.com/carlfranklin/mauiandroidfs
@marcoerlwein2165
@marcoerlwein2165 Жыл бұрын
@@carlfranklin7894 The repository is set to private, please make it public.
@carlfranklin7894
@carlfranklin7894 Жыл бұрын
@@marcoerlwein2165 Doh! Sorry. Public now
@valentinoromelio5414
@valentinoromelio5414 8 ай бұрын
Can the same done for Windows?
@marcoerlwein2165
@marcoerlwein2165 Жыл бұрын
Carl, one question, hubConnections work with SignalR on iOS?
@carlfranklin7894
@carlfranklin7894 Жыл бұрын
I don't see why not, although iOS is a completely different beast when it comes to notifications. If your goal is to show notifications, there's a completely different process you need to go through. If you just want some kind of background service, as I showed in Android, it's possible, but you have to jump through hoops to make sure iOS doesn't shut you down. I'm struggling with the process, but I'll do a show on it when I get some answers.
@marcoerlwein2165
@marcoerlwein2165 Жыл бұрын
@@carlfranklin7894 Hi Carl, when is the video for IOs? sorry for the pressure, but there is not much information for IOS.
@hamzaougui6751
@hamzaougui6751 Жыл бұрын
Amazing tutorial thank you so much .. can please the same tutorial for Maui Blazor IOS ? .. waiting for it please
@lukasjacobs2358
@lukasjacobs2358 Жыл бұрын
Would have been nice if there actually was something about a background service. I'm aware of the distinction and was actually looking for background service information, not foreground...
@iamzoli
@iamzoli Жыл бұрын
you can extend the foreground service by implementing Android.Content.BroadcastReceiver that receives SCREEN_OFF event and when it does acquire Android.OS.PowerManager.WakeLock with WakeLockFlags.Partial. then it will run all the time.
@kelputoo.
@kelputoo. 8 ай бұрын
Same, did you found any way to do it?
@bruno-id1wh
@bruno-id1wh Жыл бұрын
This video is exactly what I need for my project, but unfortunately I can't get the boot receiver working - it throws a Permission Denial exception at startup. I thought I must have missed something but it does the same running the code from github. Any ideas please? Security exception: Permission Denial: starting Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=com.companyname.mauiandroidfs/crc642c2de4fd9814d752.MainActivity } from null (pid=20066, uid=2000) requires android.permission.RECEIVE_BOOT_COMPLETED java.lang.SecurityException: Permission Denial: starting Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=com.companyname.mauiandroidfs/crc642c2de4fd9814d752.MainActivity } from null (pid=20066, uid=2000) requires android.permission.RECEIVE_BOOT_COMPLETED
@franciscoruiz6332
@franciscoruiz6332 4 ай бұрын
same here and there is not much information about brocastreceiver to implement in maui
Implement Push Notifications with Xamarin.Forms (iOS) and FCM
27:05
Gerald Versluis
Рет қаралды 27 М.
.NET in 300 seconds
5:48
Amichai Mantinband
Рет қаралды 80 М.
How it feels when u walk through first class
00:52
Adam W
Рет қаралды 26 МЛН
Osman Kalyoncu Sonu Üzücü Saddest Videos Dream Engine 275 #shorts
00:29
REAL 3D brush can draw grass Life Hack #shorts #lifehacks
00:42
MrMaximus
Рет қаралды 12 МЛН
Track Users Location in the Background with Android and Xamarin.Forms
41:14
Automating Browser UI: The .NET Show with Carl Franklin Ep 46
28:15
Foreground Service - Xamarin (Android)
36:02
Programming With Pragnesh
Рет қаралды 5 М.
Shiny.NET for .NET MAUI | .NET Dev Show
54:09
Progress Telerik
Рет қаралды 1,2 М.
.NET MAUI: Customize Controls with Handlers and Mappers
11:21
Gerald Versluis
Рет қаралды 15 М.
Implement Push Notifications with Xamarin.Forms (Android) and FCM
28:49
Easily Record Audio with .NET MAUI and Plugin.Maui.Audio
13:26
Gerald Versluis
Рет қаралды 4,2 М.