
Security News
Astral Launches pyx: A Python-Native Package Registry
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
fastlane-plugin-qr_code
Advanced tools
This project is a fastlane plugin. To get started with fastlane-plugin-qr_code
, add it to your project by running:
fastlane add_plugin qr_code
You can use this plugin to generate QR codes that you may use in the rest of your Fastlane workflow.
This plugin was created because I needed a Fastlane equivalent of the Bitrise step 'Create install page QR code'.
The main use case is to generate a QR code to your app's install page, and then automatically post this QR code to Slack.
The plugin outputs a PNG image of the QR code as well as an ANSI text representation that can be printed to a console.
Example usage of this plugin:
lane :test do
code = qr_code(contents: 'https://q42.com/')
# Print a ANSI text-representation of the QR code to the console
puts code['QR_CODE_TEXT']
# Store the QR code somewhere a PNG file to use it later on
FileUtils.cp(code['QR_CODE_PNG_PATH'], './qr_code.png')
# Upload QR code to S3...
aws_s3(
access_key: ENV["S3_ACCESS_KEY"],
secret_access_key: ENV["S3_SECRET_ACCESS_KEY"],
bucket: ENV["S3_BUCKET"],
region: ENV["S3_REGION"],
files: [
code['QR_CODE_PNG_PATH']
],
upload_metadata: false
)
qr_code_image_url = lane_context[SharedValues::S3_FILES_OUTPUT_PATHS][0]
# ...and post it to Slack!
slack(
message: "Build succeeded! Scan the code to install it on your device.",
slack_url: ENV["SLACK_WEB_HOOK_URL"],
attachment_properties: {
image_url: qr_code_image_url,
}
)
end
To run both the tests, and code style validation, run
rake
To automatically fix many of the styling issues, use
rubocop -a
For any other issues and feedback about this plugin, please submit it to this repository.
If you have trouble using plugins, check out the Plugins Troubleshooting guide.
For more information about how the fastlane
plugin system works, check out the Plugins documentation.
fastlane is the easiest way to automate beta deployments and releases for your iOS and Android apps. To learn more, check out fastlane.tools.
FAQs
Unknown package
We found that fastlane-plugin-qr_code demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.
Security News
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.