native.showAlert ... the hell?

The good news is I have alerts working, but the documentation isn’t explaining them well enough, so I’m hoping I can get some better answers. Here’s the relevant code:

native.showAlert(  
 "Enjoying "..APP\_NAME.."? \n Help us by rating it! Thanks!",  
 "A String with a Message",   
 {   
 "Rate " .. APP\_NAME,  
 "No Thanks",  
 "Remind Me Later"  
 },  
 onShowRatingClick  
 );  
  1. The “A String with a Message” message is not showing up on my device. It does appear in the Corona simulator. My guess on this is that iOS doesn’t show the “message” in landscape mode because there’s not enough space. Especially if you have more than two buttons. Is my guess here correct?

  2. I’ve listed three buttons: Rate, No Thanks, Remind Me Later. When the pop-up on the device appears, Rate is listed first (highest), then No Thanks, then Remind Me Later:

Rate is a light blue button.
No Thanks is a light blue button.
Remind Me Later is a dark blue button and has an extra gap between it and the above two buttons.

I was under the impression the “light blue” was the action you wanted the user to take, but it seems that “dark” blue is, and that the default action is placed at the bottom, AND that there seems to be a bug on this since the documentation says the first item listed (in my case “Rate”) will be the dark blue button.

Can someone clear this up for me? Thanks! [import]uid: 36054 topic_id: 15293 reply_id: 315293[/import]

Bump. Need an answer to this. [import]uid: 36054 topic_id: 15293 reply_id: 57412[/import]

@blasterv, did you figure out how to implement what you were trying to do? I’d also like to know the answer to your question. [import]uid: 67217 topic_id: 15293 reply_id: 61876[/import]