This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* All xamarin programmers know that binding libraries is not always done correctly. | |
One of these libraries is OneSignal. In OneSignal plugin, there is a method called "ClearOneSignalNotifications" | |
that clears all notifications displayed. | |
This method is not included in the binding provided for xamarin.For Fix this we should rewrite this method. | |
You can see original code of this method in [OneSignal SDK Android](https://github.com/OneSignal/OneSignal-Android-SDK/blob/b1c01e0404b3f39d433f48abfa79c99e2af1f6f0/OneSignalSDK/onesignal/src/main/java/com/onesignal/OneSignal.java). | |
I used ADO for connect to sqlite but you can rewrite it by any kind of sqlite connection. I hope this code can help you.*/ | |
using Android.App; | |
using Android.Content; | |
using Mono.Data.Sqlite; |