Questions tagged [xamarin-binding]

96 questions
0
votes
2 answers

Error CS0115: no suitable method found to override in a Xamarin bindings library project

I created a bindings library project to be able to run an Android .aar file. One of the several errors i got was: Error CS0115 'Call.OnWarning(IDictionary)': no suitable method found to override TwilioBindings …
0
votes
0 answers

Xamarin Binding for iOS CodePush cocoapod crashes on app start

I'm creating a CodePush Xamarin.iOS binding, I've generated a fat lib .a file by using sharpie tool with the CodePush cocoapod: sharpie pod init ios CodePush sharpie pod bind And then created a Xamarin.iOS binding project with .a file and…
0
votes
0 answers

Xamarin binding for AWS SDK

Summary When binding a JAR/AAR built on top of aws-java-sdk, do you have to EmbeddedReferenceJar all the libraries below your JAR, down to and including the aws-java-sdk, when down at that low level the AWS SDK for .NET has the functionality. Are…
mipnw
  • 2,135
  • 2
  • 20
  • 46
0
votes
0 answers

Objective Sharpie Material Components

I am attempting to create Xamarin bindings for Google's Material Components for iOS but receive errors regarding missing headers when using Objective Sharpie. First Step: sharpie pod init ios MaterialComponents Result: Downloading…
0
votes
1 answer

Xamarin form app using functionality from native libraries

The only platform-specific code in my app comes from native libraries. So I see two options: 1. iOS and Android projects referencing their appropriate bindings. This would require both of them to handle UI events that require these…
Justas S
  • 584
  • 4
  • 12
  • 34
0
votes
0 answers

Binding the Swift library ATInternet to an iOS project compilation error: Native linking failed

I am trying to bind the new version of the ATInternet's ATTracker (which is now made in Swift) to a Xamarin.Forms project. I followed this tutorial and started with this project sample . I replaced the native reference by the ATInternet library. I…
Ludovic Feltz
  • 11,416
  • 4
  • 47
  • 63
0
votes
1 answer

Error BI0000 Unexpected error - Xamarin.IOS Bindings

When trying to compile a native bindings project with AdyenCSE SDK, I get the following error: /Volumes/DADOS/Empresa1/ios-auto-binding-tool/objc-automatic-master/bindings/AdyenCSE/BTOUCH: Error BI0000: Unexpected error This code was generates by…
0
votes
0 answers

Xamarin android C# class is not generated for jar library

I am trying to create xamarin android binding for this library Android POS Print SDK. It generates C# classes fine except this one ESCPOSPrinter. This is main class that does all the job. But it is not generated, though it exist in api.xml. Can you…
F0rc0sigan
  • 676
  • 2
  • 11
  • 22
0
votes
1 answer

What is int* and long* of objective-c equivalent in C#?

I am trying to port a library of native iOS in Xamarin iOS by creating the binding library. I followed this tutorial. But I am stuck at the point of building the solution. I had replaced void* with IntPtr because objective-c equivalent of void* is…
0
votes
1 answer

Xamarin binding .aar with Metadata.xml doesn't seem to work

I'm trying to bind an android SDK for voice chat (zoom sdk). They have two .aar files (zoomcoomonlib.aar and zoomsdk.aar) I know I have to create separate binding project for each .aar and then reference them. While binding zoomsdk.aar I'm getting…
0
votes
1 answer

Xamarin iOS binding library duplicated constructors issue

I have an issue with duplicated constructor in Xamarin iOS binding library with code generated by sharpie tool from third-party SDK code. Basicly C# generated interface is using NSFileHandle as a base type and SDK header file declares identical…
0
votes
1 answer

Xamarin ios bindings dll - Native linker cant find sdk

I'm attempting to bind the pushy.me obj-c framework. Ive run this through objective sharpie and get the output api definitons file and the framework. From here I build the file and get the output "PushySDK.dll" and reference it in my xamarin.ios…
0
votes
1 answer

Convert Xamarin.Forms.Binding into System.string

How would you convert a binding object into a string? I'm trying to bind text to a property using a bindable property, but I'm getting an error that says cannot convert from Xamarin.Forms.Binding to System.string. I assumed the BindableProperty…
Bjt1776
  • 189
  • 3
  • 15
0
votes
2 answers

How to display a ListView and Other Controls in a ScrollView?

I want to display a ListView and other controls inside a ScrollView. All is bound to a ViewModel. My attempts failed because it's not recommend to put a ListView inside a ScrollView. As I use a complex ViewCell DataTemplate, I did not consider to…
Erich Brunner
  • 612
  • 5
  • 19
0
votes
1 answer

Fatal error: cannot create __weak reference using Objective Sharpie

While I was trying to bind a pod to Xamarin, I ran into some errors. I executed the following commands: sharpie pod init ios libPusher sharpie pod bind But that gave me errors like this: - (RACSignal *)rac_valuesAndChangesForKeyPath:(NSString…
vrwim
  • 13,020
  • 13
  • 63
  • 118