question

Jean-Francois Perusse avatar image
Jean-Francois Perusse asked

PlayFab Unity SDK incompatible with Prime31 In App Billing

The PlayFab Unity SDK seems to include InAppBillingService, which causes build issues with Prime31 In App Billing.

AFAIK, PlayFab is not used to trigger actual purchases on the stores, so we were wondering if this reference will be removed, or how we can fix this.

Here's the actual build error:

java.lang.IllegalArgumentException: already added: Lcom/android/vending/billing/IInAppBillingService$Stub$Proxy;

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
brendan avatar image
brendan answered

We actually removed that from the plugin in the Unity SDK, as it's not currently needed. It looks like the jar wasn't updated in the main SDK, so we'll update that later today. Meanwhile, if you just replace the jar with this one, you'll be good to go: https://github.com/PlayFab/UnitySDK/raw/master/UnityAndroidPluginSource/playfabunityplugin/release/PlayFabUnityAndroid.jar

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.