
Security News
New Website “Is It Really FOSS?” Tracks Transparency in Open Source Distribution Models
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
fastlane-plugin-device_image_selector
Advanced tools
This project is a fastlane plugin. To get started with fastlane-plugin-device_image_selector
, add it to your project by running:
fastlane add_plugin device_image_selector
After creating hundreds of screenshots for the AppStore you probably want to use only a few of them with device frames, i.e. to put them on your website. Instead of running 'frameit' on the whole screenshots directory this plugin selects only the screenshots you want to use and puts them into the output directory. Running 'frameit' on that directory produces the device images. After that, the screenshot files can automatically be deleted by running the cleanup action. So the Fastfile may look like this:
desc "Generate device images"
lane :device_images do
device_image_selector(name_prefixes: ["iPhone X","iPad Pro (12.9-inch)"])
frame_screenshots(path: "fastlane/screenshots/device_images")
device_image_selector_cleanup
end
Selects only the screenshot files which matches the specified name prefixes and copys them into the output directory.
# iPhone X screenshots only
device_image_selector(name_prefixes: "iPhone X")
# iPhone 8 Plus and iPad Pro (9.7-inch) screenshots
device_image_selector(name_prefixes: ["iPhone 8 Plus","iPad Pro (9.7-inch)"])
# specify the screenshots directory (default: ./fastlane/screenshots)
device_image_selector(screenshot_directory: "path/to/screenshots", name_prefixes: "iPhone X")
# specify the output directory (default: ./fastlane/screenshots/device_images)
device_image_selector(output_directory: "~/device_images", name_prefixes: "iPhone X")
Cleans up the output directory by deleting the previously selected screenshot files. This leaves only the generated device images in the output directory.
# cleanup after the device images are created
device_image_selector_cleanup
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-device_image_selector 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
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
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.