Skip to content

Timeout while Client creation #7

@Oni22

Description

@Oni22

Hey,

First of all we are using:
vapi: 0.0.9
Flutter: 3.22.2

We are trying to add vapi to our flutter app but we get a timeout error while the client is created (see image). The app crashed right after. It happens also on real devices.

Screenshot 2024-07-15 at 18 00 07

We are using the example from the repository:

Future<void> test() async {
    setState(() {
      buttonText = 'Loading...';
      isLoading = true;
    });
    try {
      if (!isCallStarted) {
        await vapi.start(assistantId: VAPI_ASSISTANT_ID);
      } else {
        await vapi.stop();
      }
    } catch (err) {
      print(err);
    }
  }
}

Thanks!

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