Category Archives: iOS

YI Home iOS: Sync Cloud Order

On iOS system, per requirement from Apple Inc, virtual goods must be payed through Apple In-App Purchase (Short for IAP).

The purchase process is like the following:

  1. User makes a purchase requests in YI Home App
  2. YI Home App brings up the IAP payment process
  3. User makes the payment
  4. YI Home App is notified about the payment, and inform the YI service a purchase is made.
  5. YI service records the transaction.

If network is not available, or other possible reasons, step 3) and step 4) could fail. In this case, user has paid Apple, but we don’t know that user has finished the payment.

To mitigate this issue, in the latest YI Home iOS App, when the user clicks the “cloud” tab in the App, the app will ask Apple if the user has pending payment. If Apple says yes, YI Home App will prompt user to refresh the YI Cloud order. Once user click the “Refresh” button in the screenshot below, The App will re-submit the cloud order to YI service, with the recalled payment information.

Next time when you encounter this problem, please give it a try.

SyncCloudOrder

iOS YI Home 3.4.1 update

Today we published iOS YI Home 3.4.1 update to Apple App Store.  This update is to resolve an issue that some European users experienced, especially for users in Italy.

The problem is, for certain mobile internet carriers, they has trouble resolve our server’s dns name, or, it resolves to the wrong address. As the result, those users cannot access the camera, when the app is running under mobile internet environment.

In the 3.4.1 update, we now use a different DNS resolution mechanism. Hopefully, with this change, our cstomes will never encounter DNS resolution problems anymore.