Skip to content

handle http exceptions #49

@joukhar

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

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