From 63e59f31ae2ea2fea2fb4e5a15bd41fbca9b11cb Mon Sep 17 00:00:00 2001 From: Kai Kriegel Date: Thu, 23 Sep 2021 22:22:04 +0000 Subject: [PATCH 1/9] added build process for Apple devices --- README.md | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 68cca2e..f623a80 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ If Step 5. Build Borepin is failing because of GTKSharp, it could help to restar ## Build GTK Project 1. Install mono [download mono](https://www.mono-project.com/download/stable/#download-lin) -2. Install mono, gtk-sharp, msbuild, nuget +2. Install mono, gtk-sharp, msbuild, nuget, capnproto 1.1 Debian based ```shell $ apt install mono-complete, gtk-sharp2, libcanberra-gtk-module, nuget, capnproto, git @@ -59,6 +59,23 @@ If Step 5. Build Borepin is failing because of GTKSharp, it could help to restar ``` You can also use Rider or monodevelop as an IDE for development on Borepin +## macOS / iOS + +1. Install Visual Studio for Mac + +2. Install capnproto + If you install capnp with Homebrew you may have to symlink the capnp binary into '/usr/local/bin', or bring it into your PATH another way. + +3. Clone Borepin + ```shell + $ git clone https://gitlab.com/fabinfra/fabaccess/client.git --recurse-submodules + ``` + +4. Open in Visual Studio + +5. Build + + # UI We use [Xamarin](https://dotnet.microsoft.com/apps/xamarin) for our UI Implementation. From 14317629d0c4c3f714520012c5676c10e45254c9 Mon Sep 17 00:00:00 2001 From: TheJoKlLa Date: Sat, 25 Sep 2021 20:50:54 +0200 Subject: [PATCH 2/9] Ordered ContainerRegister --- Borepin/Borepin/App.xaml.cs | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/Borepin/Borepin/App.xaml.cs b/Borepin/Borepin/App.xaml.cs index 69b1e29..7fcc0d7 100644 --- a/Borepin/Borepin/App.xaml.cs +++ b/Borepin/Borepin/App.xaml.cs @@ -35,33 +35,37 @@ namespace Borepin protected override void RegisterTypes(IContainerRegistry containerRegistry) { - // Register Navigation + #region Register Basic Navigation + containerRegistry.RegisterForNavigation(); + containerRegistry.RegisterForNavigation(); + containerRegistry.RegisterForNavigation(); - containerRegistry.RegisterForNavigation(); - containerRegistry.RegisterForNavigation(); containerRegistry.RegisterForNavigation(); containerRegistry.RegisterForNavigation(); containerRegistry.RegisterForNavigation(); containerRegistry.RegisterForNavigation(); containerRegistry.RegisterForNavigation(); - containerRegistry.RegisterForNavigation(); + #endregion + #region Register Sequence Navigation containerRegistry.RegisterForNavigation("SetUpProcess_WelcomePage"); //containerRegistry.RegisterForNavigation("SetUpProcess_ScanPage"); containerRegistry.RegisterForNavigation("AddServerProcess_LoginPasswordPage"); containerRegistry.RegisterForNavigation("AddServerProcess_HostSelectPage"); containerRegistry.RegisterForNavigation("AddServerProcess_LoginChoosePage"); + #endregion - //containerRegistry.RegisterForNavigation(); - // Register Dialog + #region Register Dialog containerRegistry.RegisterDialog(); + #endregion - // Register Service + #region Register Service containerRegistry.Register(); containerRegistry.Register(); containerRegistry.RegisterSingleton(); + #endregion } } } From cb985420720fcd9bdfa86085cfad42a609e5da3d Mon Sep 17 00:00:00 2001 From: TheJoKlLa Date: Sat, 25 Sep 2021 20:55:22 +0200 Subject: [PATCH 3/9] Fixed Notch Problem --- Borepin/Borepin/Page/MainPage.xaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Borepin/Borepin/Page/MainPage.xaml b/Borepin/Borepin/Page/MainPage.xaml index 7d56fd9..0e4259a 100644 --- a/Borepin/Borepin/Page/MainPage.xaml +++ b/Borepin/Borepin/Page/MainPage.xaml @@ -5,7 +5,7 @@ x:Name="page"> - +