Previously, using third-party tools such as Google Drive and Dropbox for mobile app uploads was a cumbersome and non-intuitive process. To help new and existing users get to value quicker with mobile testing and onboard them more effectively, we now allow a direct upload to Rainforest via the command line interface so your app can be ready for testing.
To upload via the CLI, you’ll need to install the Rainforest command line interface (find helpful guides ).
Once set up, use the following command to view your list of environments.
rainforest environments --token YOUR_TOKEN
Next, use the following command to view your list of sites.
rainforest sites --token YOUR_TOKEN
Both sites and environments can be added and edited through the Settings page on our platform. Select the relevant site ID and environment ID and use in the following command while uploading your app.
rainforest mobile-upload --token YOUR_TOKEN --site-id 1234 --environment-id 5678 my_app.apk
All apps are stored securely in a non-public location.
Go back to the Settings page to view your newly uploaded app. Then, kick off your first test on this new app.