I am trying to resolve the following use case and the issue at hand:
Use case:
For a given number, we need to determine whether the phone number is landline or mobile.
Environment Setup:
Currently, we've Twilio Nuget v4.7.2 installed and it's showing assembly version '3.4.1.0'
Question:
Per the LookupsClient documentation link (https://www.twilio.com/docs/api/lookups), the following line 'should' work with 4.x SDK. However, appropriate namespace can't be found for:
var lookupsClient = new LookupsClient(accountSid, authToken);
Thoughts?
Screenshot Showing issue and Nuget Package Installation
ps: thank you for your time and help :)
Twilio developer evangelist here.
I am reliably informed that you are correct here and the Twilio Nuget package 4.7.2 does not include the Lookups package.
You have two options now.
Ideally, you should update to Twilio v5.0. This has been newly released, contains the Lookups package and will be supported going forwards.
If you cannot update to v5 then you need to install the Lookups package alongside Twilio v4.7.2. Then you can include it and use as expected.
Let me know if that helps at all.
Related
Can anyone help me to find FabToken source code of Hyperledger Fabric? And an example of Smart contract that use it?
I've already check a lot of links, for example:
https://fabric-sdk-node.github.io/master/tutorial-fabtoken.html
https://gerrit.hyperledger.org/r/c/fabric/+/32979
but they don't works.
Thanks
FINAL UPDATE (for other users)
https://github.com/hyperledger/fabric/tree/v2.0.0-alpha/token
this is the code of FabToken
Sadly, even though Fabtoken was included in the v2.0 alpha version, it was decided to be git-reverted and therefore Fabric v2.0 will not come with the Fabtoken feature.
I am looking for documentation for Ace to do "Floating UI" , i want to to like facebook "Chat Heads". So far there is no documentation only mentioning coming soon , which means avaliable but undocumented right?. Is it already available in github latest master?
They decided to close the support for this project:
As of December 2016, this project is no longer maintained by Microsoft. We built ACE to provide developers with an “escape hatch” to access native code from within JavaScript. After nearly a year in production, we learned that most developers are satisfied with the access granted by Cordova’s Plugin Model. Thus, we’ve discontinued active development. We appreciate your interest in the project and hope you found it exemplary of Microsoft’s commitment to experimentation and open source software. if you're interested in continuing this project, please feel free to fork it. As of December 2016, we will no longer monitor or respond to open issues. You can keep up with other projects from Microsoft’s Cordova team by visiting http://taco.visualstudio.com. Thanks for your support!
I was also looking some plugin to implement "chat heads" in Cordova, without any luck :(
I need to use Plivo and Twilio in my new voice project.
Twilio requires Restsharp 105.2.3 and Plivo requires RestSharpsigned that add Restsharp 100.0.0.0 to the project.
How can i add this two vesions of Restsharp in my projet.
Thank.
I solved it by downgrading Plivo and Twilio to the latest versions that would agree to work together:
Plivo 1.3.7
Twilio 3.6.20
RestSharp 104.4.0
As laurian said you can setup a version that in the restsharp will meet both the libraries dependencies but if you want to use the method get_numbers with the parameters whcich is available from plivo version 3, than you need another solution.
what i did because of plivo and twilio didnt fixed this issue yet is downloading last plivo source from github(because plivo library is much smaller than twilio) and changing from RestSharpSigned 105.0.1 to RestSharp 105.2.3 which is the last version avaliable for today.
than compile it and replace the plivo.dll in the packages folder of your solution.
i know that this solution is not prefered because you may have problems with upgrading packages but it works well and maybe on the next version someone will fix this.
I've outlined the four general options available when you need to reference both a signed and unsigned version of an assembly here.
The option that I chose to go with was to use Brutal Dev's Strong Name Signer. It isn't ideal, but there isn't an ideal option. This is just the least amount of work. I've outlined all the steps necessary in this StackOverflow Answer
I am using the latest Nuget package of Glimpse. I see in the official website that they have a GlimpseTimeline that allow to add custom event in the timeline. I see the Github source that this static class exist. How come it is not inside Glimpse?
The page on official website that you referensed says "The GlimpseTimeline API was introduced in v2+" now. And v2 haven't been released yet, which is sad.
You can download SSW.AnalyticsInterface.Glimpse nuget package which provides the same syntax and works well. But I think it's not opensource and that's quite confusing. If you fine with non-opensource code that may be your solution.
Can anyone show me how to implement a file-chooser/picker for Android using Mono?
Thanks in advance,
Tery
Would this sample work for you?
You can also use one of the Xamarin Plugin projects available as a NuGet package, if you want to support more platforms later. The currently most actively maintained package is this one:
https://github.com/jfversluis/FilePicker-Plugin-for-Xamarin-and-Windows
(note: I'm one of the contributors to the project).
Picking files is as easy as calling var result = await PickFile() and checking the result object. See also the sample code mentioned in the README.md of the Github project.