protected override void OnStart()
		{
			if (Device.OS == TargetPlatform.Android || Device.OS == TargetPlatform.iOS)
			{
				CrossPushNotification.Current.Register();
			}

			if (applicationSettings == null)
			{
				applicationSettings = new ApplicationSettings();
			}
		}
		public App()
		{


			deviceSpec = DependencyService.Get<IDeviceSpec>();
			screenHeight = deviceSpec.ScreenHeight;
			screenWidth = deviceSpec.ScreenWidth;
			screenDensity = deviceSpec.ScreenDensity;
			MediaArray = new List<MediaItem>();
			ContactsArray = new List<string>();
			ExtentionArray = new List<string>();
			NavigationPage.SetHasNavigationBar(this, false);
			nearByLocationsSource = new List<CustomListViewItem>();
			if (applicationSettings == null)
			{
				applicationSettings = new ApplicationSettings();
			}
			MenuPage menuPage = new MenuPage();
			burgerMenuItems = new ObservableCollection<MenuItems> ();
			masterPage = new PurposeMasterDetailPage();
			MainPage = masterPage;

		}