Question

I'm wondering if there is some kind of solution like this one for iOS for Android, in order to upload .apk to Test Flight:

Is there any automatic Testflight upload script on application archiving?

So we need to upload .apk files to test Flight repository using some kind of script from command line.

Many thanks

Was it helpful?

Solution

Check out the Upload API from TestFlight. You can create some sort of batch script you can execute at certain times. For example:

curl http://testflightapp.com/api/builds.json 
-F file=@testflightapp.apk
-F api_token='your_api_token' 
-F team_token='your_team_token' 
-F notes='This build was uploaded via the upload API' 
-F notify=True 
-F distribution_lists='Internal, QA'
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top