openGeeksLab / codenameone

Automatically exported from code.google.com/p/codenameone
0 stars 0 forks source link

getProducts never returns when no internet connection #1409

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I encountered the problem that getProducts never returns when there is no 
internet connection

What steps will reproduce the problem?
1. set device info flight mode
2. start app and call getProducts to get product infos like localized 
description and price
3. wait for the response of getProducts

What is the expected output? What do you see instead?
I would expect to get a null or empty response or some exception.
But none of these happen. The method never returns anything.

What version of the product are you using? On what operating system?
libVersion=84
iOS 8.1.3 on iPhone 5

Please provide any additional information below.
When there *is* an internet connection, getProducts works fine.

Original issue reported on code.google.com by tom2.ar...@gmail.com on 23 Mar 2015 at 6:05

GoogleCodeExporter commented 8 years ago

Original comment by shai.almog on 24 Mar 2015 at 5:22

GoogleCodeExporter commented 8 years ago
Fixed in SVN.
https://code.google.com/p/codenameone/source/detail?r=2225

Will be included with next server update (probably next couple of days).

Original comment by st...@weblite.ca on 24 Mar 2015 at 11:21

GoogleCodeExporter commented 8 years ago
I have tested the fix on my iPhone and it still does not work.
Purchase.getProducts still never returns when there is no internet connection.

Original comment by tom2.ar...@gmail.com on 30 Mar 2015 at 7:48