Tuesday, October 4, 2022
HomeGame DevelopmentReplace to Billing Library 4(sdkbox) - Third-Social gathering

Replace to Billing Library 4(sdkbox) – Third-Social gathering


Hello there,

Sure, I do know that SDKBOX is useless. Nevertheless, is there any probability that you’re going to replace it to assist Google Billing Library v4?

Ps. Google is forcing to make use of it ranging from 1.11.2022.

Greatest,
kds


I too have seen this major problem.

As everyone knows, SDKBOX is useless.
Most likely no replace is anticipated.

Reminder: Beginning on August 2, 2022, all new apps should use Billing Library model 4 or newer.
By November 1, 2022, all updates to current apps should use Billing Library model 4 or newer.

And the issue just isn’t straightforward.
There are vital API adjustments between model 4 and model 5, and the strategies accessible in model 4 have been deprecated.
So, in follow, model 5 assist is a should.

Sadly, there isn’t any open supply library accessible presently that I can hope to search out.

  • In a position to management each iOS and Android with a standard interface.
  • Assist each cocos2d-x 3.x and 4.x
  • Suitable with Billing Library model 5

From the place did you discover this? You may have completely flawed information.
I do have my very own framework written, beforehand it was on model 4 and not too long ago i upgraded to version-5 and that i dont need to do any apis adjustments in any respect.

Beforehand i used to be additionally utilizing sdkbox, however attempt to create your individual wrapper class as soon as and also you dont need to face such points any extra.
I can not share my code, o/w i would assist you to.

In conclusion, I believe the one method to do that is to create my very own implementation of in-app billing for Android.
I’ve some expertise with native integration for Android, so I’ve began engaged on it.
If it really works, I wish to share the code.

As for iOS, I’ve no expertise with Goal-C, so it’s an unknown.



1 Like

Thanks to your replies. Yeah, that is the best time to spend few days on the wrapper. It is going to be additionally a very good time to combine different shops (Amazon, Huawei, Samsung and many others.).

@bluewind00 iOS integration must be simpler since you don’t have to make use of any “ndk”. I’ll share the code once I handle to do it (I hate Obj-C too :P). The precedence is Android, sdkbox nonetheless works on iOS.

Howdy, I’m going through the identical downside google billing 4 with use sdkbox. Please share supply code to exchange sdkbox for android

I’m nonetheless a piece in progress.
I’ll share it when it’s completed, however I can’t promise a deadline.
In case you are in a rush you possibly can work on it your self and share it.
Additionally, I can not make it absolutely suitable with sdkbox::IAP.
I’ll solely implement the options that I take advantage of.

It isn’t excellent, however I used to be capable of create the performance I wanted.
I wish to share it as a pattern code.

Notice that it’s only for Android and never absolutely suitable with sdkbox::IAP.
The callback arguments and namespace are completely different.

I don’t suppose you should utilize this code as it’s, however you should utilize it as a reference to implement the performance you want.

If anybody else has applied the acquisition performance, please share.

I’m solely acquainted with Android at this level.
For iOS, you possibly can proceed to make use of sdkbox::IAP, so you possibly can determine the platform and use
I’m considering of utilizing my very own code for android and sdkbox::IAP for iOS.



2 Likes

Thanks to your share.
did you take a look at in googleplay? and its work?

In fact, I truly made a take a look at buy on Google Play.
It really works high quality.



1 Like

Howdy, it ‘s works for android. Please replace for IOS. i would really like change sdkbox is it not handy now

I’m not acquainted with iOS.
Can somebody please share the code for the iOS buy course of.

I used sdkbox for ios, and used your undertaking for Android.
Works nicely.



1 Like

https://github.com/newnon/avalon/blob/grasp/avalon/platform/ios/fee/fee.mm



1 Like

Howdy, i examined profitable on take a look at gadget. However after launch to manufacturing on google play retailer. Sport crash

v4dUdD0okk04lr2Qt0FyTw==/split_config.arm64_v8a.apk!libMyGame.so (_JNIEnv::CallStaticObjectMethod(_jclass*, _jmethodID*, …)+108)
v4dUdD0okk04lr2Qt0FyTw==/split_config.arm64_v8a.apk!libMyGame.so (mingos::IAP::setListener(mingos::IAPEventListener*)+76)

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments