android - What conditions must be met for TestFlight to send activities to the server? -
i'm trying understand: on android, how testflight determine in beta-tester environment, , should upload activity testflight server? there have been similar questions asking testflight on ios, none related android.
i've integrated testflight sdk company's android app because looked great solution beta-testing , remote logging (we use ios), i'm can't send session information testflight server. once install app through testflight app, see installed through testflight web console, , then... nada. no session data or remote logs, though should getting something.
what have done far:
- quadruple-checked testflight api key
- verified
testflight.takeoff()
getting called - verified
testflight.isactive()
reportstrue
- tried signing apk debug-only key
- tried signing apk our release key
- checked android log errors related testflight (none)
- contacted testflight support couple days ago (i've made contact, no progress yet)
my current guess testflight lib thinks in production environment, , therefore should not uploading logs , session information.
the sdk documentation has nothing offer answer question, feel if understood conditions looking nail down pretty quickly.
i poked testflightlib.jar , found testflight.isactive()
reporting whether or not you've called testflight.takeoff()
, that's not indicator of whether whole system working.
edit: per isra's answer below, looks first point (batching checkpoints) may no longer valid.
after trading few emails testflight support, seeing events , have better understand of going on. there 2 issues:
testflight android batches
checkpoint
events , sends them server once 10 or more events collected. events not preserved across app process lifetimes. test app creating 2 or 3 checkpoints, nothing ever got sent server.there apparent issue log events not posted server at all unless testflight session explicitly ended
testflight.endsession()
so, workaround (for now) explicitly call testflight.endsession()
periodically. testflight change (or @ least document) behavior in future releases of library.
Comments
Post a Comment