I want to use the exact same code base for both my iOS and Android builds.
Is there a way to enter a plug-in for use only during an iOS build? In my case, I am trying to use the openUdid for the iOS version. But when this code is seen during an Android build, I receive an error. Will I have to comment this out every time I want to build for Android, or is there a way to do a conditional-build based upon the build type?
In other words, how can I insert a plug-in for one platform without having to comment it out when building for another platform?
plugins = {
[“plugin.openudid”] = {
publisherId = “com.coronalabs”
},
},
Thanks to anyone for a good, solid answer.