Linking to app store via native.showPopup() not working with app bundles

hey guys,

i found a strange issue- i’m working on a feature that lets me link to all my other apps and bundles.  i’m using the native.showPopup(“appStore”,options) code (below), and it works fine for all my apps, but not on the bundles. it either says there is no such app id or that the bundle is only available on ipad (i’m testing on an iphone).

i’ve checked and all the bundles are indeed available on the iphone, i’m able to see them on the app store if i go via the url. in doing so, i realized the url structure is different for bundles than it is for apps, this might be related? one says /app/ and the other says /app-bundle/.

sample app url structure:

https://itunes.apple.com/app/id749378943

sample app bundle url structure:

https://itunes.apple.com/app-bundle/id917766838?mt=8

is there a workaround for this, or am i missing something to get this to work correctly?  i searched around and didn’t see anyone else with this issue.  i would appreciate any help- thanks!! :slight_smile:

my code:

local options = { iOSAppId = 917766838 } native.showPopup("rateApp", options)

what that brings up on the iphone:

Hey batgirl717111. Good to see you posting here again.

I suspect our rateApp code may predate bundles.  You could file a bug report if you could produce an example app. Email support AT coronalabs.com with a .zip file of the project.

In the mean time you could check out Scott Harrison’s Review plugin and see if it might address your problem.

https://marketplace.coronalabs.com/plugin/review-popup

Rob

Hey batgirl717111. Good to see you posting here again.

I suspect our rateApp code may predate bundles.  You could file a bug report if you could produce an example app. Email support AT coronalabs.com with a .zip file of the project.

In the mean time you could check out Scott Harrison’s Review plugin and see if it might address your problem.

https://marketplace.coronalabs.com/plugin/review-popup

Rob