Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Methods not available in Samsung Pay 1.8 #1

Open
kerrpeter opened this issue Apr 23, 2019 · 1 comment
Open

Methods not available in Samsung Pay 1.8 #1

kerrpeter opened this issue Apr 23, 2019 · 1 comment

Comments

@kerrpeter
Copy link

I did a similar binding for Samsung Pay 1.8 with a slight modification in the Metadata.xml to handle GetCardListener as well as CardListener interface

  <attr path="/api/package[@name='com.samsung.android.sdk.samsungpay.v2.card']/interface[@name='CardListener']/method[@name='onSuccess']" name="argsType">CardListenerSuccessEventArgs</attr>
  <attr path="/api/package[@name='com.samsung.android.sdk.samsungpay.v2.card']/interface[@name='CardListener']/method[@name='onFail']" name="argsType">CardListenerFailEventArgs</attr>

  <attr path="/api/package[@name='com.samsung.android.sdk.samsungpay.v2.card']/interface[@name='GetCardListener']/method[@name='onSuccess']" name="argsType">GetCardListenerSuccessEventArgs</attr>
  <attr path="/api/package[@name='com.samsung.android.sdk.samsungpay.v2.card']/interface[@name='GetCardListener']/method[@name='onFail']" name="argsType">GetCardListenerFailEventArgs</attr>

The Xamarin binding complies, but when I reference the project from my Xamarin Android project, I see nothing in the project, no namespaces or classes. Nothing shows in the object browser either, but if I use ildasm to disassemble the compiled dll, I can see the namespaces.
Did you get this issue, or know what I may be doing wrong? I have the samsung.jar file referenced as an "EmbeddedJar".
Or do you have a binding for the newer version samsungpay-1.8.00.jar

@RTodorov
Copy link
Owner

Hey @kerrpeter,

It's been a very long time since I've last used this binding. I did not get this issue back then but it was v1.4.00. Might be worth sharing the binding project with the folks on the Xamarin forum and ask for help, they might shed some light.

Cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants