Skip to main content

(iOS/Android) Send QR code to Slack

Description

Send a QR code of the iOS or Android build uploaded to bitrise.io to Slack.

Prerequisites

Instructions

  1. Add the Deploy to Bitrise.io - Apps, Logs, Artifacts Step.

  2. Add the Create install page QR code Step.

  3. Add the Send a Slack message Step. Set the input variables:

    • Slack Webhook URL: for example, $SLACK_WEBHOOK.

    • Target Slack channel, group or username: for example, #build-notifications.

    • A URL to an image file that will be displayed as a thumbnail: $BITRISE_PUBLIC_INSTALL_PAGE_QR_CODE_IMAGE_URL.

bitrise.yml

- deploy-to-bitrise-io@2: {}
- create-install-page-qr-code@1: {}
- slack@3:
    inputs:
    - channel: "#build-notifications"
    - thumb_url: $BITRISE_PUBLIC_INSTALL_PAGE_QR_CODE_IMAGE_URL
    - webhook_url: $SLACK_WEBHOOK