How to pass share data

I have automated setup, how can I pass tracking confirmation automatically?


code I’m using

!npx cap add android
1 Like

This prompt caused by telemetry and can be turned on or off using this command.
to whom wants to include in ci/cd you can execute

  !npx cap telemetry off
  !npx cap add android

For what is worth, the CLI only prompts for the telemetry if the terminal is interactive.

Usually, CI/CD platforms use non interactive terminals, so it shouldn’t be an issue in most cases.

So maybe you also want to look into how to make your automation non interactive as there are more cases where the Capacitor CLI could prompt you to enter data/text and in non interactive terminal it will skip it.