![Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility](https://cdn.sanity.io/images/cgdhsj6q/production/97774ea8c88cc8f4bed2766c31994ebc38116948-1664x1366.png?w=400&fit=max&auto=format)
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.