SurveyMonkeyApi-v3 icon indicating copy to clipboard operation
SurveyMonkeyApi-v3 copied to clipboard

Use in Xamarin.Forms Project

Open nla-brandonjames opened this issue 7 years ago • 3 comments

Error Description (from NuGet Package Manager Console):

Install-Package : Could not install package 'SurveyMonkeyApi 3.1.116'. You are trying to install this package into a project that targets 'MonoAndroid,Version=v6.0', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.

Here I am. I am trying to use this existing Survey Monkey API in a Xamarin Forms project so I can import forms my company creates in any operating system. We are implementing platform features for form entry.

nla-brandonjames avatar Apr 21 '17 20:04 nla-brandonjames

Can confirm this api compiles in the xamarin app. I downloaded the source, placed it in my project, and it runs. All I request is that Xamarin.Forms be added to the nuspec.

nla-brandonjames avatar Apr 21 '17 20:04 nla-brandonjames

I've not used Xamarin before, but assume it also needs to build for Xamarin, not just put it in the nuspec? Will happily look at a PR if you fancy submitting one which builds on appveyor.

bcemmett avatar Apr 22 '17 15:04 bcemmett

Xamarin is a cross-platform mobile library that allows developers to target iOS, Android, and Windows environments using the C# language with Mono Run-time. It's pretty nifty. While I was able to get the project to compile with this library in my source, I wasn't able to make an API call. During run-time, the application froze. I think it might have been because the calls were synchronous.

nla-brandonjames avatar Apr 24 '17 13:04 nla-brandonjames