DEM 2 1.0.404 Release Notes
Released 28.07.2020
This release continues to improve existing features while introducing a few significant feature contributions.
What's new
- Product Catalog DO image new integration
- 33430 Upgrade to Android X and Xamarin.Forms 4.7.0.1179 (4.7.0 Service Release 3)
- 33585 Remove old packages from packages and solution Depedency list of packages with versions is updated
Removed packages from solution:
- Microsoft.SourceLink.AzureDevOps
- CarouselView.FormsPlugin
- Xamarin.Forms.InputKit
- Xamarin.Android.Support.*
- ...
- Xamarin.Badge.Plugin
- Plugin.SegmentedControl.Netstandard
- XForms.Plugin.AnimationNavigationPage
- Acr.Support
Important These packages for Andorid X and XF 4.7 are now in some stage of development and reported issues will be addressed as time allows.
These warnings are still present in solution
- warning CS0618: 'Resources.UpdateConfiguration(Configuration, DisplayMetrics)' is obsolete: 'deprecated'
- warning CS0618: 'Drawable.SetColorFilter(Color, PorterDuff.Mode)' is obsolete: 'deprecated'
- warning CS0618: 'Drawable.SetColorFilter(Color, PorterDuff.Mode)' is obsolete: 'deprecated'
- warning CS0618: 'Environment.ExternalStorageDirectory' is obsolete: 'deprecated'
- warning CS0618: 'Environment.ExternalStorageDirectory' is obsolete: 'deprecated'
- warning CS0618: 'Environment.ExternalStorageDirectory' is obsolete: 'deprecated'
The last three are resolved temporarily with this update of the android manifest. https://developer.android.com/training/data-storage/use-cases#opt-out-scoped-storage
Bug fixed
Halk
- 1379
Erste
- Tabbed navigation changes: new icons, logoutbutton, moved to main thread
Spare
- Add biometric pinchange alert
Staging
- Turn on PushMessages
Latest application on AppCentar
Halk - SxS MToken - SC 24x7 UAT
DEM V2 - Staging - SxS on Halk test
Packages (404)
Important Packages 403 are special issue for Spare
Feature Roadmap
For the next release, we are planning
- Regression testing of new updates and migration
Breaking Changes
Remove old references and initialization from projects for Droid and iOS, for example:
public void InitiatePackages(AssecoSEE.DEM.Framework.Android.MainActivity mainActivity, Bundle bundle)
{
FirebasePushNotificationManager.ProcessIntent(mainActivity, mainActivity.Intent);
Rg.Plugins.Popup.Popup.Init(mainActivity, bundle);
global::Xamarin.Forms.Forms.Init(mainActivity, bundle);
Xamarin.Essentials.Platform.Init(mainActivity, bundle);
CrossCurrentActivity.Current.Init(mainActivity, bundle);
//CarouselViewRenderer.Init();
ImageCircleRenderer.Init();
ZXing.Net.Mobile.Forms.Android.Platform.Init();
//Plugin.InputKit.Platforms.Droid.Config.Init(mainActivity, bundle);
//FormsControls.Droid.Main.Init(mainActivity);
....
Android Setup
This app uses the Xamarin.Essentials, please add this to Android InitiatePackages
like in code above
Xamarin.Essentials.Platform.Init(this, bundle);
Update Android Manifest
<manifest ... >
<!-- This attribute is "false" by default on apps targeting
Android 10 or higher. -->
<application android:requestLegacyExternalStorage="true" ... >
...
</application>
</manifest>
Caution: After you update your app to target Android 11 (API level 30), the system ignores the requestLegacyExternalStorage attribute when your app is running on Android 11 devices, so your app must be ready to support scoped storage and to migrate app data for users on those devices.
Android specific in your MainActivity add this code:
`PermissionsImplementation.Current.OnRequestPermissionsResult(requestCode, permissions, grantResults);`
Like this code below
public override void OnRequestPermissionsResult(int requestCode, string[] permissions, [GeneratedEnum] Permission[] grantResults)
{
PermissionsImplementation.Current.OnRequestPermissionsResult(requestCode, permissions, grantResults);
base.OnRequestPermissionsResult(requestCode, permissions, grantResults);
global::ZXing.Net.Mobile.Android.PermissionsHandler.OnRequestPermissionsResult(requestCode, permissions, grantResults);
}
Configuration
https://bankapi.net/demdemo/site/docs/configuration/index.html
Feedback
Your feedback is important to us. If there are any problems with this release, please report to us or report new issues and suggestions. Open-source DEM 2.0 AssecoSee GitHub repository
Useful Links
Thank you to our community for helping to make DEM even better! Mobile Team