XPlugins.iOS.BEMCheckBox version 8, 9, and 10 released!

I’m pleased to announce that versions 8.0.0, 9.0.0, and 10.0.0 of the XPlugin.iOS.BEMCheckBox have been released. XPlugin.iOS.BEMCheckBox allows you to use the iOS BEMCheckBox, created by Boris Emorine (Boris-Em), in your MAUI projects.

You can find the releases on NuGet:

https://www.nuget.org/packages/SaturdayMP.XPlugins.iOS.BEMCheckBox

XPlugin project:

https://github.com/saturdaymp/XPlugins.iOS.BEMCheckBox

BEMCheckBox project:

https://github.com/saturdaymp/BEMCheckBox

The XPlugin.iOS.BEMCheckBox versions now match the .NET version so version 8 targets .NET 8, version 9 targets.NET 9, and so on. Version 8 and onwards use BEMCheckBox v2.2.0, which requires iOS 18 or higher.

[Read More]
Categories: releases  Tags: bemcheckbox dotnet ios maui xplugins 

XPlugins.iOS.BEMCheckBox 1.4.3 Released

I’m happy to announce the release of XPlugins.iOS.BEMCheckBox 1.4.3.  The main feature of this release is exposing the DidTapCheckBox event in the underlying BEMCheckBox.  You can find a full list of issues fixed in this release here.

The easiest way to get this update is via NuGet:

Install-Package SaturdayMP.XPlugins.iOS.BEMCheckBox -Version 1.4.3
dotnet add package SaturdayMP.XPlugins.iOS.BEMCheckBox --version 1.4.3

Subscribe to the DidTapCheckBox event as you would any other C# event:

checkbox.DidTapCheckBox += DidTapCheckBoxEvent;

The event handler looks like:

[Read More]

Notes on Fixing Incomplete Bitcode Error in TeamCity Automated Objective-c Builds

Notes I took while trying to fix the Incomplete Bitcode error in submission bug.  Not sure if it’s fixed yet as I haven’t tried submitting an app to the App Store yet.  Hopefully someone else will try it and confirm it’s fixed.

In summary when submitting an app to iTunes Connect that has the XPlugins.iOS.BEMCheckBox the user got the following error:

ERROR ITMS-90668: “Invalid Bundle Executable. The executable file ‘InstantApp.BoostOrder.Customer.Touch.app/Frameworks/BEMCheckBox.framework/BEMCheckBox’ contains incomplete bitcode. To compile binaries with complete bitcode, open Xcode and choose Archive in the Product menu.”

[Read More]

Today I Learned How to Automate Objective-c Builds in TeamCity

Several months ago I discussed how to manually build an objective-c project so it can be consumed by a Xamarin Binding Project.  In this post I show how to automate the building of the objective-c project.  In my case I need to automate the building of the BEMCheckBox project but hopefully you can generalize this specific example for your own needs.

For this post I’ll assume you have a TeamCity server setup along with a TeamCity build agent on a Mac.  For help installing a TeamCity server see the official documentation.  For help installing a Mac build agent please see my previous post and/or the official documentation.

[Read More]

Today I Learned How to Handle Local Notifications in Xamarin on Android

In my previous example I detailed how to schedule notifications in Xamarin on Android but didn’t show the Xamarin Forms application reacting to that specific notification.  Let’s fix that.

First override the OnNewIntent method in the MainActivity.  We override this method so notifications will work if the application is currently running or is stopped and the notification started the application.  In the OnNewIntent method you put code that makes sure it’s a notification you want to respond to then extracts any needed information from the notification.  An example is below:

[Read More]