Show / Hide Table of Contents

    DEM 2 1.0.642 Release Notes

    Released 21.07.2023

    View in browser

    This release continues to improve existing features while introducing a few significant feature contributions.

    What's new

    Migration to Android 13

    • We raised target framework to Android 13.0. You'll need some additional changes other than package update and change of the target in your android projects:

      • Update Xamarin.Essentials to version 1.8.0-preview1 for both Android and iOS projects (support for android 13 is still in preview)
      • Update Xam.Plugin.Media to version 6.0.2 for both Android and iOS projects
      • Since Xamarin doesn't support new granular media permissions, we needed to make an extension and added two new interfaces - IReadImagesPermission and IPostNotificationPermission, so you now need to add an implementation and registration in your Android project:

        
        public class ReadImagesVideoPermission : Xamarin.Essentials.Permissions.BasePlatformPermission, IReadImagesPermission
        {
          public override (string androidPermission, bool isRuntime)[] RequiredPermissions => new List<(string androidPermission, bool isRuntime)>
          {
              ("android.permission.READ_MEDIA_IMAGES", true)
          }.ToArray();
        }
        
        public class PostNotificationPermission : Xamarin.Essentials.Permissions.BasePlatformPermission, IPostNotificationPermission
        {
          public override (string androidPermission, bool isRuntime)[] RequiredPermissions => new List<(string androidPermission, bool isRuntime)>
          {
              ("android.permission.POST_NOTIFICATIONS", true)
          }.ToArray();
        }
        
        
        typeCatalog.Add(new AppServiceInfo<ReadImagesVideoPermission, IReadImagesPermission>() { IsSingleInstance = true });
        typeCatalog.Add(new AppServiceInfo<PostNotificationPermission, IPostNotificationPermission>() { IsSingleInstance = true });
        
      • Add the following in your AndroidManifest.xml:

        
        <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" android:maxSdkVersion="31" />
        <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" android:maxSdkVersion="31" />
        <uses-permission android:name="android.permission.READ_MEDIA_IMAGES"  />
        <uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
        
      • Add this in your MainActivity's OnRequestPermissionsResult method if not already added:

        
        Xamarin.Essentials.Platform.OnRequestPermissionsResult(requestCode, permissions, grantResults);
        

        Xamarin.Android 13.0 releases are distributed as part of Visual Studio 2022 17.3. On this link you can find the installation for desired version.

        Use our solutions as reference and feel free to contact us if there are any problems.

        Changesets that can be usefull: 1128622, 1128744

    Note

    If you use AppCenter, don't forget to change SDK version in build configuration. We changed it to 13.2.

    Atos

    • Update template after payment - If user successfully finished payment from one of his templates, on post payment screen this new option will be shown if enabled. To enable this feature you'll need to set new configuration key FactoryConfig_UpdateTemplatesAfterPayment to true. Default value is false.

    Latest application on AppCentar

    Halk - SxS MToken - SC 24x7 UAT

    • Android 71.9 MB (216)
    • iOS 72.4 MB (167)

    Halk SME - SxS MToken - SC 24x7 UAT

    • Android 84.72 MB (55)
    • iOS 71.13 MB (61)

    DEM V2 - Staging - SxS on Halk test

    • Android 49.84 MB (340)
    • iOS 67.88 MB (326)
    • iOS 68.18 MB Momentum (15)
    • Huawei 47.43 MB (25)

    DEM V2 - Demo - SxS on Halk test

    • Android 59.57 MB (239)
    • iOS 67.12 MB (221)

    Packages (642)

    NuGet feed AzureDevOps

    Build Status

    Contributions welcome!

    If you have one or more of some common pieces of code that you are always replicating across delivery apps, don't hesitate to contribute! We are the first NuGet package you install when creating a new .Net Mobile banking app!

    Please have a look at our contribution guide before you get started.

    If you need any help getting started, please let us know.

    Useful Links

    • DEM V2 documentation - what's new
    • Configuration
    • Open-source DEM 2.0 AssecoSee GitHub repository

    Thank you to our community for helping to make DEM even better! Mobile Team

    Back to top Copyright 2020 Asseco SEE