Telerik Forums
UI for Xamarin Forum
1 answer
102 views

Hi,

I am trying to add the Xamarin libraries to a project I am working on. I have the Nuget source configured properly: When I search for Telerik libraries they all appear correctly, however they fail to install.

Restoring packages for /******.csproj...
Restoring packages for .NETStandard,Version=v2.1...
  GET https://api.nuget.org/v3-flatcontainer/telerik.ui.for.xamarin.datacontrols.lite/index.json
  NotFound https://api.nuget.org/v3-flatcontainer/telerik.ui.for.xamarin.datacontrols.lite/index.json 306ms
Resolving conflicts for .NETStandard,Version=v2.1...
Unable to find package Telerik.UI.for.Xamarin.DataControls.Lite. No packages exist with this id in source(s): nuget.org
Package restore failed. Rolling back package changes for '****'.
Is this a VS 2022 issue or am I missing something?
Didi
Telerik team
 answered on 18 Jul 2022
1 answer
65 views

Also any issues that you came up with such as speed of executing the tests. How and where did you run the tests and do you think there are better ways to do mobile app testing with some of the new products out there?

Georgi
Telerik team
 answered on 06 Jul 2022
5 answers
10.1K+ views

I periodically can not connect to NuGet from Visual Studio. This is happening at the moment. Is the nuget.telerik.com server down?

When I use this in my browser...  

https://nuget.telerik.com/nuget

I am prompted for login, and after entering my credentials I see the page below

but in Visual Studio, it keeps on asking for my credentials when I try to use NuGet.

 

<?xml version="1.0" encoding="UTF-8" standalone="true"?>
<service xmlns="http://www.w3.org/2007/app" xmlns:app="http://www.w3.org/2007/app" xmlns:atom="http://www.w3.org/2005/Atom" xml:base="https://nuget.telerik.com/nuget/"><workspace><atom:title>Default</atom:title><collection href="Packages"><atom:title>Packages</atom:title></collection></workspace></service>

Hossein
Top achievements
Rank 1
Iron
 answered on 13 May 2022
1 answer
142 views

We had a Xamarin 3 iOS application built using Telerik 2018 components and it was working fine until the recent update in iOS. However, after the iOS update to 15, Xamarin 3 iOS app started crashing. Then we updated our app to Xamarin 5 and were able to successfully compile and run it on an iOS 15 simulator. But the Telerik 2018 controls did not render on screen. So we upgraded Telerik control to 2021 version (trial), and now we are having following error which broke the compilation of the entire project.

you must add a reference to assembly 'netstandard version=2.0.0.0 xamarin

It seems that Telerik 2021 controls have a dependency on netstandard library which is either not supported or cannot be installed from NuGet. 

It would be great if you could help us to resolve this issue. This way we would recover our app from crashes, and purchase the latest updates for Telerik.

Didi
Telerik team
 answered on 06 Dec 2021
1 answer
382 views

Hi, I'm getting the following error when building my Xamarin.Forms project on iOS. Weirdly enough it was working fine the other day and now it consistently gives me this error. The application itself launches on iOS but half the pages are missing and some pages are missing components. 

The type initializer for 'Telerik.XamarinForms.SkiaSharp.SkiaPainter' threw an exception.  
  Exception of type 'System.Exception' was thrown.
  Telerik.XamarinForms.Common
  at Telerik.XamarinForms.Common.NativeResourceProvider.ToPlatformPixels (System.Double dip) [0x00000] in <c043edb38e3c40609bb9cbd0df9066be>:0 
  at Telerik.XamarinForms.SkiaSharp.SkiaPainter.UpdateExpectedPpxToDpRatio () [0x00000] in <5c673afa45f14dd59e1a272b3f01ee1a>:0 
  at Telerik.XamarinForms.SkiaSharp.SkiaPainter..cctor () [0x00017] in <5c673afa45f14dd59e1a272b3f01ee1a>:0 


    at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_generic_class_init(intptr)
  at Telerik.XamarinForms.Primitives.RadPath..ctor () [0x0001b] in <38c0677356f14f22a10877afa8da8671>:0 
  at Telerik.XamarinForms.Primitives.Animation1.CreatePath (System.Int32 figuresCount, System.Double thickness) [0x0005d] in <38c0677356f14f22a10877afa8da8671>:0 
  at Telerik.XamarinForms.Primitives.Animation1..ctor (Xamarin.Forms.Color color) [0x00049] in <38c0677356f14f22a10877afa8da8671>:0 
  at Telerik.XamarinForms.Primitives.AnimationFactory+<>c.<.cctor>b__1_0 (Xamarin.Forms.Color p) [0x00000] in <38c0677356f14f22a10877afa8da8671>:0 
  at Telerik.XamarinForms.Primitives.AnimationFactory.CreateAnimation (Telerik.XamarinForms.Primitives.AnimationType animationType, Xamarin.Forms.Color color) [0x00019] in <38c0677356f14f22a10877afa8da8671>:0 
  at Telerik.XamarinForms.Primitives.RadBusyIndicator.PrepareAnimations () [0x00029] in <38c0677356f14f22a10877afa8da8671>:0 
  at Telerik.XamarinForms.Primitives.RadBusyIndicator..ctor () [0x0002d] in <38c0677356f14f22a10877afa8da8671>:0

    
Lance | Manager Technical Support
Telerik team
 answered on 08 Sep 2021
2 answers
74 views
     I'm not seeing this in the Telerik NuGet feed.
Larry
Top achievements
Rank 1
Iron
Iron
Veteran
 answered on 16 Apr 2021
3 answers
1.0K+ views

I am using RadFlowDocument to create a PDF that will be shared by the user. This is a Xamarin Forms app.

I am finding little documentation specific to using RadFlowDocument in the Xamarin context.

The RadFlowDocumentEditor.InsertImageInline method takes a Stream but I don't know how to get a Stream from a Xamarin Forms resource.

Lance | Manager Technical Support
Telerik team
 answered on 08 Mar 2021
1 answer
108 views

Hi.

I'd like a little advice and suggest a new control.

Prior to iOS14 we used https://github.com/jamesmontemagno/MediaPlugin as our media picker in our Xamarin forms app.

Since https://github.com/jamesmontemagno/MediaPlugin does not work on iOS14 and is not being actively developed, we switched to xamarin/Essentials and now face a rotation issue (https://github.com/xamarin/Essentials/issues/1514) for a long time.

There seems not to be any alternatives!

What are you doing?

And how about developing a reliable upload control?

Best regards

Morten

 

Didi
Telerik team
 answered on 01 Mar 2021
4 answers
464 views
Looks like 2021.1.119.480 depends on the Telerik.UI.for.Xamarin.Documents.* and Telerik.UI.for.Xamain.Zip packages but those are not included in Telerik.UI.for.Xamarin.2021.1.119.1.nupkg. Can this be fixed please?
Jared
Top achievements
Rank 1
 answered on 23 Feb 2021
7 answers
97 views

I have downloaded the sample code, and followed the instructions laid out here:

https://github.com/telerik/telerik-xamarin-forms-samples/tree/master/ERP

 

I have successfully published the service app, and am able to browse to the url just fine.  Additionally, I can see the SQL objects and data got created in the sample database.  I updated the web.config with the Azure SQL Connection info

I have updated the constants.cs file in the ErpApp solution with the URL from the Azure app service as well.

 

However, when I launch the app from debug in VS 2019, all the tabs in the mobile app spin for a few seconds, and then bring up empty screens, almost like there's no data to connect to, or some kind of permissions is not allowing it to pull down the data from Azure SQL.  Interestingly enough, I am able to add a customer, but I have no idea where it's adding it to if it can't connect to the database!

Any thoughts here?   Feels like I'm really close, but something isn't quite hooked up correctly I don't think.

 

Tim
Top achievements
Rank 1
 answered on 11 Feb 2021
Top users last month
horváth
Top achievements
Rank 2
Iron
Iron
Steve
Top achievements
Rank 2
Iron
Erkki
Top achievements
Rank 1
Iron
Mark
Top achievements
Rank 2
Iron
Iron
Veteran
Jakub
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?