I am using UE4.27 to build Android apk. Google publish warning that all app using Google Play Billing Library should upgrade to 4.0.0 version by 2022-11-01. Here is the link.
So I set com.android.billingclient:billing:4.0.0 in our build.gradle file and build the project. but we get error:
can not get symbol of getSku() in file Intermediate/Android/armv7/gradle/app/src/main/java/com/epicgames/ue4/GooglePlayStoreHelper.java:372
I found that in UE4.27, the file Engine/Plugins/Online/Android/OnlineSubsystemGooglePlay/Source/OnlineSubsystemGooglePlay_UPL.xml set billing version to 3.0.0, like this:
There is marketplace products that has android billing 4.0.0 in them, that could potentially solve your issue, but other than that you would have to figure out a way to do it yourselvesâŚ
If thatâs not viable, I bought MonetizationGoodies on the marketplace, supports the latest libraries.
Note: Iâm not the creator of it, simply passing along the information.
Nah man, I will work on it and see if i accidentally solve it, because i dont think theres other way, im not a good programmer at all but i will just try things randomlyâŚ
Dude, I think someone replied to you in another similar post, saying he installed some âAndroid Billing pluginâ for unreal. And it really really works. Didnt it work for you? Because this is what i did:
Download plugin in Epic Games, go to plugins in your project, search for the plugin and just tick the box (activate it), and last reset Unreal Engine. Nothing else needed to be done.
Make sure you have the plugin activated!! Try it out and let me know if you made it work
4Choped, did you set this up using the SKU details (nodes) from Android Play Billing Plugin or use the In-app Purchase V2 (Nodes) from Unreal Engine?
Curious as my In-app purchases using the In-app Purchase V2 (Nodes) have stopped working and are now crashing the app?
Are you visual coding or using c++?
Is there any update on this ? Im currently having issue with both Android Billing and the Default engine Billing. I keep getting this error, that the code have been depreciated but i donât know how to fix it.