Thanks David. Simple enough. I will end up implementing if it fails QA this time.
But Nook now told me that since this new API is still considered Beta by Corona, my app might get through. let’s see…
BTW: apps are Pickles the Hamster (paid, available in 4 stores: iTunes, Google Play, Amazon and Nook) and Meet Pickles the Hamster (free, still to be approved for Nook, available in the 3 other stores) [import]uid: 32063 topic_id: 19903 reply_id: 128221[/import]
Good luck! We have 2 apps that use essentially the same codebase. One got through on the first try. The second was rejected twice, once for screen orientation issues, the other for the Store API issue. I’ve seen the same type of issue with Apple’s testing where there must be a random number generator that determines what gets through
[import]uid: 9905 topic_id: 19903 reply_id: 128224[/import]
The display resolution is documented here…
https://nookdeveloper.barnesandnoble.com/product/nook-device-specs.html
Note that we do not currently know the height of the bottom navigation bar yet which does steal screen real-estate. So, the height will be a bit shorter than what is documented there. I’m waiting to find this out from B&N now. [import]uid: 32256 topic_id: 19903 reply_id: 128359[/import]
For what it’s worth, we did the following things in preparation:
- Used “zoomEven” since we had heard letterbox was getting rejected
- Didn’t put any game buttons too close to the left or right of the screen
- Tested the game on the Kindle Fire HD and 9" Fire to make sure no text/buttons were off screen
We were accepted after that. One thing worth thinking about … I tried putting our game on an AVD with the resolution documented for the Nook HD but it crashed. However, it was accepted by b&n so I’m assuming that was an Android emulator issue [import]uid: 32462 topic_id: 19903 reply_id: 128362[/import]
My buttons were a little offscreen to the sides only, on Nook HD+ (I support landscape mode only).
I got a screenshot of my app from them, so now I know what to fix it.
It would be good to have corona views for the various Nooks in the simulator.
@Joshua: There is a navigation bar at the bottom in the screenshot for the HD+ that is 85 tall (out of the 1280 height in landscape) from what I can measure in the screenshot they sent me. Seems to be the same as in the Nook HD (900 height in landscape), I have a screenshot of that too. [import]uid: 32063 topic_id: 19903 reply_id: 128365[/import]
About the new store API: nothing happens on the simulator when I press the button that should open the Nook store in a popup window. Also no messages on the terminal. Is there no way of testing this API on the simulator? [import]uid: 32063 topic_id: 19903 reply_id: 128369[/import]
Thank you for posting the pixel height of the navigation bar.
Regarding the [lua]native.showPopup()[/lua] API, it only works on an iOS or Android device. It does nothing in the Corona Simulator… and returns false to indicate that it failed to display the requested popup.
I suppose for testing purposes we could have the Corona Simulator display a web page of your app in the app store instead. What do you think? Would that help? [import]uid: 32256 topic_id: 19903 reply_id: 128436[/import]
@Joshua, yes it would be great if in the simulator the showPopup appstore API at least did what an http link call does - opening the app in the store on a browser - just to show we have the right store and the right app being called and used the API correctly. thanks. [import]uid: 32063 topic_id: 19903 reply_id: 128441[/import]
I just added it to our feature request list now. Thanks for your feedback! [import]uid: 32256 topic_id: 19903 reply_id: 128457[/import]
Nook Portal issue corrupting my app was fixed by Nook!
Now it failed for not using the new store API - changed that for next upload.
It also failed only on the Nook HD+ for buttons being partially off screen.
Is there a Nook HD+ view on corona simualtor? we seem to have only Nook color view.
?? [import]uid: 32063 topic_id: 19903 reply_id: 128335[/import]
The display resolution is documented here…
https://nookdeveloper.barnesandnoble.com/product/nook-device-specs.html
Note that we do not currently know the height of the bottom navigation bar yet which does steal screen real-estate. So, the height will be a bit shorter than what is documented there. I’m waiting to find this out from B&N now. [import]uid: 32256 topic_id: 19903 reply_id: 128359[/import]
For what it’s worth, we did the following things in preparation:
- Used “zoomEven” since we had heard letterbox was getting rejected
- Didn’t put any game buttons too close to the left or right of the screen
- Tested the game on the Kindle Fire HD and 9" Fire to make sure no text/buttons were off screen
We were accepted after that. One thing worth thinking about … I tried putting our game on an AVD with the resolution documented for the Nook HD but it crashed. However, it was accepted by b&n so I’m assuming that was an Android emulator issue [import]uid: 32462 topic_id: 19903 reply_id: 128362[/import]
My buttons were a little offscreen to the sides only, on Nook HD+ (I support landscape mode only).
I got a screenshot of my app from them, so now I know what to fix it.
It would be good to have corona views for the various Nooks in the simulator.
@Joshua: There is a navigation bar at the bottom in the screenshot for the HD+ that is 85 tall (out of the 1280 height in landscape) from what I can measure in the screenshot they sent me. Seems to be the same as in the Nook HD (900 height in landscape), I have a screenshot of that too. [import]uid: 32063 topic_id: 19903 reply_id: 128365[/import]
About the new store API: nothing happens on the simulator when I press the button that should open the Nook store in a popup window. Also no messages on the terminal. Is there no way of testing this API on the simulator? [import]uid: 32063 topic_id: 19903 reply_id: 128369[/import]
Thank you for posting the pixel height of the navigation bar.
Regarding the [lua]native.showPopup()[/lua] API, it only works on an iOS or Android device. It does nothing in the Corona Simulator… and returns false to indicate that it failed to display the requested popup.
I suppose for testing purposes we could have the Corona Simulator display a web page of your app in the app store instead. What do you think? Would that help? [import]uid: 32256 topic_id: 19903 reply_id: 128436[/import]
@Joshua, yes it would be great if in the simulator the showPopup appstore API at least did what an http link call does - opening the app in the store on a browser - just to show we have the right store and the right app being called and used the API correctly. thanks. [import]uid: 32063 topic_id: 19903 reply_id: 128441[/import]
I just added it to our feature request list now. Thanks for your feedback! [import]uid: 32256 topic_id: 19903 reply_id: 128457[/import]
Hello,
I just got my app rejected for the first time due to the not using the Shop API (which I have not done on any of my previous apps). I am seeing how to link to individual apps, but I always have a “more games” button that links to all of my apps on the various stores. Is there a way to link to all of your apps using the Shop API?
Thanks,
Scott [import]uid: 79834 topic_id: 19903 reply_id: 129294[/import]
I just tried using this new API too, but it’s not working for me on iPod Touch. I wonder why. I’m currently using daily build 934.
Here’s the code I used (a very simple, plain vanilla, really):
local settings =
{
iOSAppID = "471409331",
}
native.showPopup("appStore", settings)
I also tried this, but it didn’t work either (btw, I don’t have android version at the moment…):
local settings =
{
--requestView = "writeReview",
iOSAppID = "471409331",
nookAppEAN = " ",
androidAppPackageName = " ",
supportedAndroidStores = { "samsung", "google", "amazon", "nook" },
}
native.showPopup("appStore", settings)
Here’s what works for me at the moment:
local id = "471409331"
local url = "https://itunes.apple.com/app/id" .. id .. "?mt=8"
system.openURL(url)
All I want is to send the user to the app store so that he/she may consider downloading it.
What am I doing wrong?
Also, is it better to use native.showPopup over system.openURL? And if yes, why?
Naomi [import]uid: 67217 topic_id: 19903 reply_id: 129296[/import]
Hi Naomi,
I used this only for the Nook version and it passed testing:
local buyOptions =
{
nookAppEAN = “myOtherAppEAN”,
supportedAndroidStores = { “nook” },
}
native.showPopup(“appStore”, buyOptions)
For Amazon, iTunes and Google Play versions I have what you have, the https link.
I think the advantage might be that with this new API the page is in a box over/in your app and the user can press the x button to close the store page/box and he is still in your app.
With the https link the user goes to the store and is out of your app, she needs to quit the store and reopen the app to go back to it.
good luck. [import]uid: 32063 topic_id: 19903 reply_id: 129303[/import]