Problem With Android 3.2 custom plugin

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Sinazk

Hi, For releasing my mobile game for local market, i need to implement market in app purchase. This local market use exactly the same libraries as GooglePlay with different url. In Pre 3.2 versions i changed the engine PaymentManager code (platform/android/java/src/org/godotengine/payments) line 74:
Intent intent = new Intent(“com.android.vending.billing.InAppBillingService.BIND”);
to
local market url and compiled the engine and it works fine. But in 3.2 I can’t find any way to change this without compiling the engine and using custom templates. But then i can not use my custom 3.2 plugins. I don’t have any idea how to overcome this issue.

:bust_in_silhouette: Reply From: BLu

Did you find a solution? If not, try this:
Change code as you do before.
Compile the engine same as you do before.
In bin folder of godot engine source you will see a new file (from Godot 3.2 and on) : android_source.zip.
Fast solution: unzip this file and replace libs directory in your_project/android/build with libs from unziped file.