Mike,
This API is designed to only go to the currently running app’s details window in the app store. In fact, on an iPhone and iPod, it goes straight to the “Write Review” window and shows no app details at all. This is because most Corona developers have been more concerned about having their end-users rating their app.
…but you bring up a good point. Perhaps this new API is too restrictive and we should consider changing it. How about we get rid of “rateApp” and change it to something like the below?
[lua]local settings =
{
requestView = “writeReview”,
iOSAppId = “Your iOS App’s ID”,
nookAppEAN = “Your Nook App’s EAN”,
androidAppPackageName = “your.package.name”,
supportedAndroidStores = { “samsung”, “google”, “amazon”, “nook” },
}
native.showPopup(“appDetails”, settings)[/lua]
We can then make the [lua]androidAppPackageName[/lua] setting optional where if you don’t set it, then Corona uses the currently running app’s package name by default. Otherwise, you can set it to another app’s package name to advertise it to the end-user.
I’m thinking [lua]requestView[/lua] can be an optional way to go directly to the Write Review view on iOS, bypassing the app details view. This will make it behave the way it works now. If you omit this setting, then it will go directly to the app details view instead which you would use to advertise your other apps. I’m calling it “request” view because (as far as I know of) only the iTunes app store allows you to go directly to the Write Review view.
So, what are your thoughts? [import]uid: 32256 topic_id: 19903 reply_id: 123785[/import]