├── NotificationCenter ├── nuget │ ├── pack.cmd │ ├── nuget.exe │ └── NotificationCenter.nuspec ├── Properties │ └── AssemblyInfo.cs ├── NotificationCenter.csproj └── NotificationCenter.cs ├── NotificationCenter.Test.UWP ├── Assets │ ├── StoreLogo.png │ ├── SplashScreen.scale-200.png │ ├── LockScreenLogo.scale-200.png │ ├── Square44x44Logo.scale-200.png │ ├── Wide310x150Logo.scale-200.png │ ├── Square150x150Logo.scale-200.png │ └── Square44x44Logo.targetsize-24_altform-unplated.png ├── App.xaml ├── Properties │ ├── AssemblyInfo.cs │ └── Default.rd.xml ├── MainPage.xaml ├── Package.appxmanifest ├── MainPage.xaml.cs ├── App.xaml.cs └── NotificationCenter.Test.UWP.csproj ├── NotificationCenter.Sample.iOS ├── Resources │ ├── Default.png │ ├── Default@2x.png │ ├── Default-568h@2x.png │ ├── Default-Portrait.png │ ├── Default-Portrait@2x.png │ └── LaunchScreen.storyboard ├── Assets.xcassets │ └── AppIcon.appiconset │ │ ├── Icon1024.png │ │ ├── Icon120.png │ │ ├── Icon152.png │ │ ├── Icon167.png │ │ ├── Icon180.png │ │ ├── Icon20.png │ │ ├── Icon29.png │ │ ├── Icon40.png │ │ ├── Icon58.png │ │ ├── Icon60.png │ │ ├── Icon76.png │ │ ├── Icon80.png │ │ ├── Icon87.png │ │ └── Contents.json ├── Entitlements.plist ├── Main.cs ├── AppDelegate.cs ├── Info.plist ├── Properties │ └── AssemblyInfo.cs └── NotificationCenter.Sample.iOS.csproj ├── NotificationCenter.Sample.Android ├── Resources │ ├── mipmap-hdpi │ │ ├── Icon.png │ │ └── launcher_foreground.png │ ├── mipmap-mdpi │ │ ├── icon.png │ │ └── launcher_foreground.png │ ├── mipmap-xhdpi │ │ ├── Icon.png │ │ └── launcher_foreground.png │ ├── mipmap-xxhdpi │ │ ├── Icon.png │ │ └── launcher_foreground.png │ ├── mipmap-xxxhdpi │ │ ├── Icon.png │ │ └── launcher_foreground.png │ ├── mipmap-anydpi-v26 │ │ ├── icon.xml │ │ └── icon_round.xml │ ├── values │ │ ├── colors.xml │ │ └── styles.xml │ ├── layout │ │ ├── Toolbar.axml │ │ └── Tabbar.axml │ └── AboutResources.txt ├── Properties │ ├── AndroidManifest.xml │ └── AssemblyInfo.cs ├── Assets │ └── AboutAssets.txt ├── MainActivity.cs └── NotificationCenter.Sample.Android.csproj ├── NotificationCenter.Sample ├── App.xaml ├── NotificationCenter.Sample.csproj ├── App.xaml.cs ├── MainPage.xaml └── MainPage.xaml.cs ├── .travis.yml ├── README.md ├── .gitattributes ├── .gitignore └── NotificationCenter.sln /NotificationCenter/nuget/pack.cmd: -------------------------------------------------------------------------------- 1 | nuget pack .../NotificationCenter.csproj -------------------------------------------------------------------------------- /NotificationCenter/nuget/nuget.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Husseinhj/NotificationCenter/HEAD/NotificationCenter/nuget/nuget.exe -------------------------------------------------------------------------------- /NotificationCenter.Test.UWP/Assets/StoreLogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Husseinhj/NotificationCenter/HEAD/NotificationCenter.Test.UWP/Assets/StoreLogo.png -------------------------------------------------------------------------------- /NotificationCenter.Sample.iOS/Resources/Default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Husseinhj/NotificationCenter/HEAD/NotificationCenter.Sample.iOS/Resources/Default.png -------------------------------------------------------------------------------- /NotificationCenter.Sample.iOS/Resources/Default@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Husseinhj/NotificationCenter/HEAD/NotificationCenter.Sample.iOS/Resources/Default@2x.png -------------------------------------------------------------------------------- /NotificationCenter.Sample.iOS/Resources/Default-568h@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Husseinhj/NotificationCenter/HEAD/NotificationCenter.Sample.iOS/Resources/Default-568h@2x.png -------------------------------------------------------------------------------- /NotificationCenter.Sample.iOS/Resources/Default-Portrait.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Husseinhj/NotificationCenter/HEAD/NotificationCenter.Sample.iOS/Resources/Default-Portrait.png -------------------------------------------------------------------------------- /NotificationCenter.Test.UWP/Assets/SplashScreen.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Husseinhj/NotificationCenter/HEAD/NotificationCenter.Test.UWP/Assets/SplashScreen.scale-200.png -------------------------------------------------------------------------------- /NotificationCenter.Sample.Android/Resources/mipmap-hdpi/Icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Husseinhj/NotificationCenter/HEAD/NotificationCenter.Sample.Android/Resources/mipmap-hdpi/Icon.png -------------------------------------------------------------------------------- /NotificationCenter.Sample.Android/Resources/mipmap-mdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Husseinhj/NotificationCenter/HEAD/NotificationCenter.Sample.Android/Resources/mipmap-mdpi/icon.png -------------------------------------------------------------------------------- /NotificationCenter.Sample.iOS/Resources/Default-Portrait@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Husseinhj/NotificationCenter/HEAD/NotificationCenter.Sample.iOS/Resources/Default-Portrait@2x.png -------------------------------------------------------------------------------- /NotificationCenter.Test.UWP/Assets/LockScreenLogo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Husseinhj/NotificationCenter/HEAD/NotificationCenter.Test.UWP/Assets/LockScreenLogo.scale-200.png -------------------------------------------------------------------------------- /NotificationCenter.Test.UWP/Assets/Square44x44Logo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Husseinhj/NotificationCenter/HEAD/NotificationCenter.Test.UWP/Assets/Square44x44Logo.scale-200.png -------------------------------------------------------------------------------- /NotificationCenter.Test.UWP/Assets/Wide310x150Logo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Husseinhj/NotificationCenter/HEAD/NotificationCenter.Test.UWP/Assets/Wide310x150Logo.scale-200.png -------------------------------------------------------------------------------- /NotificationCenter.Sample.Android/Resources/mipmap-xhdpi/Icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Husseinhj/NotificationCenter/HEAD/NotificationCenter.Sample.Android/Resources/mipmap-xhdpi/Icon.png -------------------------------------------------------------------------------- /NotificationCenter.Sample.Android/Resources/mipmap-xxhdpi/Icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Husseinhj/NotificationCenter/HEAD/NotificationCenter.Sample.Android/Resources/mipmap-xxhdpi/Icon.png -------------------------------------------------------------------------------- /NotificationCenter.Sample.Android/Resources/mipmap-xxxhdpi/Icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Husseinhj/NotificationCenter/HEAD/NotificationCenter.Sample.Android/Resources/mipmap-xxxhdpi/Icon.png -------------------------------------------------------------------------------- /NotificationCenter.Test.UWP/Assets/Square150x150Logo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Husseinhj/NotificationCenter/HEAD/NotificationCenter.Test.UWP/Assets/Square150x150Logo.scale-200.png -------------------------------------------------------------------------------- /NotificationCenter.Sample.iOS/Assets.xcassets/AppIcon.appiconset/Icon1024.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Husseinhj/NotificationCenter/HEAD/NotificationCenter.Sample.iOS/Assets.xcassets/AppIcon.appiconset/Icon1024.png -------------------------------------------------------------------------------- /NotificationCenter.Sample.iOS/Assets.xcassets/AppIcon.appiconset/Icon120.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Husseinhj/NotificationCenter/HEAD/NotificationCenter.Sample.iOS/Assets.xcassets/AppIcon.appiconset/Icon120.png -------------------------------------------------------------------------------- /NotificationCenter.Sample.iOS/Assets.xcassets/AppIcon.appiconset/Icon152.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Husseinhj/NotificationCenter/HEAD/NotificationCenter.Sample.iOS/Assets.xcassets/AppIcon.appiconset/Icon152.png -------------------------------------------------------------------------------- /NotificationCenter.Sample.iOS/Assets.xcassets/AppIcon.appiconset/Icon167.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Husseinhj/NotificationCenter/HEAD/NotificationCenter.Sample.iOS/Assets.xcassets/AppIcon.appiconset/Icon167.png -------------------------------------------------------------------------------- /NotificationCenter.Sample.iOS/Assets.xcassets/AppIcon.appiconset/Icon180.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Husseinhj/NotificationCenter/HEAD/NotificationCenter.Sample.iOS/Assets.xcassets/AppIcon.appiconset/Icon180.png -------------------------------------------------------------------------------- /NotificationCenter.Sample.iOS/Assets.xcassets/AppIcon.appiconset/Icon20.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Husseinhj/NotificationCenter/HEAD/NotificationCenter.Sample.iOS/Assets.xcassets/AppIcon.appiconset/Icon20.png -------------------------------------------------------------------------------- /NotificationCenter.Sample.iOS/Assets.xcassets/AppIcon.appiconset/Icon29.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Husseinhj/NotificationCenter/HEAD/NotificationCenter.Sample.iOS/Assets.xcassets/AppIcon.appiconset/Icon29.png -------------------------------------------------------------------------------- /NotificationCenter.Sample.iOS/Assets.xcassets/AppIcon.appiconset/Icon40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Husseinhj/NotificationCenter/HEAD/NotificationCenter.Sample.iOS/Assets.xcassets/AppIcon.appiconset/Icon40.png -------------------------------------------------------------------------------- /NotificationCenter.Sample.iOS/Assets.xcassets/AppIcon.appiconset/Icon58.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Husseinhj/NotificationCenter/HEAD/NotificationCenter.Sample.iOS/Assets.xcassets/AppIcon.appiconset/Icon58.png -------------------------------------------------------------------------------- /NotificationCenter.Sample.iOS/Assets.xcassets/AppIcon.appiconset/Icon60.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Husseinhj/NotificationCenter/HEAD/NotificationCenter.Sample.iOS/Assets.xcassets/AppIcon.appiconset/Icon60.png -------------------------------------------------------------------------------- /NotificationCenter.Sample.iOS/Assets.xcassets/AppIcon.appiconset/Icon76.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Husseinhj/NotificationCenter/HEAD/NotificationCenter.Sample.iOS/Assets.xcassets/AppIcon.appiconset/Icon76.png -------------------------------------------------------------------------------- /NotificationCenter.Sample.iOS/Assets.xcassets/AppIcon.appiconset/Icon80.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Husseinhj/NotificationCenter/HEAD/NotificationCenter.Sample.iOS/Assets.xcassets/AppIcon.appiconset/Icon80.png -------------------------------------------------------------------------------- /NotificationCenter.Sample.iOS/Assets.xcassets/AppIcon.appiconset/Icon87.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Husseinhj/NotificationCenter/HEAD/NotificationCenter.Sample.iOS/Assets.xcassets/AppIcon.appiconset/Icon87.png -------------------------------------------------------------------------------- /NotificationCenter.Sample.Android/Resources/mipmap-hdpi/launcher_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Husseinhj/NotificationCenter/HEAD/NotificationCenter.Sample.Android/Resources/mipmap-hdpi/launcher_foreground.png -------------------------------------------------------------------------------- /NotificationCenter.Sample.Android/Resources/mipmap-mdpi/launcher_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Husseinhj/NotificationCenter/HEAD/NotificationCenter.Sample.Android/Resources/mipmap-mdpi/launcher_foreground.png -------------------------------------------------------------------------------- /NotificationCenter.Sample.Android/Resources/mipmap-xhdpi/launcher_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Husseinhj/NotificationCenter/HEAD/NotificationCenter.Sample.Android/Resources/mipmap-xhdpi/launcher_foreground.png -------------------------------------------------------------------------------- /NotificationCenter.Sample.Android/Resources/mipmap-xxhdpi/launcher_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Husseinhj/NotificationCenter/HEAD/NotificationCenter.Sample.Android/Resources/mipmap-xxhdpi/launcher_foreground.png -------------------------------------------------------------------------------- /NotificationCenter.Sample.Android/Resources/mipmap-xxxhdpi/launcher_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Husseinhj/NotificationCenter/HEAD/NotificationCenter.Sample.Android/Resources/mipmap-xxxhdpi/launcher_foreground.png -------------------------------------------------------------------------------- /NotificationCenter.Test.UWP/Assets/Square44x44Logo.targetsize-24_altform-unplated.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Husseinhj/NotificationCenter/HEAD/NotificationCenter.Test.UWP/Assets/Square44x44Logo.targetsize-24_altform-unplated.png -------------------------------------------------------------------------------- /NotificationCenter.Sample.iOS/Entitlements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /NotificationCenter.Sample/App.xaml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /NotificationCenter.Sample.Android/Resources/mipmap-anydpi-v26/icon.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /NotificationCenter.Sample.Android/Resources/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #FFFFFF 4 | #3F51B5 5 | #303F9F 6 | #FF4081 7 | -------------------------------------------------------------------------------- /NotificationCenter.Sample.Android/Resources/mipmap-anydpi-v26/icon_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /NotificationCenter.Test.UWP/App.xaml: -------------------------------------------------------------------------------- 1 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /NotificationCenter.Sample.Android/Resources/layout/Toolbar.axml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: csharp 2 | solution: NotificationCenter/NotificationCenter.csproj 3 | before_install: 4 | - mkdir -p .nuget 5 | - wget -O .nuget/nuget.exe https://dist.nuget.org/win-x86-commandline/latest/nuget.exe 6 | - mono .nuget/nuget.exe # Output NuGet's version number 7 | install: 8 | - sudo apt-get install -y gtk-sharp2 9 | - mono .nuget/nuget.exe restore NotificationCenter/NotificationCenter.csproj 10 | mono: 11 | - latest 12 | -------------------------------------------------------------------------------- /NotificationCenter.Sample.Android/Properties/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /NotificationCenter.Sample.Android/Resources/layout/Tabbar.axml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /NotificationCenter.Sample.iOS/Main.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | 5 | using Foundation; 6 | using UIKit; 7 | 8 | namespace NotificationCenter.Sample.iOS 9 | { 10 | public class Application 11 | { 12 | // This is the main entry point of the application. 13 | static void Main(string[] args) 14 | { 15 | // if you want to use a different Application Delegate class from "AppDelegate" 16 | // you can specify it here. 17 | UIApplication.Main(args, null, "AppDelegate"); 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /NotificationCenter.Sample/NotificationCenter.Sample.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | netstandard2.0 5 | 6 | 7 | 8 | pdbonly 9 | true 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /NotificationCenter.Sample.Android/Assets/AboutAssets.txt: -------------------------------------------------------------------------------- 1 | Any raw assets you want to be deployed with your application can be placed in 2 | this directory (and child directories) and given a Build Action of "AndroidAsset". 3 | 4 | These files will be deployed with you package and will be accessible using Android's 5 | AssetManager, like this: 6 | 7 | public class ReadAsset : Activity 8 | { 9 | protected override void OnCreate (Bundle bundle) 10 | { 11 | base.OnCreate (bundle); 12 | 13 | InputStream input = Assets.Open ("my_asset.txt"); 14 | } 15 | } 16 | 17 | Additionally, some Android functions will automatically load asset files: 18 | 19 | Typeface tf = Typeface.CreateFromAsset (Context.Assets, "fonts/samplefont.ttf"); 20 | -------------------------------------------------------------------------------- /NotificationCenter.Sample/App.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using Xamarin.Forms; 3 | using Xamarin.Forms.Xaml; 4 | 5 | [assembly: XamlCompilation(XamlCompilationOptions.Compile)] 6 | namespace NotificationCenter.Sample 7 | { 8 | public partial class App : Application 9 | { 10 | public App() 11 | { 12 | InitializeComponent(); 13 | 14 | MainPage = new NavigationPage(new MainPage()); 15 | } 16 | 17 | protected override void OnStart() 18 | { 19 | // Handle when your app starts 20 | } 21 | 22 | protected override void OnSleep() 23 | { 24 | // Handle when your app sleeps 25 | } 26 | 27 | protected override void OnResume() 28 | { 29 | // Handle when your app resumes 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /NotificationCenter.Sample.Android/MainActivity.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | using Android.App; 4 | using Android.Content.PM; 5 | using Android.Runtime; 6 | using Android.Views; 7 | using Android.Widget; 8 | using Android.OS; 9 | 10 | namespace NotificationCenter.Sample.Droid 11 | { 12 | [Activity(Label = "NotificationCenter.Sample", Icon = "@mipmap/icon", Theme = "@style/MainTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation)] 13 | public class MainActivity : global::Xamarin.Forms.Platform.Android.FormsAppCompatActivity 14 | { 15 | protected override void OnCreate(Bundle savedInstanceState) 16 | { 17 | TabLayoutResource = Resource.Layout.Tabbar; 18 | ToolbarResource = Resource.Layout.Toolbar; 19 | 20 | base.OnCreate(savedInstanceState); 21 | global::Xamarin.Forms.Forms.Init(this, savedInstanceState); 22 | LoadApplication(new App()); 23 | } 24 | } 25 | } -------------------------------------------------------------------------------- /NotificationCenter/nuget/NotificationCenter.nuspec: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | NotificationCenter 5 | 1.0.3 6 | NotificationCenter 7 | Hussein.Juybari 8 | Hussein.Juybari 9 | https://github.com/Husseinhj/NotificationCenter 10 | false 11 | This library works like Objective-C and Swift NSNotificationCenter 12 | Copyright © 2017 13 | NotificationCenter, NSNotificationCenter, UWP, Xamarin, windows phone, PCL, iOS, Android 14 | 15 | 16 | 17 | # 1.0.3 18 | - Notify actions as parallel 19 | 20 | # 1.0.2 21 | - Add UnsubscribeAll method 22 | - Throw exception when arguments was null 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /NotificationCenter.Test.UWP/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("NotificationCenter.Test.UWP")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("NotificationCenter.Test.UWP")] 13 | [assembly: AssemblyCopyright("Copyright © 2017")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Version information for an assembly consists of the following four values: 18 | // 19 | // Major Version 20 | // Minor Version 21 | // Build Number 22 | // Revision 23 | // 24 | // You can specify all the values or you can default the Build and Revision Numbers 25 | // by using the '*' as shown below: 26 | // [assembly: AssemblyVersion("1.0.*")] 27 | [assembly: AssemblyVersion("1.0.0.0")] 28 | [assembly: AssemblyFileVersion("1.0.0.0")] 29 | [assembly: ComVisible(false)] -------------------------------------------------------------------------------- /NotificationCenter.Sample.iOS/AppDelegate.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | 5 | using Foundation; 6 | using UIKit; 7 | 8 | namespace NotificationCenter.Sample.iOS 9 | { 10 | // The UIApplicationDelegate for the application. This class is responsible for launching the 11 | // User Interface of the application, as well as listening (and optionally responding) to 12 | // application events from iOS. 13 | [Register("AppDelegate")] 14 | public partial class AppDelegate : global::Xamarin.Forms.Platform.iOS.FormsApplicationDelegate 15 | { 16 | // 17 | // This method is invoked when the application has loaded and is ready to run. In this 18 | // method you should instantiate the window, load the UI into it and then make the window 19 | // visible. 20 | // 21 | // You have 17 seconds to return from this method, or iOS will terminate your application. 22 | // 23 | public override bool FinishedLaunching(UIApplication app, NSDictionary options) 24 | { 25 | global::Xamarin.Forms.Forms.Init(); 26 | LoadApplication(new App()); 27 | 28 | return base.FinishedLaunching(app, options); 29 | } 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /NotificationCenter/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Resources; 2 | using System.Reflection; 3 | using System.Runtime.CompilerServices; 4 | using System.Runtime.InteropServices; 5 | 6 | // General Information about an assembly is controlled through the following 7 | // set of attributes. Change these attribute values to modify the information 8 | // associated with an assembly. 9 | [assembly: AssemblyTitle("NotificationCenter")] 10 | [assembly: AssemblyDescription("This library works like Objective-C and Swift NSNotificationCenter")] 11 | [assembly: AssemblyConfiguration("")] 12 | [assembly: AssemblyCompany("Hussein.Juybari")] 13 | [assembly: AssemblyProduct("NotificationCenter")] 14 | [assembly: AssemblyCopyright("Copyright © 2018")] 15 | [assembly: AssemblyTrademark("")] 16 | [assembly: AssemblyCulture("")] 17 | [assembly: NeutralResourcesLanguage("en")] 18 | 19 | // Version information for an assembly consists of the following four values: 20 | // 21 | // Major Version 22 | // Minor Version 23 | // Build Number 24 | // Revision 25 | // 26 | // You can specify all the values or you can default the Build and Revision Numbers 27 | // by using the '*' as shown below: 28 | // [assembly: AssemblyVersion("1.0.*")] 29 | [assembly: AssemblyVersion("1.0.3.0")] 30 | [assembly: AssemblyFileVersion("1.0.3.0")] 31 | -------------------------------------------------------------------------------- /NotificationCenter.Test.UWP/MainPage.xaml: -------------------------------------------------------------------------------- 1 | 9 | 10 | 11 | 16 | 23 | 24 |