platformName mismatch in Corona Docs

Hey!

After a brief search, I didn’t find out if there was some specific place you wanted messages like this to go to, so I just posted it here.

While trying to finalise our current game, we found a problem/mistake in the Corona Docs. Corona Docs states that platformName is supposed to return iPhone OS on iOS devices, however, it actually returns iOS. It took us a few minutes to spot this and we thought it’d be best to report it so that everyone else can save those precious minutes in the future.

The mistake can be found at (at least):

https://docs.coronalabs.com/api/library/system/getInfo.html and
https://docs.coronalabs.com/daily/guide/monetization/IAP/index.html

Edit:
You may also considering modifying https://docs.coronalabs.com/plugin/vungle/. On Vungle’s own “Get Started with Vungle - Corona” page, located at: https://support.vungle.com/hc/en-us/articles/204482060-Get-Started-with-Vungle-Corona, states that when setting Vungle up for iOS, you need to include the following in your project’s build.settings:

iphone = { plist= { NSAppTransportSecurity = { NSAllowsArbitraryLoads = true }, } }

There isn’t currently any mention of the aforementioned build.settings requirement in the Corona Docs.

Thanks!

I believe that this is an iOS 10 issue, and that Corona fixed it last week (in build 2954) so that it always returns “iPhone OS”.

I believe that this is an iOS 10 issue, and that Corona fixed it last week (in build 2954) so that it always returns “iPhone OS”.