Skip to content

Activate app not working properly #810

@MotiBartovIntentHQ

Description

@MotiBartovIntentHQ

Hi, I am trying to minimize and reopen the app but keeps getting
[FlutterDriver@8fec] Encountered internal error running command: Error: No matched log found with 3000 ms interval up to 10 times.

My flow is:

  1. Context switch to 'NATIVE_APP': await driver.switchContext("NATIVE_APP")
  2. Send the app to background by pressing the home button driver.pressKeyCode(3) or use the background api await driver.execute('mobile: backgroundApp') and this works.
  3. Wait for 3000 msec and then trying to activate the app await driver.execute('mobile: activateApp', {'appId': currentpackage}), the app do returns to foreground but it then waits for some log and do 10 retrying.
  4. Eventually it just fails.

Can you help?
Best Regards,
Moti.

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