native extension for iOS/Android

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
borr
Prole
Posts: 2
Joined: Wed Oct 16, 2019 7:39 pm

native extension for iOS/Android

Post by borr » Wed Oct 16, 2019 7:46 pm

1.How do I create an extension for love2d?
2.Where can I find an example of native extensions for InApp Purchase, Analytics Services, Social, Ads Services etc?

Primarily interested in mobile platforms.
Thanks!

gianmichele
Prole
Posts: 49
Joined: Tue Jan 14, 2014 11:03 pm

Re: native extension for iOS/Android

Post by gianmichele » Thu Oct 17, 2019 9:52 am

Unfortunately there is not a plugin hook into the engine, but you'll have to add it to the source yourself and create the lua wrapper for the extension and a custom build.

Good examples are here:

https://love2d.org/forums/viewtopic.php ... 26#p219426
https://love2d.org/forums/viewtopic.php ... 47#p214447

I guess this and a supported web version are what made me look to other lua engines.

borr
Prole
Posts: 2
Joined: Wed Oct 16, 2019 7:39 pm

Re: native extension for iOS/Android

Post by borr » Thu Oct 17, 2019 10:19 am

thanks for your reply!

>I guess this and a supported web version are what made me look to other lua engines.

What is your choice?

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests