I’ve been submitting my game to Google Play just fine, but now I want to submit it to the Amazon App Store. I’m currently including a few different ad networks (supported by Amazon), but I need to change out ids and such. I see that there is a UNITY_AMAZON platform define, but I’m not sure how to set it so I get the right ids.
Also, is there anything else I need to know about submitting to Amazon? I don’t have IAP or Game Services in my game.
Thanks!
Where did you see that there is a UNITY_AMAZON define ?
In the piece of junk code I was given
There actually isn’t one, just code in place that uses it … lol. My mistake!
So what’s the best plan here? Should I try to detect the device type at runtime, or make two different projects that make different APKs?
Tom
You have to add that define yourself. Unity does not have any specific define for amazon.
What we did for our Amazon version was to add this define ourselves, and then we used it throughout the code to differentiate the amazon code from other code.
Defines can be added in Player Settings → Other settings, under Scripting define symbols:

1 Like
This thread is very close to the top during a forum search and I’m hoping someone has some answers. I need to add Amazon define symbols too but I can’t find anything online. Does Amazon supply these?