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

IInAppBillingServiceStub+Proxy.IsBillingSupported (System.Int32 apiVersion, System.String packageName, System.String type) Java.Lang.Exception: Exception of type 'Java.Lang.Exception' was thrown. #129

Closed
Big-ED opened this issue Mar 7, 2018 · 9 comments

Comments

@Big-ED
Copy link

Big-ED commented Mar 7, 2018

Hi, somtimes it's happens, but I can't to reproduce it localy on my devices:

## Bug Information
Version Number of Plugin: tested on 1.2.4.130-beta and 1.2.4
Device Tested On: Nomi i5010 (Android 6.0), Redmi Note 4 (Android 7.0), HT17 (Android 7.1.1)
Simulator Tested On: no
Microsoft Visual Studio 2017 version: 15.5.6
Microsoft .NET Framework version: 4.7.02556
Xamarins version: 4.8.0.760
Xamarin Designer version: 4.8.188
Xamarin.Android SDK version: 8.1.5.0
Xamarin.Forms version: 2.5.0.122203

### Steps to reproduce the Behavior
I can't reproduce it localy

### Expected Behavior
Application not crashed

### Actual Behavior
Application crashed

### Code snippet
I'm not sure which part of the code results in an error

### Stacktrace
https://gist.github.com/Big-ED/4f1cc1875b30bda1f5736b4446c14af3

@jamesmontemagno
Copy link
Owner

Are you setting your linker to full?

@Big-ED
Copy link
Author

Big-ED commented Mar 17, 2018 via email

@jamesmontemagno
Copy link
Owner

@Big-ED
Copy link
Author

Big-ED commented Mar 24, 2018

Thanks, I found what I have "SDK assemblies only", I will try to change to "SDK and User assemblies"

or I should set - none?

Also I have proguard turned on.

@EmilAlipiev
Copy link

it is other way around "SDK assemblies only" shouldnt give any problem.

@jamesmontemagno
Copy link
Owner

I recommend only "SDK assemblies only"

@Toine-db
Copy link

Toine-db commented May 2, 2018

I have the same issue with "SDK assemblies only"

@jamesmontemagno
Copy link
Owner

Most likely has to do with the billing library itself.

Will eventually upgrade to: https://android-developers.googleblog.com/2017/09/google-play-billing-library-10-released.html

@jamesmontemagno
Copy link
Owner

in the latest version i now ask on Connect what type of purchase you are tryign to make.

If i get an exception then i return false on connect as things are supported on that device.

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

4 participants