I don't usually subscribe, but you deserve it. Thanks a lot for the video.
@jfversluis3 жыл бұрын
Thank you Selim! Appreciate that!
@joaquinsalas97493 жыл бұрын
Thank you very much Gerald. Excellent, we would like the community to feel that a tutorial on a cloud push notification service would be interesting. Greetings. 😎
Thank you very much Gerald. I follow all your videos and you do it wonderfully, however I would like you to make an example of notifications in the background using firebase, onesignal or Azure Notification Hubs. Thank you very much in advance.
Спасибо, мужик, ты мне очень сильно помог! Я бы мог написать это на английском языке, но знай, что ты помог русскому, поэтому твоя популярность охватывает широкие территории! Я подписался, буду следить за твоим каналом!
@jfversluis2 жыл бұрын
Thanks man! Had to use some Google translate magic but I got the message! Thanks a lot, appreciate it! :)
@АртемАбрамов-щ7й Жыл бұрын
Hello Gerald! First of all thank you for your lesson, but I have a question: How to stack several notifications? For e.x: When i received new notification i want to stack them
@deaasaleh36133 жыл бұрын
Thank you Gerald Can you do a video about background services in xamarin forms?
@jfversluis3 жыл бұрын
What kind of background services do you need?
@jbladimir163 жыл бұрын
@@jfversluis firebase, onesignal or Azure Notification Hubs
@MiguelPrieto3 жыл бұрын
Yes I agree, Notification integrated with Firebase please
@deaasaleh36133 жыл бұрын
@@jfversluis even if the user close my app i want to do some schedule things like getting data or updates from a server and showing notifications about it or reminding the user to do some things in selected date and time
@xtxmidnightxtx17843 жыл бұрын
Thanks for all the videos you make!
@jfversluis3 жыл бұрын
Appreciate it! And you thank you for watching them all! You did watch them all, didn’t you? 👀
@xtxmidnightxtx17843 жыл бұрын
@@jfversluis I actually only started watching recently after introducing myself to Xamarin Forms a few months ago. I'd say I've watched enough to stay *notified* 😀
@Arcanisize3 жыл бұрын
This topic is needed
@jfversluis3 жыл бұрын
Now it’s here! 😄
@olegboguslawski3 жыл бұрын
Cool! Thanks! Can you make a vid how to implement a background service which would send these notifications then? :)
@jfversluis3 жыл бұрын
That will only work on Android, for iOS it won't fly. So maybe another approach would be to do something when the app is launched and then (re)schedule the next notifications?
@twopeaksendurance3 жыл бұрын
@@jfversluis Would it be possible for iOS to connect to a SignalR Hub on a .NET Server and then trigger the popups on SignalR Messages locally? For Android this works well.
@xaxa43863 жыл бұрын
Exactly what I am searching for! one hour ago!
@jfversluis3 жыл бұрын
Hope it still helps! 😄
@xaxa43863 жыл бұрын
@@jfversluis you vids always help, Thank you for your good service sir!
@usamaelhamed43243 жыл бұрын
Thanks so much Gerald, I was looking for something like this
@jfversluis3 жыл бұрын
Glad to be of service!
@jolaybib5043 жыл бұрын
Thank you so much , your explaining is tooo clear
@jfversluis3 жыл бұрын
Thank you! That is wonderful to hear!
@jolaybib5043 жыл бұрын
Can i ask you ? In NotificationRequest doesn't have definition for Notifytime any more , so i cannot set a time to launch a notification , what i can do plz ?
@jfversluis3 жыл бұрын
@@jolaybib504 are you sure? This video is very recent. It would be a big coincidence if the plug-in was updated just now
@jolaybib5043 жыл бұрын
Yes i'm sure , maybe because the new version of plugin was changed . Thanks .
@jfversluis3 жыл бұрын
Huh! You’re right. That’s funny. Ok it looks like you now need to use the Schedule property for that :)
@AldairOH3 жыл бұрын
Thanks again for your contributions !
@jfversluis3 жыл бұрын
Thank you!
@kentr66493 жыл бұрын
Hi Gerald, I'm running into some issues implementing local notifications, it seems that even if I schedule the notification well in advance, if the user closes the app the notification will not work. Is there an implementation or approach that can cover this? Thanks Edit: This may be an Android exclusive issue.
@jfversluis3 жыл бұрын
So it doesn't trigger, also not once, when you really close the app? If you think it's a bug you probably want to open an issue on the repository for this plugin :)
@crazytv68872 жыл бұрын
Small icon in notification in top rigth corner is gray as in your example in 18:50. Can it be fixed on Android?
@jfversluis2 жыл бұрын
Absolutely, there is an option to configure the icon
@thanasissideridis28012 жыл бұрын
Thank you for all your great guidance in all matters of Xamarin. You make a lot of peaple lifes easier! I was wondering if there is a way to add 'Action" buttons to the notification and act accordingly. In my case I just want to edit a notification that acts as a foreground service and edit it so that i show some usefull information and add some action buttons. Again... you are a lifesaver!
@jfversluis2 жыл бұрын
Looks like you can with version 7 and up: github.com/thudugala/Plugin.LocalNotification/wiki/Notification-with-Action#xamarinforms
@stryder123452 жыл бұрын
Guys if you have error NotificationCenter.CreateNotificationChannel(); doesn't exist in current context change NotificationCenter to LocalNotificationCenter.CreateNotificationChannel(); In video version of this plugin 5.2 actual version is 10.01. It was changed. Or just downgrade version
@jfversluis2 жыл бұрын
Oh that’s a great find! Thanks for sharing!
@stryder123452 жыл бұрын
@@jfversluis 😀
@hullcan3 жыл бұрын
Thank You Gerald! Subscribed :)
@jfversluis3 жыл бұрын
I should be thanking you then Richard!
@lilianesoliman72682 жыл бұрын
Very very Nice material and tutorial as usual, but have a question how to make notification displayed on the top of the screen when received in android as in IOS, thanks again
@jfversluis2 жыл бұрын
If your app is not running in the foreground it should show up automatically. If your app is running then there is an event that is triggered and you will need to implement code to show something yourself! This can be done by displaying an alert or maybe a toast or snackbar.
@crazytv68872 жыл бұрын
One more question. In notification this small image in top left corner doesn't appear. How to fix it? Please let me know
@jfversluis2 жыл бұрын
Make sure the icon is in your project, has the right format and you added it to the notification configuration.
@madraven373 жыл бұрын
Thank you, just what I needed for my App.
@jfversluis3 жыл бұрын
Hope you can make it work for your needs!
@madraven373 жыл бұрын
@@jfversluis Hope I can make it work on background, my app requires the expiration date and the date will trigger the notification. Any advice on this??
@jfversluis3 жыл бұрын
Not sure what advice you’re looking for; as shown in the video you can set the notification to any date and time so you can link that to the date you need and it will show up nicely :)
@madraven373 жыл бұрын
@@jfversluis Sorry for the confusion, I think I will have to work on the code first, then I'll get back here..
@jfversluis3 жыл бұрын
@@madraven37 let me know!
@danielotoo41773 жыл бұрын
Does the tapped event work with xamarin forms shell?
@jfversluis3 жыл бұрын
I would think so yes
@danielotoo41773 жыл бұрын
@@jfversluis I seem to have some error Everytime I use it.
@acc65403 жыл бұрын
so simple very well With fluent expression Thankful
@jfversluis3 жыл бұрын
Thanks Hassan! Glad you liked it!
@yevheniikapitonov99212 жыл бұрын
Thanks for video, i found it much useful for me)
@jfversluis2 жыл бұрын
Glad to hear that! Thank you so much!
@Edgar-tz9nb2 жыл бұрын
Hi Gerald, thanks much for video, I wonder can I use it in dotnet MAUI? if not what is the easier way to use notifications in MAUI
@jfversluis2 жыл бұрын
I don't think there is any plugin that does this right now, but you would sure be able to implement this using platform code :)
@TvCartago2 жыл бұрын
Thank you very much!!! please show how to add/configure sound file in notification... Greetings
@jfversluis2 жыл бұрын
There is a sound property in there that you can set. Add the sound file to your app, set that property and that should be it
@suhas0070073 жыл бұрын
Hi Gerald, How to make local notification work when i have killed or terminated my app? Is there any way other than FCM notification to implement above scenario ? Your help is highly appreciable. Thanks in advance
@jfversluis3 жыл бұрын
Seems this is a current issue with the library: github.com/thudugala/Plugin.LocalNotification/issues/184
@jfversluis3 жыл бұрын
Implementing push notifications with FCM can be found here: kzbin.info/www/bejne/baiVomV6a9KFbck
@pavelkoleckar35863 жыл бұрын
Is there a way how to change returning datatype of the Current_NotificationTapped event created in time 14:55? It has void defaultly.
@jfversluis3 жыл бұрын
I'm afraid you can't, what is it that you're trying to do? :)
@pavelkoleckar35863 жыл бұрын
@@jfversluis I already solved it by calling another method from the Current_NotificationTapped method :) I asked also on Stack stackoverflow.com/questions/67874286/how-to-return-a-value-from-current-notificationtapped-event-local-push-notifica If you want, you can write an answer there saying that is not possible :-D
@jfversluis3 жыл бұрын
Glad you fixed it! I will see about that answer tomorrow, thanks! 😄
@winningsih82292 жыл бұрын
Thank you very much Gerald, its a great video, i used it (with last update) and work great. But i want to know if a user submit approval and then by system it has to send notification to the bos for example. can we use this plugin too?
@jfversluis2 жыл бұрын
I’m not sure if I understand what you mean. But you can trigger code whenever someone tapped on this notification so I think you can do what you want?
@winningsih82292 жыл бұрын
@@jfversluis Thanks for your reply. Let me use an example to make it clear. For example user A entered a changes to Customer Credit Limit from 1000 to 1500 and it needs an approval from his supervisor(user B). After he submit it, then the system will send the notification. so how will the notification appears on user B phone?
@GentiGace3 жыл бұрын
Hi Gerald, thank you for your explanation of this plugin but I want to ask how can we use it with mvvm. Can you make another video dedicated for mvvm?
@jfversluis3 жыл бұрын
I don’t see why this can’t be used with MVVM. Instead of doing it with a button just put it in the Command you have in mind :)
@miaadib61463 жыл бұрын
thank you so much for this kind of video
@jfversluis3 жыл бұрын
My pleasure! Just glad you find it useful!
@miaadib61463 жыл бұрын
@@jfversluis bro .. just i have small problem .. i cant find NotifyTime in this list what can i do plz?
@jfversluis3 жыл бұрын
I think that moved into another property in a newer version that was released after this video :)
@Husdajukies3 жыл бұрын
Oh and btw, is there any way to stop repeating the notification when it reaches a certain date? Example: I want to repeat a notification daily from 05/06/2021 to 08/06/2021 how can I do that?
@madraven373 жыл бұрын
I think "Cancel" will do the trick, you just need the Id that you set when you scheduled the notification.
@Husdajukies3 жыл бұрын
@@madraven37 oh I see, I will try that thanks!
@jfversluis3 жыл бұрын
Thanks for the help @Mad Ox! Let me know if you can figure it out :)
@sheikhshuaib84513 жыл бұрын
hi sir, how can we add sound and image to this notification
@jamalfazeli91272 жыл бұрын
Please make a video about how to use notification in MAUI.
@jfversluis2 жыл бұрын
Will come, but might take a while
@federicopalanca53663 жыл бұрын
Thanks, really well explained! I don't find anything to send silent notification with only vibration (no sound)... Do you have any advice to help me?
@jfversluis3 жыл бұрын
Hm to be honest I’m not sure if that’s possible. On iOS at least you only get vibration when you send sound and the user set their device to silent. So it’s the users choice how to get notified.
@federicopalanca53663 жыл бұрын
@@jfversluis I tried to add a custom sound but it doesn't work, notification always have default ringtone... Have you try to custom notification sound?
@mroli451 Жыл бұрын
Great video!
@jfversluis Жыл бұрын
Dank je wel!
@orijueladave54972 жыл бұрын
Can you create a tutorial about custom notification. Like if you want to add a button on the notification to dismiss, reply and snooze. Playing audio like alarm clock when notification is triggered? Please
@jfversluis2 жыл бұрын
Looks like that is something you can do with version 7+: github.com/thudugala/Plugin.LocalNotification/wiki/Notification-with-Action#xamarinforms
@adam_adam2032 жыл бұрын
Hi, great tutorial. Could you help me with my problem? In my case when app is closed and app is not in use, notifications don't appear until user starts using the phone. Is there any solution to this problem or idea how to fix it?
@jfversluis2 жыл бұрын
Check the plug-in repo!
@luisamre13682 жыл бұрын
Hey Gerald, I was wondering if there is a way to show a notification in background or even if the app was totally closed ?
@jfversluis2 жыл бұрын
Should be possible with this!
@cissemy3 жыл бұрын
Thanks Ca you make one about FCM push notification ?
can i check if some of notifications are still scheduled? i need it in my if statement
@jfversluis2 жыл бұрын
Hm not sure to be honest. If you have the ID when you schedule if you can at least cancel it and put in a new one, maybe that helps?
@ahmettalhasahin69793 жыл бұрын
I have a question. When I send notification twice, only appering one of them. IDK why , How to solve it ?
@jfversluis3 жыл бұрын
Do you specify a different ID?
@Husdajukies3 жыл бұрын
thank you! very helpful and explained well!
@jfversluis3 жыл бұрын
Glad it was helpful and thank you for the kind words!
@christianmukeba41753 жыл бұрын
Hi Gerald, First I thank you for this amazing video. Question: I am showing the Notification from a Print Service but my notifications are only showing when the app is open, whenever I close the app the notification does not show anymore. How can I overcome this behavior.
@jfversluis3 жыл бұрын
Thank you Christian! Have you checked the library repo? Maybe there is a bug there that causes this
@cincior30512 жыл бұрын
Pls help me. I didn't understand your tip in last comment. Can you describe what should I do?
@cincior30512 жыл бұрын
i can add that my data is writing into file after I change page in my app. Can it disturb my events when i change pages?
@claudiofonseca3222 жыл бұрын
Hello, I'm using this functionality to notify alarm notes in my app, imagine if I delete a note and I wanted to delete the push notification as well, how do I implement that?
@jfversluis2 жыл бұрын
I think you need to update the notification with the same I’d but set the notification date in the past
@jsnsoft_official3 жыл бұрын
Nice and cool ! I have one only one doubt. You wrote notification tapped in Main Page and your firing notificaton also in main page. But the user has not opend the app at all. In this case where shall write the notification tapped event?
@jsnsoft_official3 жыл бұрын
Sorry, got it. I wrote on appshell.xaml.cs
@jfversluis3 жыл бұрын
Glad you found it!
@micriteo2 жыл бұрын
Is there a way where you press the notification and it redirects you to a specific page and not resumes the app ?
@jfversluis2 жыл бұрын
Yep, there is absolutely a way for that!
@ccchiao73142 жыл бұрын
thank you so much this video is really helpful~~😃
@jfversluis2 жыл бұрын
Great! Thank you for watching!
@aukiboy2 жыл бұрын
Any way of changing the notification icon? I've googled a bit but can't find anything. Sample code isn't helping me alot either.
@jfversluis2 жыл бұрын
There are Android specific setting in the Android property on the request, that has some icon options. On iOS you can’t change the icon.
@CrystalFocus3 жыл бұрын
awesome stuff and nicely explained. dank!
@jfversluis3 жыл бұрын
Glad you liked it! Thanks for letting me know!
@ahmettalhasahin69793 жыл бұрын
Hi I have some issue when I get Notification, If there is existing Notification , second notification doesn't appering on phone but phone is vibrating, how to show both ? Thanks
@jfversluis3 жыл бұрын
Specify a different id probably:)
@makatozi3 жыл бұрын
Great presentation! Just one question and it is slightly off topic - but how do you show the app icon on the android emulator home screen (to check the badge change)?
@jfversluis3 жыл бұрын
Not sure what you're asking? You mean the little round badge on the app icon in the home screen?
@makatozi3 жыл бұрын
@@jfversluis I mean the app icon itself :). The home screen on my emulator doesn't contain my app icon, and I was wondering did you have to set that up?
@jfversluis3 жыл бұрын
The icon should always be there, it doesn’t show up on the Home Screen automatically, swipe up to see all the apps on the emulator and it’s should be there
@jsnsoft_official3 жыл бұрын
I got another problem. If I send multiple notifications, and the previous notification I didn't tapped, but the following notifications are not adding up just replacing each time. Any help?
@jfversluis3 жыл бұрын
Then you probably need to use a different id to make them unique :)
@noahdannaoui63313 жыл бұрын
Hi Gerald, I was wondering if there is a way for you to put data into the notification itself? For example, I want the user to be able to select a date and time and what the user has selected get setup in the notification. great video!
@jfversluis3 жыл бұрын
Sure, capture all that data first and schedule the notification after that and add that to the message :)
@noahdannaoui63313 жыл бұрын
@@jfversluis thanks so much!
@preetikashyap92543 жыл бұрын
can you tell me how to set timeout for this pop
@jfversluis3 жыл бұрын
Not sure what you mean by this?
@jitendrajadav9110 Жыл бұрын
Notification sounds is not working in MAUI is there any suggestion?
@jfversluis Жыл бұрын
Check and potentially report on the plugin repo
@arabicdotnet15523 жыл бұрын
when i put the "using Plugin.LocalNotification" in main activity ... send me error in the definition, knowing that I installed the library before that !! where is the problem ?
@jfversluis3 жыл бұрын
Double check it’s really installed :) if it is the namespace should be there
@PradeepKumar-ej3nn2 жыл бұрын
How to Dynamically Update the badge count .. unable to update the badge count
@veiga7573 жыл бұрын
Hi Gerald. It's possible to pop-up the notification or I missed something? When I receive a notification it doesn't pop up.
@jfversluis3 жыл бұрын
Not sure what you mean by pop up? When you are inside the app or when it's closed?
@veiga7573 жыл бұрын
@@jfversluis inside and closed. I receive the notification but it's doesn't pops-up. When I say "pops-up" it means the pre-visualization of the notification at the top of the screen and then dissapears.
@cincior30512 жыл бұрын
Hello. In taped event data like title or retruning data doesnt work. How to fix that?
@jfversluis2 жыл бұрын
Based on "doesn't work" it's most of the time impossible to say something useful. Sorry 😅
@crazytv68872 жыл бұрын
can i send notification while app is closed after scheduled it?
@jfversluis2 жыл бұрын
Should be, yea
@nimaaminz23783 жыл бұрын
Thank you so much ,, but I have a problem , how to enable notification banner ? cause the notification only show in status bar and its doesn't show as banner like every Applications . . .
@jfversluis3 жыл бұрын
Check out my video on remote push notifications, I think that is applicable here too: kzbin.info/www/bejne/baiVomV6a9KFbck
@nimaaminz23783 жыл бұрын
@@jfversluis Thanks Bro it helped ! , You are my Spiderman :-D
@jfversluis3 жыл бұрын
@@nimaaminz2378 Haha thank you! :D
@mustafaahmed1743 жыл бұрын
Thank you, very helpful But notification bar not show up in android ? I don't know how to set notification chancel?
@jfversluis3 жыл бұрын
Have a look at this: github.com/thudugala/Plugin.LocalNotification#with-platform-specific-options You probably want to set the Priority to high
@mustafaahmed1743 жыл бұрын
@@jfversluis yes it was the Priority, thanks a lot
@jfversluis3 жыл бұрын
Awesome! Glad I was able to help
@Leagueofwarlockyy2 жыл бұрын
Hey, can you show how to make a notification scheduled for a certain time? I want to make notifications which will trigger at both 3 PM and 6 PM everyday, but i am not sure how to do it with syntax.
@jfversluis2 жыл бұрын
These is a schedule property I think that you can use
@crazytv68872 жыл бұрын
@@jfversluis where can i find information about how to type it excatly
@jfversluis2 жыл бұрын
There was a comment yesterday from someone who posted the code on how to do it exactly
This is great Gerald, very help for us Xamarin Developer. Is the Plugin NuGet available for UWP?
@jfversluis3 жыл бұрын
Thank you! This one only supports iOS and Android
@robertojrcantos17113 жыл бұрын
@@jfversluis Is it ok to ask when will be the next release of XCT update to resolve the problem in AvatarView image source for the imagestream type? I want to use the Popup but I can’t because the need for the AvatarView in my app is much important that stack me for the XCT version 1.0.3. I hope and pray you can help me. Thank you
@jfversluis3 жыл бұрын
@@robertojrcantos1711 did you try the 1.2-pre1 version? I think there was a fix for that :)
@robertojrcantos17113 жыл бұрын
@@jfversluis thank you very much for a big helping hand. I will try your advise within today. Good morning ☀️😃
@robertojrcantos17113 жыл бұрын
Gerald I tried XCT 1.2.0 pre1 and still AvatarView failed to display image for imagestream type source. I felt heartbroken 😔
@stryder123452 жыл бұрын
NotificationCenter.CreateNotificationChannel(); doesn't exist in current context , could you give an advice? Xamarin Forms package ver 5+
@jfversluis2 жыл бұрын
You will have to install the plugin and add the right using statement
@stryder123452 жыл бұрын
@@jfversluis i installed plugin from video , bit it still doesn't exist :c
@dummyaccount95782 жыл бұрын
Hi, Is it possible to show the banner when the app is running on screen on iOS? because on Android it can
@jfversluis2 жыл бұрын
Don’t think so :)
@AbhishekSingh-vp2qi2 жыл бұрын
Hello sir, on scheduled time of notification i need to call a function/method, so how do i know that notification is sent so i can call my method.
@jfversluis2 жыл бұрын
Sorry I'm not sure what you mean exactly
@AbhishekSingh-vp2qi2 жыл бұрын
@@jfversluis sir actually I want to call a method when local notification get receive. So I want to know where I have to call my method.
@ahmettalhasahin69793 жыл бұрын
Thank you so much!! man
@jfversluis3 жыл бұрын
My pleasure!
@crazytv68872 жыл бұрын
my notification doesn't make any sound. Any idea how to fix it?
@jfversluis2 жыл бұрын
Check the plug-in docs/sample :)
@crazytv68872 жыл бұрын
@@jfversluis is there any more detailed docs than on main page on github? cause i cant see much information about this plugin. I am beginer sorry
@crazytv68872 жыл бұрын
i think i know whats wrong. My app doesnt have permission to use sound alert of notification. How can give privilage to app?
@khaledbakeer92153 жыл бұрын
Thank you and it worked perfectly, but if I set the notification delay to (+24 hours) it did not work on Android. iOS worked without problems. The issue is in Android for a long time delay. Do you have any suggestions to fix that?
@jfversluis3 жыл бұрын
Hm interesting, as far as I know it should just work. Did you check the repo of the plugin if there is any info about that?
@khaledbakeer92153 жыл бұрын
@@jfversluis I have just created a new issue about that. Do you thing it could be a problem from android side?
@ОлегІвасько-б1й2 жыл бұрын
@@khaledbakeer9215 I have the same problem . When I delay the notification for 10 minutes it doesn't work . Is it problem with device or you have found the solution?
@sheikhshuaib84513 жыл бұрын
please show how to add sound file in this notification package
@jfversluis3 жыл бұрын
Added to the list of videos to make, thanks!
@sheikhshuaib84513 жыл бұрын
@@jfversluis please make it as alarm type app
@jfversluis3 жыл бұрын
I’m not going to build an app for you ;)
@Mielesplayz2 жыл бұрын
Is it possible to add choices inside the messages, like in Whatsapp where you can tap the "Reply" button
@jfversluis2 жыл бұрын
Not sure if you can do that for local notifications. But if it's possible on the platform then sure. Although probably not through this package.
@Mielesplayz2 жыл бұрын
@@jfversluis alright, thanks for the info!
@ckbseng2 жыл бұрын
manage to make it on iOS, but i realised no notification sound, even i declared PlayForegroundSound, any cue on this?
@jfversluis2 жыл бұрын
Make sure to request sound as part of the notification permission and that the silent switch is off
@cincior30512 жыл бұрын
My notificationReceived and notificationTapped event are called more than 1 time. They write returning data (in my example) more than 1 time into file. I tested writing into file on other function and it worked properly. Something is wrong with this event.
@jfversluis2 жыл бұрын
Make sure to report it on the repository!
@cincior30512 жыл бұрын
@@jfversluis What do you mean exactly?
@veiga7573 жыл бұрын
Hello Gerald. Awesome work as always. Every time it's triggered the notification I get this error: Invalid notification (no valid small icon): Notification(channel=Plugin.LocalNotification.GENERAL pri=0 contentView=null vibrate=null sound=null defaults=0x0 flags=0x10 color=0x00000000 vis=PRIVATE). Where do I set the icon? Thanks in advance.
@veiga7573 жыл бұрын
I'm using Plugin.LocalNotification 8.0.1 v. by the way.
@jfversluis3 жыл бұрын
Thanks! In regard to the error... No clue sorry :D You might want to check on the repo if there is an issue describing this or open one to check what is the matter :)
@veiga7573 жыл бұрын
@@jfversluis No problem! I solved the problem. I missed something important.. but it's not related to the plugin. The problem was in the AndroidManifest..
@jfversluis3 жыл бұрын
Ah good! Glad you figured it out! 😄
@tangengteng2 жыл бұрын
@@veiga757 Hi do you solved this? I had the same problem :(
@johnifegwu91443 жыл бұрын
Hi Gerald, the App icon shows +999 when notification is pushed, is there not a way to change this to the actual figure???
@jfversluis3 жыл бұрын
It does?! On Android or iOS? What is the code you are using?
@johnifegwu91443 жыл бұрын
@@jfversluis On Android, I've tested it on Android 8.0 and 11.0 still getting the same result. I am using Plugin version 9.0.0
@jfversluis3 жыл бұрын
I haven’t seen that and without your code it’s impossible to say what might be wrong. Maybe ask the author of the plug-in?
@Uberhexation2 жыл бұрын
Can you make a video on how to do this in Maui?
@jfversluis2 жыл бұрын
I think the plugin has .NET MAUI support so it's probably literally the same :D But I will see if I can make an updated video.
@Uberhexation2 жыл бұрын
@@jfversluis it's sort of working now. But I don't have notifyTime, I got schedule but I can't use DateTime like you did. I need to do more research.
@ОлегІвасько-б1й2 жыл бұрын
can we send multiple notifications at once? if you send the second notifications, the first one disappears
@jfversluis2 жыл бұрын
Make sure to set a different id for each
@ОлегІвасько-б1й2 жыл бұрын
@@jfversluis oh, yea , thank you . I spent a lot of time to solve this problem , but the solution was so easy
@jfversluis2 жыл бұрын
@@ОлегІвасько-б1й Haha no worries, glad I could help!
@olatunjigabriel27073 жыл бұрын
This is great video but how can i create notification for social media app like facebook, based on user likes or activities carried out on the app like, new message, new friends, friend requests and the likes thanks in advance
@jfversluis3 жыл бұрын
Thank you! The implementation is up to you. You should consider each of the things you mention here as an action. Whenever that action happens, you should figure out who you want to notify. So basically all these actions probably have some kind of action on a database. Whenever that database action happens, query the users that are associated, have their tokens and send a notification :)
@ДенисБелоглазов-ъ6х2 жыл бұрын
Привет! Автор дает хорошие материалы, смотрю не первую фичу уже. Рекомендую.
@jfversluis2 жыл бұрын
Thank you!
@jamalfazeli91273 жыл бұрын
Thanks so mush (: I looking for this things
@jfversluis3 жыл бұрын
Now you have it! Let me know if you have any questions :)
@kalixthuska88463 жыл бұрын
Thank you!
@jfversluis3 жыл бұрын
You’re welcome!
@makavanavishal3 жыл бұрын
Thank You So Much.
@jfversluis3 жыл бұрын
My pleasure! Hope it’s useful!
@ДанилСтрученков2 жыл бұрын
I watched your video, it is very informative and simple, but I did not find the grouping of notifications
@jfversluis2 жыл бұрын
Thanks! What kind of grouping are you looking for?
@anandshindey3 жыл бұрын
I get a cannot use package error message as my Xamarin project uses .net standard 2.0. Any help on this issue?
@jfversluis3 жыл бұрын
What help do you need? :) you either need to find another plug-in that is compatible with your project or make your project compatible with this plug-in
@anandshindey3 жыл бұрын
@@jfversluis I was not sure I could upgrade to 2.1. Thanks, I will do that.
@jfversluis3 жыл бұрын
You should be able to but I don’t know your project so it’s impossible to tell :) hope it works!
@anandshindey3 жыл бұрын
@@jfversluis it worked, thanks
@anandshindey3 жыл бұрын
How do I get this as a background task/service? Any pointers/links
@anandshindey3 жыл бұрын
How do I assign an IconName to Android options?
@jfversluis3 жыл бұрын
You should be able to simply set it like here: github.com/thudugala/Plugin.LocalNotification/blob/master/Sample/NuGet/LocalNotification.Sample/MainPage.xaml.cs#L44 Is it not working for you?
@anandshindey3 жыл бұрын
@@jfversluis no, it does not work. Also I did run the sample as well. No icon on notification.
@jfversluis3 жыл бұрын
Report it on that same repo, might be a bug then :)
@kuyaian70903 жыл бұрын
How do you add sound?
@jfversluis3 жыл бұрын
On Android?
@kuyaian70903 жыл бұрын
@@jfversluis yesplesae
@kuyaian70903 жыл бұрын
@@jfversluis ive been searching for it for an hour
@jfversluis3 жыл бұрын
I think that is something you should do with that channel I mentioned
@kuyaian70903 жыл бұрын
@@jfversluis new Plugin.LocalNotification.Platform.Droid.NotificationChannelRequest { Sound = Resource.Raw..ToString() }); did that but its not working
@phamthanhduong743 жыл бұрын
messages don't show , just in the background, i need show it foreground
@jfversluis3 жыл бұрын
Seems there is an issue opened for it: github.com/thudugala/Plugin.LocalNotification/issues/184
@AMIRKHAN-dm2fm3 жыл бұрын
Oh Great really helpful
@jfversluis3 жыл бұрын
Hope it is!
@haveknowledgeindia3 жыл бұрын
nice teacher
@jfversluis3 жыл бұрын
Thank you! 😃
@VictorHugo-jr7qu3 жыл бұрын
Thanks Gerald for sharing this video. Do you know how to clear the badge from the iOS app icon once you get notification and open the iOS app? Testing this comment in youtube hopefully spam does not caugh it :crossingfingers: Note: On android the badge gets removed automatically.
@jfversluis3 жыл бұрын
You can set: UIApplication.SharedApplication.ApplicationIconBadgeNumber = 0; You will have to do this in iOS specific code though
@VictorHugo-jr7qu3 жыл бұрын
@@jfversluis Thank you! it worked wonderful! Thanks again
@jfversluis3 жыл бұрын
Great! Thanks for letting me know!
@waldosoto43532 жыл бұрын
Hola, no existe la propiedad "NotifyTime" :(
@jfversluis2 жыл бұрын
The plug-in has been updated in the meanwhile. I think there is now a property called Schedule that has the info for scheduling a notification
@waldosoto43532 жыл бұрын
@@jfversluis muchas gracias, revise los comentarios y después la documentación y me ha servido de gran ayuda, saludos
@addtyu61763 жыл бұрын
How do you cancel scheduled notifications???????????????????????????
@jfversluis3 жыл бұрын
I think you will have to give the NotificationRequest a unique id and then whenever you create another notification with that same id and a date in the past you will expire it automatically :)
@benboateng18202 жыл бұрын
bro how do u add sound
@jfversluis2 жыл бұрын
The NotificationRequest has a Sound property, you can use that
@benboateng18202 жыл бұрын
@@jfversluis yh i know but i want to no how to implement it
@jfversluis2 жыл бұрын
I don’t know what to tell you tbh :) add the sound file and set the property to the filename. I think the plug-in repository has a sample that does this.
@nicolasvictorion1178 Жыл бұрын
First of all thank you but, It doesn't work for me "This package has been deprecated as it is legacy and is no longer maintained"
@jfversluis Жыл бұрын
Time to update to .NET MAUI :)
@SalehWolf3 жыл бұрын
thank u!
@jfversluis3 жыл бұрын
My absolute pleasure!
@anandhathangavel80153 жыл бұрын
NotifyTime is not coming
@jfversluis3 жыл бұрын
There was an update to this plug-in since this video. Check out the Schedule property :)