Susomrof
Susomrof

Reputation: 234

how to use "testflight" for android app that are not published on playstore?

I'm developing an android app for a specific client, and I want track the remote crashes and anr(app not responding) issues.

How can I start using TestFlight?

Also you can provide me some alternatives, but with proper documentation or links.

Thanks in advance.

Can anybody also tell me, how to implement testflight sdk correctly??

I have already downloaded the sdk, get the app token and integrated as mentioned in Jafar's answer, afterwards I upload apk on testflight, but on web it shows cross symbol under sdk column and says implement sdk.

Upvotes: 0

Views: 2173

Answers (2)

Jaffar Raza
Jaffar Raza

Reputation: 311

Download the android version of test flight sdk from this link and add into the libs folder.

Test flight sdk here

Firstly you have to add permission in the AndroidManifest.

<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>

Than add the code in the applicaiton file in the oncreate method.

TestFlight.takeOff(this, YOUR_APP_TOKEN);

You can obtain app token by adding a new app.

Credentials require for adding new app is the app name and package name.

When a new application is created successfully than get the app-token and add this token id in your code. As shown in the below image.

enter image description here

Upvotes: 1

allemattio
allemattio

Reputation: 1848

I use test flight to keep track of my beta testers.

You have to integrate TestFlight sdk into your app, it's pretty easy.

You have to register to TestFlight, create your app and you will get an app token. With this app token you can initialize the tracker in your app, and it will keep track of crashes and many other things. You will see the log in testflight website, in your application details page.

Getting started with test flight sdk for android

Test Flight sdk

Upvotes: 0

Related Questions