Do I need to compile my own Godot in order to include Storekit and have the InAppStore singleton pop up?

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

Hi! I need to implement IAP and am in trouble. The documentation on ios services mentions a singleton “InAppStore” that doesn’t want to show up.

It also mentions all of this is implemented in platform/iphone/ but that is not in github source code but it is in the otherwise outdated gitlab repository.

Should I build my own Godot or my own iOS export template , or maybe wait for Godot 4?
I did try to setup Scons and hit my head against the wall with the different versions of python installed in muy computer etc…
Thanks for any help!

It seems so, the trick is to build the ios templates as indicated in
Exporting for iOS — Godot Engine (stable) documentation in English
making sure the build includes the necessary Storekit module.
Then replace the .a file in the XCode Project.
The Godot code should be safe to run without the singleton in the editor, but can only be tested in the iOS devices.

Sintacha | 2021-01-11 20:41

:bust_in_silhouette: Reply From: avnih

Have you tried these?

AFAIK they are pre-compiled plugins.

That looks handy. Thanks for the tip!

Sintacha | 2021-06-18 19:36