Page 1 of 1

in app purchasing broken?

Posted: Tue Dec 31, 2024 6:14 pm
by andyh1234
Is the in app purchasing option broken on Livecode 10?

I have pasted in my key and checked in the standalone settings box, but when I build the exe I get an error. If I uncheck the billing box the app compiles just fine.

Re: in app purchasing broken?

Posted: Tue Dec 31, 2024 6:41 pm
by andyh1234
Sorry, I should say this is just for Andoid deployment, not iOS.

Re: in app purchasing broken?

Posted: Wed Jan 01, 2025 8:02 pm
by jacque
What's the error say?

Re: in app purchasing broken?

Posted: Wed Jan 01, 2025 8:12 pm
by andyh1234
The error says...

Code: Select all

Unable to build app for testing: could not encode class bundle - error:
Methods with invalid locals information:
void androidx.print.PrintHelper$PrintUriAdapter$1.onPostExecute(android.graphics.Bitmap)
Information in locals-table is invalid with respect to the stack map table. Local refers to non-present stack map type for register: 2 with constraint OBJECT.
Info in
/private/var/folders/qc/kzx8jjdn4zq3gpjvs87z2pgc0000gn/T/Temporaryltems/tmp.12380.sQ3wUuBb/28/classes.jar:androidx/viewpager/widget/PagerTitleStrip.class:
Methods with invalid locals information:
void androidx.viewpager.widget.PagerTitleStrip.updateTextPositions(int, float, boolean)
Information in locals-table is invalid with respect to the stack map table. Local refers to non-present stack map type for register: 37 with constraint INT.
I have found the same error marked as resolved and not a bug in the quality centre so I have resubmitted it there so Livecode can have another look.

As I mentioned, compiled without the google billing option checked and everything is fine, try to compile with the option checked and you get the above error.

Re: in app purchasing broken?

Posted: Wed Jan 01, 2025 8:58 pm
by andyh1234
I also tried it in Livecode 10.0 and 10.0.1 RC3 with the same result

Re: in app purchasing broken?

Posted: Thu Jan 02, 2025 7:24 pm
by jacque
I think you did the right thing sending it to the LC team. It looks like a printing error on first glance though I'm no expert, but billing doesn't seem like it should need to print anything.

Re: in app purchasing broken?

Posted: Tue Jan 07, 2025 4:56 pm
by andyh1234
Fixed!

I have the wrong version of build tools installed, I downgraded to build tools 33.0.0 and the app compiled sucessfully.