Make Compass to always point to a specific place in Xamarin Forms

I am trying to implement Compass following Xamarin.Essentials: Compass to head to a specific point. For the sake of implementation and testing, I added SfCircularGauge which works well with the same logic. Since, I don’t want to use XF, so tried it without XF. But when working without XF, the arrow doesn’t point to the […]

By ARH
Published
Categorised as Uncategorised Tagged , ,

Converting HijriCalendar to Gregorian in Xamarin forms

I am trying to convert HijriCalendar to Gregorian Calendar in Xamarin Forms app. However, it seems that Xamarin Android is not happy with it. I haven’t test it in Xamarin iOS. I am using code from Cannot convert from Hijri Date to Gregorian date (c#) and I am getting below exception when instantiating the HijriCalendar […]

By ARH
Published
Categorised as Uncategorised Tagged , , ,

Play custom sound in Xamarion IOS local notification

I am trying to play custom mp3 sound file of (10-25 seconds) with local notification. I have placed the custom sound file in iOS project folder (same level as Resources) with BundleResource as BuildAction. I have also placed the sound file in Resources folder with same build action. It seems both doesn’t work. var content […]

By ARH
Published
Categorised as Uncategorised Tagged , , ,

Repeat alarm every day in Xamarin Forms in iOS

I am trying to repeat an alarm everyday at same time in my Xamarin Forms. However the iOS version doesn’t repeat but it only occurs once at the specified date & time. public static NSDateComponents ToNSDateComponents(this DateTime dt) { var d = new NSDateComponents { Hour = dt.Hour, Minute = dt.Minute, Second = dt.Second, Month […]

By ARH
Published
Categorised as Uncategorised Tagged ,

App refused in App store because of In-app purchase products exhibited bug on iPad running iOS 14.0.1 on Wi-Fi

I have been receiving this refusal reason from the app store for the third time. My app is being rejected for the same reason that there is one or more bug with in-ap purchase while being tested in ipad running IOS 14.0.1. I have tested the app with Testflight in iPhone iOS 14.0.1 and I […]

By ARH
Published
Categorised as Uncategorised Tagged , , ,

Show an ad mob per app session in Xamarin Forms

I am implementing Admob using MTAdmob in my Xamarin Form App. Now I am showing an ad per app closure which means if the app goes to sleep mode and resume my app doesn’t show up. The implementation is very simple, I am loading an ad in MainPage constructor. CrossMTAdmob.Current.LoadInterstitial("xx-xxx-xxx-xxxxxxxxxxxxxxxxx/xxxxxxxxxx"); and I am showing the […]

By ARH
Published
Categorised as Uncategorised Tagged , , ,

Change DisplayImage while playing Mp3 file using CrossMediaManager in Xamarin forms IOS

I am trying to change the Display Image while playing mp3 file using CrossMediaManager, but It seems it doesn’t change the image. It does change the title, id and so on, but I don’t know why it can’t change the display image. static async Task<MediaItem> GenerateReciterMediaItem(byte type, AudioReciter reciter) { Chapter c = await Chapter.GetChapterAsync(1); […]

By ARH
Published
Categorised as Uncategorised Tagged , , ,

CrossMediaManager throws AVAsset loadValuesAsynchronouslyForKeys:completionHandler while playing mp3 remote files in Xamarin Forms IOS

I am trying to play a list of media items with CrossMediaManager. However, in IOS it throws a weired error and doesn’t perform playing, while the same code works in Android. If I do pass a single string url or media item then it works, but it doesn’t work with multiple urls. static async Task<MediaItem> […]

By ARH
Published
Categorised as Uncategorised Tagged , , ,

Tabs slightly move up in Xamarion Forms IOS while scrolling

I am having an issue with the Tabs while scrolling down the contentpages inside Tabs. I have TabbedPage with three ContentPages. When scrolling in the ContentPages, the tabs move a little bit up in the IOS Platform while it appears ok in Android. All the ContentPages react the same. This is my first ContentPage, but […]

By ARH
Published
Categorised as Uncategorised Tagged , , ,

Right Align all items in CollectionView in Xamarin Forms

I have been trying to right align all items in Xamarin forms CollectionView, unfortunately the code doesn’t work for IOS while it works well in Android. It seems strange. When I load 100 items, only the 1st ten items which appears on the screen are right aligned, but then the rest is not aligned. Additionally, […]

By ARH
Published
Categorised as Uncategorised Tagged , , , ,

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq