Skip to main content

Get Started

Install Knox Fastlane Plugin​

note

Version 1.0.0 requires Ruby 3.1 or later. It is tested on Ruby 3.4 with fastlane 2.217.0 or later.

warning

This plugin uploads Android APK files only. It has not been tested on iOS.

Inside your Android fastlane folder, add the plugin:

fastlane add_plugin samsungknox

This adds the gem to fastlane/Pluginfile. Pin the major version so a future breaking release is not picked up automatically:

gem 'fastlane-plugin-samsungknox', '~> 1.0'

Then run bundle install and commit both Pluginfile and Gemfile.lock.

If you don't have fastlane installed, follow the fastlane Android setup guide.

Next, configure OAuth credentials and the upload action in the OAuth v2 APK upload guide. If you are upgrading from 0.1.x, read Upgrading from 0.1.x first, because 1.0.0 changes the default authentication.