Completed
Last Updated: 16 Sep 2020 11:40 by ADMIN
Release R3 2020
Yana
Created on: 26 Feb 2020 15:06
Category: UI for Xamarin
Type: Feature Request
24
Provide support for AndroidX
Applications that are built with AndroidX are currently not supported.
12 comments
ADMIN
Lance | Senior Manager Technical Support
Posted on: 02 Jun 2020 12:00

Hello Sadanan,

You can still use the linker, but you'll need to make sure it is not stripping out the Telerik assemblies that the project needs. This is done with instructions to the compiler.

Please visit this Xamarin.Android documentation on linkskip to learn how to use it.

For the Android project, this can also be done in the UI in the project properties. Here's a screenshot to guide you:

You will want to add a linkskip argument for each Telerik assembly the project references (and any other 3rd party or external code).

 

Related Note: For iOS see Skipping assemblies and for UWP see this answer on how to use AssembliesToInclude.

Regards,
Lance | Team Lead - US DevTools Support
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Sadanan
Posted on: 02 Jun 2020 11:13
Based on your input, I have set target sdk to API 28. But I still get the same error when SDK linker is enabled. Does that mean we can't use linking as of now? 
ADMIN
Didi
Posted on: 29 May 2020 14:08

Hi David,

Based on your input, I have changed the status of the item to "Planned".

Regards,
Didi
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
David
Posted on: 29 May 2020 12:05
I appreciate the assurance that "androidX support is in our plans". Why not, then, remove the "Unplanned" tag that generated my concern and likely also that of others? As long as the wait does not become unreasonable, I do not mind waiting since relatively few users would already have the newer Android platforms.
ADMIN
Didi
Posted on: 29 May 2020 10:17

Hi guys,

Thank you all for your input. I can assure you that android X support is in our plans and if passing testing we consider including this feature in some of the upcoming minor releases or in the R3 2020 official release.

Shalin, please note that I have removed the URL from your reply as it is related to the support ticketing system and the ticket is private.

Sadanan, regarding the following message - "Basically this means that Telerik controls are unusable with Android 10 or above." You can use Telerik UI for Xamarin with android 10, you just need to set for target Android version: Android 9.0. This does not mean that you cannot build and deploy on android 10. Regarding to the Telerik UI for Xamarin license, when this feature is included in some of the next Telerik UI for Xamarin releases, you will need an active license to use it. So the options are: active license when the concrete version is live or renew the license if it has been expired. 

Please follow the feedback item in order to receive an email notification when its status changes.  

Regards,
Didi
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Shalin
Posted on: 29 May 2020 06:29

look at this support ticket details

 

I am using android X with d8 compiler enabled

Sadanan
Posted on: 29 May 2020 05:39
Basically this means that Telerik controls are unusable with Android 10 or above. And the worst part is that those who are using Telerik controls in their production apps but their license is expired, they are just doomed. because we will not receive this major fix. so we are left with only two choice. Abandon telerik controls which is major app change or stick with API 28 forever. Atleast telerik should say a word or two about such users which I'm sure must be in large numbers. What is the way forward for us?
David
Posted on: 08 May 2020 16:07
I hope that in the not too distant future AndroidX support will still be addressed. I appreciate the fix, meanwhile, which has worked OK for me. But it means that neither Android Q or the even newer R are supported, an issue that can only become more troublesome with time. Also Xamarin has stated there will be no further development work done in the pre-AndroidX libraries, so no newer Xamarin abilities will be supported either. Given the strains induced by the ongoing pandemic and support obviously will require a major rewrite of every single Telerik Android control, followed by intensive testing, I can appreciate Telerik's need to delay support for now. But please do plan for it sometime. Thank you.
ADMIN
Didi
Posted on: 08 May 2020 14:41

Hello guys,

The status of this feature request is changed to "Unplanned".

Let me explain in details about this change:

Provide Support for AndroidX 

Regarding to the AndroidX Support feature request - its status is "Unplanned". What's needed to be done from our side is the following: We need to migrate our native Android dlls to AndroidX and then the wrappers dlls. 

The reason why the item status was "InDevelopment" was an exception related to a method missing in AndroidX. In the 2020.1.318 release (release notes), we implemented a fix that prevents this exception. The fix is mentioned in the release notes inside the Common  -> Fixed:
DataControls [Android]: Compiler throws error of missing HasStableIds setter API when SDK Linker is enabled and XF 4.5 is used. 

This means you can now use Xamarin.Forms version 4.5 or latest for all the projects in the solution but the Android target SDK has to be 28.  In your Android project setting, check the following values are set to Android 9 (API 28)


Regards,
Didi
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
ADMIN
Lance | Senior Manager Technical Support
Posted on: 20 Mar 2020 17:10

Hello Javier,

In case you were not subscribed to the Xamarin.Forms 4.5 Support Feature Request, we have completed it in the latest release (2020.1.318) with Xamarin.Forms 4.5.  Please take a look at my reply in that thread so you can be informed of important Android build settings.

We will be keeping this feature request open so you can track the progress AndroidX migration of the native libraries.

Regards,
Lance | Team Lead - US DevTools Support
Progress Telerik

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
ADMIN
Yana
Posted on: 09 Mar 2020 13:01

Hello Movilidad,

Thank you for posting your comment.

We're aware of the upcoming restrictions when submitting apps to the AppStore  - we're working on resolving this.

Regards,
Yana
Progress Telerik

movilidad
Posted on: 04 Mar 2020 14:06

Apple will stop accepting submissions of apps that use UIWebView APIs starting from April 2020. 

Support for Xamarin.Forms 4.5 will be required.