Link to Review on NOOK - are intents required? Workarounds?

here’s what it wrote. took about 45 seconds

I/ActivityManager( 958): Starting activity: Intent { act=com.bn.sdk.shop.details cmp=com.bn.nook.shop/.productdetails.ProductDetailsActivity (has extras) }
D/PhoneWindow( 3558): couldn’t save which view has focus because the focused view android.widget.FrameLayout@4a1e8c38 has no id.
D/FlurryAgent( 3558): Ending session
I/WindowManager( 958): Setting rotation to 0, animFlags=1
I/ActivityManager( 958): Config changed: { scale=1.0 imsi=0/0 loc=en_US touch=3 keys=1/1/2 nav=1/1 orien=1(-1) layout=35 uiMode=0 seq=55}
I/Corona ( 3558): system event applicationSuspend
I/Corona ( 3558): APPLICATION SUSPEND
I/Corona ( 3558): =====================ARE WE GOING TO SAVE THE GAME STATEfalse
I/Corona ( 3558): file path is /data/data/com.inillc.dabbleNOOK/app_data/dabbleGameState.txt
I/Corona ( 3558): error is nil
I/BnCloudReqMgr( 2716): BnCloudRequest Service: already running(ComponentInfo{com.bn.cloud.svc/com.bn.cloud.svc.BnCloudRequestNdSvc})
I/SurfaceFlinger( 958):
I/SurfaceFlinger( 958): SurfaceFlinger::createSurface() : layer->mIdentity=140, LayerName= com.bn.nook.shop/com.bn.nook.shop.productdetails.ProductDetailsActivity
I/SurfaceFlinger( 958): SurfaceFlinger::createSurface() : layer->clientIndex=0, surfaceHandle->mToken=0x0
I/ActivityManager( 958): Displayed activity com.bn.nook.shop/.productdetails.ProductDetailsActivity: 344 ms (total 344 ms)
W/IInputConnectionWrapper( 3558): showStatusIcon on inactive InputConnection
D/dalvikvm( 1162): GC_FOR_MALLOC freed 4045 objects / 243216 bytes in 236ms
V/CloudRequestExecutor( 2716): executing request GetRelatedProducts
I/BnCloudReqSvc( 1196): ---->execute(BnCloudRequest[GPB, GetRelatedProducts, 1, 21, 60, HIGH, null])
I/BnCloudReqSvc( 1196): Scheduling request(76) for immediate execution
I/BnCloudReqSvc( 1196): Monitor high priority threads: counter at 0
I/BnCloudReqSvc( 1196): Request[76] execution started.
I/BnCloudReqSvc-PrgHndler( 1196): -->BnCloudRequestProgress[BnCloudRequestProgress[id= 76 stage= COMMUNICATING_WITH_CLOUD]]
V/CloudRequestExecutor( 2716): executing request ProductDetails
I/BnCloudReqSvc( 1196): ---->execute(BnCloudRequest[GPB, ProductDetails, 2, 15, 60, HIGH, null])
I/BnCloudReqSvc( 1196): Scheduling request(77) for immediate execution
I/BnCloudReqSvc( 1196): Monitor high priority threads: counter at 0
I/BnCloudReqSvc( 1196): Request[77] execution started.
I/BnCloudReqSvc-PrgHndler( 1196): -->BnCloudRequestProgress[BnCloudRequestProgress[id= 77 stage= COMMUNICATING_WITH_CLOUD]]
D/dalvikvm( 1196): GC_FOR_MALLOC freed 5591 objects / 792408 bytes in 138ms
D/NativeCrypto( 1196): Freeing OpenSSL session
D/dalvikvm( 958): GC_EXPLICIT freed 4101 objects / 203608 bytes in 132ms
D/dalvikvm( 1196): GC_FOR_MALLOC freed 4309 objects / 229528 bytes in 39ms
D/NativeCrypto( 1196): Freeing OpenSSL session
I/BnCloudReqSvc( 1196): Request[77] processing completed normally.
V/CloudRequestExecutor( 2716): succeeded
V/CloudRequestExecutor( 2716): executing request ProductSearch
I/BnCloudReqSvc( 1196): ---->execute(BnCloudRequest[GPB, ProductSearch, 4, 20, 60, HIGH, null])
I/BnCloudReqSvc( 1196): Scheduling request(78) for immediate execution
I/BnCloudReqSvc( 1196): Monitor high priority threads: counter at 0
I/BnCloudReqSvc( 1196): Request[78] execution started.
I/BnCloudReqSvc-PrgHndler( 1196): -->BnCloudRequestProgress[BnCloudRequestProgress[id= 78 stage= COMMUNICATING_WITH_CLOUD]]
D/dalvikvm( 1196): GC_FOR_MALLOC freed 1672 objects / 183064 bytes in 96ms
I/BnCloudReqSvc( 1196): Request[76] processing completed normally.
V/CloudRequestExecutor( 2716): succeeded
I/BnCloudReqSvc( 1196): Request[78] processing completed normally.
V/CloudRequestExecutor( 2716): succeeded
D/RelatedTitlesView( 2716): position: 0
D/RelatedTitlesView( 2716): position: 1
D/RelatedTitlesView( 2716): position: 2
D/RelatedTitlesView( 2716): position: 3
D/dalvikvm( 1155): GC_EXPLICIT freed 14909 objects / 949776 bytes in 147ms
D/FlurryAgent( 3558): Sending report to: http://data.flurry.com/aar.do
D/FlurryAgent( 3558): Report successful
D/DeviceManagerBroadcastReceiver( 1178): Updated Battery Level: 100
D/DeviceManagerBroadcastReceiver( 1178): Action: android.intent.action.BATTERY_CHANGED
D/DeviceManagerBroadcastReceiver( 1178): Set Alarm: false
D/WifiService( 958): ACTION_BATTERY_CHANGED pluggedType: 0
W/SurfaceFlinger( 958): timeout expired mFreezeDisplay=0, mFreezeCount=1
D [import]uid: 32462 topic_id: 19903 reply_id: 127521[/import]

I was surprised to see the the appsuspend event gets called, and I don’t see appresume getting called [import]uid: 32462 topic_id: 19903 reply_id: 127522[/import]

The “applicationSuspend” event is normal and happen with all app stores, including the iTunes app store.

So, does the “applicationSuspend” event happen immediately after calling the [lua]native.showPopup()[/lua] function or when the popup is finally displayed?

If the “applicationSuspend” event is happening immediately, then that indicates that this is a Nook app store issue and we’ll have to contact B&N’s tech-support group about this issue.

You can also try an EAN belonging to another app to see if the results are different.
Try this one: “2940043890443”
[import]uid: 32256 topic_id: 19903 reply_id: 127530[/import]

@Joshua,

This seems like something that would be very easy for you to debug since you have the Corona source code and could set breakpoints in the applicationSuspend function; whereas it is MUCH more difficult for us to do the same thing using Lua.

We’d all love to use the new API for store links, but when we run into issues like this it causes people to set the use of your API function aside, hoping that it will be resolved in a later build. [import]uid: 120686 topic_id: 19903 reply_id: 127538[/import]

–ApplicationSuspend happens immediately

–changing the EAN didn’t help

–pasting another logcat in case it helps

–eys=1/1/2 nav=1/1 orien=1(-1) layout=35 uiMode=0 seq=71}
I/Corona ( 3558): system event applicationSuspend
I/Corona ( 3558): APPLICATION SUSPEND
I/Corona ( 3558): =====================ARE WE GOING TO SAVE THE GAME STATEfalse
I/Corona ( 3558): file path is /data/data/com.inillc.dabbleNOOK/app_data/dabbleGameState.txt
I/Corona ( 3558): error is nil
I/BnCloudReqMgr( 2716): BnCloudRequest Service: already running(ComponentInfo{com.bn.cloud.svc/com.bn.cloud.svc.BnCloudRequestNdSvc})
D/dalvikvm( 2800): GC_FOR_MALLOC freed 12241 objects / 436304 bytes in 288ms
I/SurfaceFlinger( 958):
I/SurfaceFlinger( 958): SurfaceFlinger::createSurface() : layer->mIdentity=162, LayerName= com.bn.nook.shop/com.bn.nook.shop.productdetails.ProductDetailsActivity
I/SurfaceFlinger( 958): SurfaceFlinger::createSurface() : layer->clientIndex=0, surfaceHandle->mToken=0x0
I/ActivityManager( 958): Displayed activity com.bn.nook.shop/.productdetails.ProductDetailsActivity: 376 ms (total 376 ms)
W/IInputConnectionWrapper( 3558): showStatusIcon on inactive InputConnection
V/CloudRequestExecutor( 2716): executing request GetRelatedProducts
I/BnCloudReqSvc( 1196): ---->execute(BnCloudRequest[GPB, GetRelatedProducts, 1, 21, 60, HIGH, null])
I/BnCloudReqSvc( 1196): Scheduling request(91) for immediate execution
I/BnCloudReqSvc( 1196): Monitor high priority threads: counter at 0
I/BnCloudReqSvc( 1196): Request[91] execution started.
I/BnCloudReqSvc-PrgHndler( 1196): -->BnCloudRequestProgress[BnCloudRequestProgress[id= 91 stage= COMMUNICATING_WITH_CLOUD]]
V/CloudRequestExecutor( 2716): executing request ProductDetails
I/BnCloudReqSvc( 1196): ---->execute(BnCloudRequest[GPB, ProductDetails, 2, 15, 60, HIGH, null])
I/BnCloudReqSvc( 1196): Scheduling request(92) for immediate execution
I/BnCloudReqSvc( 1196): Monitor high priority threads: counter at 0
I/BnCloudReqSvc( 1196): Request[92] execution started.
I/BnCloudReqSvc-PrgHndler( 1196): -->BnCloudRequestProgress[BnCloudRequestProgress[id= 92 stage= COMMUNICATING_WITH_CLOUD]]
D/dalvikvm( 1196): GC_FOR_MALLOC freed 4705 objects / 702400 bytes in 51ms
D/NativeCrypto( 1196): Freeing OpenSSL session
D/dalvikvm( 1196): GC_FOR_MALLOC freed 6268 objects / 359656 bytes in 48ms
D/NativeCrypto( 1196): Freeing OpenSSL session
I/BnCloudReqSvc( 1196): Request[92] processing completed normally.
V/CloudRequestExecutor( 2716): succeeded
V/CloudRequestExecutor( 2716): executing request ProductSearch
I/BnCloudReqSvc( 1196): ---->execute(BnCloudRequest[GPB, ProductSearch, 4, 20, 60, HIGH, null])
I/BnCloudReqSvc( 1196): Scheduling request(93) for immediate execution
I/BnCloudReqSvc( 1196): Monitor high priority threads: counter at 0
I/BnCloudReqSvc( 1196): Request[93] execution started.
I/BnCloudReqSvc-PrgHndler( 1196): -->BnCloudRequestProgress[BnCloudRequestProgress[id= 93 stage= COMMUNICATING_WITH_CLOUD]]
I/BnCloudReqSvc( 1196): Request[93] processing completed normally.
V/CloudRequestExecutor( 2716): succeeded
E/BnCloudReqSvc( 1196): isErrorCondition(0,com.bn.gpb.GpbCommons$Error@4a37b7f8)–>true
I/BnCloudReqSvc( 1196): Request[91] is ineligible for retry.
E/CloudRequestExecutor( 2716): CloudRequestExecutor - { code=PN0012 text=[Backend][Backend]RecommendationServiceImpl:productPurchased:caliber:RecommendationService/getPurchaseProductRecommendation:url:http://10.231.48.249:8080/RecommendationService/getRecommendations/json?requestType=copurchasedeans&deviceid=61&requestType=copurchasedeans&ean=2940043878649&customerid=D8PYxAH7z6pej8yu&version=2&productMatch=4&productDataTemplate=shop_product&productDataTemplateLinked=shop_product&count=20&countryCode=US&retailerId=BN2&language=en:httpstatus:500 desc=Error logging event capture to PnR database}
E/CloudRequestExecutor( 2716): failed FAIL_RESPONSE_CONTAINED_ERROR
D/dalvikvm( 958): GC_EXPLICIT freed 5704 objects / 235192 bytes in 155ms
D/DeviceManagerBroadcastReceiver( 1178): Updated Battery Level: 100
D/DeviceManagerBroadcastReceiver( 1178): Action: android.intent.action.BATTERY_CHANGED
D/DeviceManagerBroadcastReceiver( 1178): Set Alarm: false
D/WifiService( 958): ACTION_BATTERY_CHANGED pluggedType: 0
W/SurfaceFlinger( 958): timeout expired mFreezeDisplay=0, mFreezeCount=1
D/DeviceManagerBroadcastReceiver( 1178): Updated Battery Level: 100
D/DeviceManagerBroadcastReceiver( 1178): Action: android.intent.action.BATTERY_CHANGED
D/DeviceManagerBroadcastReceiver( 1178): Set Alarm: false
D/WifiService( 958): ACTION_BATTERY_CHANGED pluggedType: 0
[import]uid: 32462 topic_id: 19903 reply_id: 127543[/import]

I got a notification in my email about this post. so i tried it in my app that is already released in Nook store using the rateapp pop up

the app was built using sdk version .927

and there was no lag, the intent screen pops up like a quarter of a second. [import]uid: 157599 topic_id: 19903 reply_id: 127560[/import]

My experience is the same as @jflowers45. It just freezes, it also kills my apps’ music, while waiting for the screen to show up. So, it’s definitely trying to do something. I doubt it’s the network since I am doing this on a pretty good Wifi. Also, when I access the NOOK store directly on from the device, it comes up immediately.

I have a Nook Tablet purchased end of last year/beginning of this.

Also, while it shouldn’t make a difference, we are calling this popup() from our trial app, which shares the same EAN as the main app (by NOOK Store’s design). This is our upsell effort.

Here is my logcat trace. The first 2 lines are mine to show when the button got pushed that calls the native.popup() until when it finally opens. The second line is our EAN, in case you are interested.
I/Corona (23259): FLURRY: NOOK Upgrade Decorator - Buy Button Pushed
I/Corona (23259): ****** 2940043913180
D/PhoneWindow(23259): couldn’t save which view has focus because the focused view android.widget.FrameLayout@405f3510 has no id.
I/Corona (23259): MARK 1234
D/KeyguardViewMediator( 1276): setHidden false
I/WindowManager( 1276): Setting rotation to 0, animFlags=1
I/ActivityManager( 1276): Config changed: { scale=1.0 imsi=0/0 loc=en_US touch=3 keys=1/1/2 nav=1/1 orien=1 layout=268435492 uiMode=17 seq=88}
D/KeyguardViewMediator( 1276): setHidden false
D/KeyguardViewMediator( 1276): setHidden false
D/KeyguardViewMediator( 1276): setHidden false
D/KeyguardViewMediator( 1276): setHidden false
D/KeyguardViewMediator( 1276): setHidden false
D/KeyguardViewMediator( 1276): setHidden false
I/BnCloudReqMgr( 3059): BnCloudRequest Service: already running(ComponentInfo{com.bn.cloud.svc/com.bn.cloud.svc.BnCloudRequestNdSvc})
D/KeyguardViewMediator( 1276): setHidden false
E/TC (24700): KPICollector: 1350401343351 ActivityManager background {“component”:“com.sx.puzzingoanimals/com.ansca.corona.CoronaActivity”}
D/KeyguardViewMediator( 1276): setHidden false
E/TC (24700): KPICollector: 1350401343356 ActivityManager foreground {“component”:“com.bn.nook.shop/.productdetails.ProductDetailsActivity”}
D/KeyguardViewMediator( 1276): setHidden false
D/KeyguardViewMediator( 1276): setHidden false
E/TC (24700): KPICollector: 1350401343399 ProductDetails detail_clicked {“ean”:“2940043913180”}
D/KeyguardViewMediator( 1276): setHidden false
D/KeyguardViewMediator( 1276): setHidden false
D/KeyguardViewMediator( 1276): setHidden false
D/KeyguardViewMediator( 1276): setHidden false
I/ActivityManager( 1276): Displayed com.bn.nook.shop/.productdetails.ProductDetailsActivity: +191ms
W/IInputConnectionWrapper(23259): showStatusIcon on inactive InputConnection
W/InputManagerService( 1276): Starting input on non-focused client com.android.internal.view.IInputMethodClient$Stub$Proxy@406151f8 (uid=10007 pid=23259)
D/WsprService(24621): Received com.bn.nook.START_WSPR_AGENT action.
D/WsprService(24621): Start WsprAgent by action com.bn.nook.START_WSPR_AGENT
V/NV (24621): RUNNING
D/WsprService(24621): Start WsprAgent…
D/KeyguardViewMediator( 1276): setHidden false
V/CloudRequestExecutor( 3059): executing request GetRelatedProducts
I/BnCloudReqSvc( 1430): ---->execute(BnCloudRequest[GPB, GetRelatedProducts, 1, 21, 60, HIGH, null])
I/BnCloudReqSvc( 1430): Scheduling request(184) for immediate execution
I/BnCloudReqSvc( 1430): Request[184] execution started.
I/BnCloudReqSvc-PrgHndler( 1430): -->BnCloudRequestProgress[BnCloudRequestProgress[id= 184 stage= COMMUNICATING_WITH_CLOUD]]
V/CloudRequestExecutor( 3059): executing request ProductDetails
I/BnCloudReqSvc( 1430): ---->execute(BnCloudRequest[GPB, ProductDetails, 2, 15, 60, HIGH, null])
I/BnCloudReqSvc( 1430): Scheduling request(185) for immediate execution
I/BnCloudReqSvc( 1430): Request[185] execution started.
I/BnCloudReqSvc-PrgHndler( 1430): -->BnCloudRequestProgress[BnCloudRequestProgress[id= 185 stage= COMMUNICATING_WITH_CLOUD]]
E/TC (24700): KPICollector: 1350401343599 ProductDetails overview_clicked {“ean”:“2940043913180”}
D/dalvikvm( 1430): GC_CONCURRENT freed 960K, 52% free 3612K/7431K, external 668K/1039K, paused 1ms+2ms
D/dalvikvm( 1430): GC_CONCURRENT freed 531K, 52% free 3602K/7431K, external 668K/1039K, paused 1ms+3ms
D/dalvikvm( 1430): GC_CONCURRENT freed 511K, 52% free 3609K/7431K, external 668K/1039K, paused 2ms+2ms
D/dalvikvm( 1430): GC_CONCURRENT freed 440K, 52% free 3576K/7431K, external 668K/1039K, paused 2ms+2ms
D/dalvikvm( 1430): GC_CONCURRENT freed 133K, 47% free 3941K/7431K, external 668K/1039K, paused 1ms+2ms
D/WsprService(24621): WSPr status SUCCEEDED
D/WsprService(24621): WSPr agent succeeded: agent.getAction() == com.bn.nook.START_WSPR_AGENT
D/NookWifiManager( 1430): Connected
D/NookWifiManager( 1430): Connected
D/DeviceManagerBroadcastReceiver( 1472): action (com.nook.intent.action.BNCM_WIFI_ENABLE_RESPONSE)
D/DeviceManagerBroadcastReceiver( 1472): Network state change notification
D/DeviceManagerBroadcastReceiver( 1472): wifiState (2)
D/DeviceManagerBroadcastReceiver( 1472): Network connected
D/DeviceManagerBroadcastReceiver( 1472): Sending Message… ({ what=303 when=-3d18h7m43s539ms })
D/DeviceManagerBroadcastReceiver( 1472): Action: com.nook.intent.action.BNCM_WIFI_ENABLE_RESPONSE
D/DeviceManagerBroadcastReceiver( 1472): Set Alarm: false
D/NookWifiManager( 1472): Connected
D/DeviceManagerService( 1472): Wifi status: SUCCESS__CONNECTED
D/NookWifiManager( 1673): Connected
D/browser ( 1673): Received WiFi status[SUCCESS__CONNECTED]
D/DeviceManagerProvider( 1472): query(): uri (content://com.bn.provider.devicemanagerprovider/registry?notify=false)
D/DeviceManagerProvider( 1472): query(): selection (name = ‘com.bn.device.fota.mode’)
D/DeviceManagerProvider( 1472): query(): selectionArgs (null)
D/DeviceManagerProvider( 1472): query(): Product.BN_FEATURE_ROM_TOKENS_ENABLED (true)
D/DeviceManagerProvider( 1472): query(): Table (registry)
D/DeviceManagerProvider( 1472): Query from ROM Token!
D/DeviceManagerProvider( 1472): query(): name after()
D/DeviceManagerProvider( 1472): deviceInfoQuery: uri (content://com.bn.provider.devicemanagerprovider/registry?notify=false)
D/DeviceManagerProvider( 1472): deviceInfoQuery: return false
D/dalvikvm(24621): GC_CONCURRENT freed 232K, 50% free 2998K/5895K, external 668K/1039K, paused 2ms+2ms
V/NV (24621): RESOLVED__SUCCESS__REACHED_INTERNET
D/Utils ( 1472): getRegistryValue(): Name = com.bn.device.fota.mode Value: auto
D/dalvikvm( 1472): GC_CONCURRENT freed 377K, 49% free 3327K/6407K, external 668K/1039K, paused 2ms+2ms
D/Utils ( 1472): FOTA mode: auto
I/DeviceManagerHandler( 1472): HandleMessage(): msg.what (303)
D/DeviceManagerHandler( 1472): HandleMessage(): Url retrieval
I/BnCloudReqSvc( 1430): Request[185] processing completed normally.
V/CloudRequestExecutor( 3059): succeeded
V/CloudRequestExecutor( 3059): executing request ProductSearch
I/BnCloudReqSvc( 1430): ---->execute(BnCloudRequest[GPB, ProductSearch, 4, 32, 60, HIGH, null])
I/BnCloudReqSvc( 1430): Scheduling request(186) for immediate execution
I/BnCloudReqSvc( 1430): Request[186] execution started.
I/BnCloudReqSvc-PrgHndler( 1430): -->BnCloudRequestProgress[BnCloudRequestProgress[id= 186 stage= COMMUNICATING_WITH_CLOUD]]
E/Omap4ALSA( 1169): called drain&close
I/BnCloudReqSvc( 1430): Request[186] processing completed normally.
V/CloudRequestExecutor( 3059): succeeded
I/BnCloudReqSvc( 1430): Request[184] processing completed normally.
V/CloudRequestExecutor( 3059): succeeded
D/RelatedTitlesView( 3059): position: 0
D/RelatedTitlesView( 3059): position: 0
D/RelatedTitlesView( 3059): position: 1
D/RelatedTitlesView( 3059): position: 2
D/RelatedTitlesView( 3059): position: 3
D/RelatedTitlesView( 3059): position: 0
D/RelatedTitlesView( 3059): position: 0
D/dalvikvm( 1276): GC_EXPLICIT freed 313K, 59% free 4854K/11719K, external 2419K/2953K, paused 46ms
W/SurfaceFlinger( 1276): timeout expired mFreezeDisplay=0, mFreezeCount=1
D/dalvikvm(23259): GC_EXTERNAL_ALLOC freed 1993K, 72% free 3710K/12871K, external 1146K/1180K, paused 30ms
D/dalvikvm(23259): GC_EXTERNAL_ALLOC freed 51K, 72% free 3705K/12871K, external 1203K/1224K, paused 29ms
D/dalvikvm(23259): GC_EXTERNAL_ALLOC freed 45K, 72% free 3708K/12871K, external 948K/1211K, paused 28ms
D/skia (23259): Loading ARM decoder…
D/skia (23259): Loading ARM decoder…
D/skia (23259): Loading ARM decoder…
D/skia (23259): Loading ARM decoder…
D/dalvikvm(23259): GC_EXTERNAL_ALLOC freed 2618K, 72% free 3708K/12871K, external 668K/1180K, paused 27ms
E/WifiStateTracker( 1276): EVENT_SUPPLICANT_PING
E/WifiStateTracker( 1276): EVENT_SUPPLICANT_PING

[import]uid: 41124 topic_id: 19903 reply_id: 127602[/import]

Based on what you guys are telling me, this is clearly an issue on Nook’s side and not a Corona issue. I’ll have to contact B&N about this. [import]uid: 32256 topic_id: 19903 reply_id: 127630[/import]

jflowers, akao - we are working with the Nook people to look into this issue. Could you guys send me an APK that you are seeing the lag issue with? We havent been able to reproduce on our side, but an APK from you would be helpful. My email is davidATcoronalabs.

Thanks! [import]uid: 10668 topic_id: 19903 reply_id: 127666[/import]

I have an app that is being rejected rejected for issues in the Nook portal since early September.
Today they said they fixed it; my app it up for review again, let’s see what happens.
In the meantime because this was going on for so long, they did QA in parallel
This is a free app that has a hard https link to my other app in their store. The lua file that contains this link is specific to Nook, I don’t have a switch to choose which android appstore to link to, it’s always Nook.
They told me that using https link for Nook Color and Nook Tablet is accepted. But the app will fail QA for Nook HD and Nook HD+ if linking to the store without the new store API.
My app is pre-this-new-store-API, I would rather not introduce a new uncertainty element at this point.
Is anyone aware of that?
Did you have your app rejected because of that?
Joshua, any comments?
Thanks. [import]uid: 32063 topic_id: 19903 reply_id: 128199[/import]

Luciane, one of our apps was rejected because we had a pop-up of the Barnes & Noble web page with our apps when you clicked on a Buy button. We added the Store api code and it was accepted.

It wasn’t hard to add, and worked seamlessly. Other than taking out the link, I think this is your best bet to get it accepted. [import]uid: 9905 topic_id: 19903 reply_id: 128203[/import]

David, that’s exactly what I have, a button that leads to the store page of the paid version.
Could you share the exact code that worked for you?
I haven’t used native.showPopup() before, do I need to provide a go-back-to-the-app button-function too or is it part of the popup API?
thanks. [import]uid: 32063 topic_id: 19903 reply_id: 128205[/import]

Look at Josh’s comment above (#21). It has the general case code you should use.

For Nook-only, you’d need to use something like this:

buyOptions =  
 {  
 nookAppEAN = "111111111",  
 supportedAndroidStores = { "nook" },  
 }  
  
native.showPopup("appStore", buyOptions)  

Replace the 111111111 with the EAN of your app.

In our case, we used the button handler to trigger the native.showPopup code and set up the buyOptions elsewhere in the code.

And no, you don’t need a “go back” function. When someone clicks, a big window appears. When they hit the close or cancel button, it goes away. Really easy! [import]uid: 9905 topic_id: 19903 reply_id: 128208[/import]

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 :slight_smile: [import]uid: 9905 topic_id: 19903 reply_id: 128224[/import]

I have an app that is being rejected rejected for issues in the Nook portal since early September.
Today they said they fixed it; my app it up for review again, let’s see what happens.
In the meantime because this was going on for so long, they did QA in parallel
This is a free app that has a hard https link to my other app in their store. The lua file that contains this link is specific to Nook, I don’t have a switch to choose which android appstore to link to, it’s always Nook.
They told me that using https link for Nook Color and Nook Tablet is accepted. But the app will fail QA for Nook HD and Nook HD+ if linking to the store without the new store API.
My app is pre-this-new-store-API, I would rather not introduce a new uncertainty element at this point.
Is anyone aware of that?
Did you have your app rejected because of that?
Joshua, any comments?
Thanks. [import]uid: 32063 topic_id: 19903 reply_id: 128199[/import]

Luciane, one of our apps was rejected because we had a pop-up of the Barnes & Noble web page with our apps when you clicked on a Buy button. We added the Store api code and it was accepted.

It wasn’t hard to add, and worked seamlessly. Other than taking out the link, I think this is your best bet to get it accepted. [import]uid: 9905 topic_id: 19903 reply_id: 128203[/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]

David, that’s exactly what I have, a button that leads to the store page of the paid version.
Could you share the exact code that worked for you?
I haven’t used native.showPopup() before, do I need to provide a go-back-to-the-app button-function too or is it part of the popup API?
thanks. [import]uid: 32063 topic_id: 19903 reply_id: 128205[/import]

Look at Josh’s comment above (#21). It has the general case code you should use.

For Nook-only, you’d need to use something like this:

buyOptions =  
 {  
 nookAppEAN = "111111111",  
 supportedAndroidStores = { "nook" },  
 }  
  
native.showPopup("appStore", buyOptions)  

Replace the 111111111 with the EAN of your app.

In our case, we used the button handler to trigger the native.showPopup code and set up the buyOptions elsewhere in the code.

And no, you don’t need a “go back” function. When someone clicks, a big window appears. When they hit the close or cancel button, it goes away. Really easy! [import]uid: 9905 topic_id: 19903 reply_id: 128208[/import]