I need to add leaderboards as well as monetization code to my game. I’m trying to figure out the best way to structure the code since Android and iOS are different.
Can someone who has experience in this just give me a high level overview of the easiest way to set up the code?
Do I create modules like appleLeaderboard.lua, androidLeaderboard.lua, etc… and then just require and use functions based on if it’s running on iOS or android?
Any other tips/tricks I should be aware of before?