Skip to content

handle http exceptions #49

Description

@joukhar

when user is not connected to internet, it return this error:
ClientException with SocketException: Failed host lookup: 'play.google.com' (OS Error: No address associated with hostname, errno = 7), uri=https://play.google.com/store/apps/details?id=<PACKAGE_ID>&hl=en_US

when app is not found it returns:
Unhandled Exception: Exception: Invalid response code: 404

My suggestions are:

  1. when user is not connected to internet : mark canUpdate to false
  2. when app is not found : add a parameter isAppExist and its value is false and mark canUpdate to false

and THANK YOU SO MUCH FOR UR WORK

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions