Skip to content

Add Error Handling and Async/Await Syntax Correction in IPReset Usage Example #1

@MasterOfBrokenLogic

Description

@MasterOfBrokenLogic

The current usage example of the IPReset class contains a syntax error and incorrect handling of asynchronous function calls within an immediately invoked function expression (IIFE). This issue aims to:

  1. Correct the path to the ADB executable by properly escaping backslashes.
  2. Use an async function inside the IIFE to enable the use of await.
  3. Add error handling to manage potential failures during the IP reset process.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions