I’m trying to incorporate Google IAP into my app but when I add “com.android.vending.BILLING” to my build.settings my orientation changes from landscapeRight to Portrait. Once I remove that line the orientation is back to normal. Any suggestions? I’m using build 2013.1137. Thanks in advance.
@fatchicken007, I had a similar thing happen just a couple of days ago. It turned out I had a comma missing from the line. If you add a comma, it may just fix itself, like so:
“com.android.vending.BILLING”,
Naomi
I double checked and I did have a comma after it. Still not working.
settings = { orientation = { default = "landscapeRight", }, android = { usesPermissions = { “com.android.vending.BILLING”, }, }, }
Okay, then it must be some other line of code with your build.settings. Check every line and make sure there’s no oddity with formatting, because, apparently, when the build.settings code is not properly formatted, the landscape app shows up in portrait. That’s all I know.
Oh, by the way, your quotation marks appear different between “landscapeRight” and “com.android.vending.BILLING”. Copy the quotation marks from “landscapeRight” and use it for the com.android.vending.BILLING and it might just fix the issue for you.
Naomi
Good eye! It was the quotes that was messing things up. Thanks!
@fatchicken007, I had a similar thing happen just a couple of days ago. It turned out I had a comma missing from the line. If you add a comma, it may just fix itself, like so:
“com.android.vending.BILLING”,
Naomi
I double checked and I did have a comma after it. Still not working.
settings = { orientation = { default = "landscapeRight", }, android = { usesPermissions = { “com.android.vending.BILLING”, }, }, }
Okay, then it must be some other line of code with your build.settings. Check every line and make sure there’s no oddity with formatting, because, apparently, when the build.settings code is not properly formatted, the landscape app shows up in portrait. That’s all I know.
Oh, by the way, your quotation marks appear different between “landscapeRight” and “com.android.vending.BILLING”. Copy the quotation marks from “landscapeRight” and use it for the com.android.vending.BILLING and it might just fix the issue for you.
Naomi
Good eye! It was the quotes that was messing things up. Thanks!