-
1. Re: Testflight ANE for Android
Ollie Edge Aug 7, 2013 5:34 AM (in response to Ollie Edge)Ok, I'll assume that to be a no. I'll make one and post it here when it's done.
-
2. Re: Testflight ANE for Android
Ollie Edge Aug 7, 2013 7:25 PM (in response to Ollie Edge)
EDIT: I fixed this problem below, currently liasing with TestFlight support to sort out a problem in the SDK (Data may not be coming through for some users), however you can grab the latest ANE from here:http://audiobrush.com/downloads/TestFlight_Android_0.1.3_1.ane
If you need documentation, just use the testFlight docs from the Gaming SDK, I've made it the same. As soon as the update has been made I'll post a new version for you.
------
Hey everyone, I've made a ANE which connects to TestFlight on Android, it uses the same methods as the Adobe BetaTesting ANE for iOS so there is no need to change code for multi-device deployment. However the imports are different.
Currently TestFlight doesn't recognise that the SDK is installed if you upload it. I'm working on that and will sort it out soon. I think due to this, TestFlight is not actually putting out any data. Maybe someone can have a look into the logs, and see if there is something I'm missing. The ANE is heavily logged so you will know what's happening (Android console not the default AIR console).
Here it is:
[REMOVED BY POSTER]
Please do let me know if you find something I've missed.
Cheers,
O.
-
3. Re: Testflight ANE for Android
michaelarchbold Aug 21, 2013 9:23 PM (in response to Ollie Edge)Did you actually get the data transmitting with the recent release of the Android TestFlight SDK?
I'm having troubles getting anything through, it appears to work in the Java code but nothing gets transmitted. Any ideas?
Cheers
-
4. Re: Testflight ANE for Android
dmonkeyjazz Aug 23, 2013 11:45 AM (in response to Ollie Edge)hi there Ollie, did you get this sorted out with TesFlight crew? I'm experiencing the exact same thing, thinking they scan the apk, checking if the sdk is implemented or not, not detecting it because not written in native Java?
just a guess, keep us updated about your findings if you will?thx !
-
5. Re: Testflight ANE for Android
Ollie Edge Aug 24, 2013 6:00 AM (in response to dmonkeyjazz)To responde to both of your posts, I've tried the latest Android SDK (1.0) and I'm still getting the same problems dispite the HTTPS connection.
I've been testing my version of the TestFlight ane through a web debugging proxy, and then comparing my results with the actual TestFlight app on Android as the latest one uses SDK1.0. My results gave exactly the same read outs, however I was unable to replicate the SSL certificates in order to have a detailed look into the requests/responces.
I've been in contact with the Android developer team at TestFlight and currently we're working on a solution, as soon as I get something working I will post it on here for you guys and let you know what the problem was.
O.
Edit:
I forgot to mention that I actually also created a purely android project, and in the first line of the onCreate method of the main application class I put in the takeOff call (exactly like the SDK Documentation suggests) and I had the same outcome.
-
6. Re: Testflight ANE for Android
Ollie Edge Aug 25, 2013 10:05 AM (in response to Ollie Edge)Using the TestFlight Android 1.0 SDK I've put together this ANE which does work, but varies from the standard setup. It's very strange because everything in FlightPath now works (so sessions, checkpoints etc), but everything in the TestFlight secton of the site doesn't work, the SDK debugger on the site doesn't even pick up the requests - yet the data does get there.
If you want to keep track of your projects through FlightPath only then this is for you, however if you want to use the testflight section then I suggest you wait until I get a proper version working. Please do let me know what outcome you get from using this as it might help find out whats going on. Who knows the TestFlight bit might work for you?
http://audiobrush.com/downloads/TestFlight-Android_1.0_1.ane
If anyone can think of why this might be happening then please do share.
This is an example of how to use this ANE:
testFlight = new TestFlight("xxxxxxxx-e6c7-4ae4-a9a3-0ad833371262", false);
TweenLite.delayedCall(10, testFlight.setSessionActive, [true]);
TweenLite.delayedCall(20, testFlight.setSessionActive, [false]);
To begin sessions you will need to call testFlight.setSessionsActive(true), parse false to end the session and your session data will be sent.
Again, if you use this please do let me know the outcome you get.
O.
-
7. Re: Testflight ANE for Android
Ollie Edge Aug 29, 2013 1:12 PM (in response to michaelarchbold)My most recent reply from TestFlight is that the data is not being registered because it's signed with a release certificate, however I've only ever created a certificate through Flash Builder which I assume defaults to debug anyway...
So that version that I've posted is basically working now, just getting the settings correct in order for it to work.
Let me know if you have a go at it to see if we have different results.
-
8. Re: Testflight ANE for Android
michaelarchbold Aug 29, 2013 9:59 PM (in response to Ollie Edge)Nice,
Getting closer. So I've figured out that you need to use the android debug certificate when you are packaging your application. I did this by converting the ~/.android/debug.keystore (jks format) to a p12 then using that as the certificate in FlashBuilder. Run the following in the .android directory to create this p12:
keytool -importkeystore -srckeystore debug.keystore -srcstoretype JKS -deststoretype PKCS12 -destkeystore debug.p12
The password to that certificate is android.
So once I did that I've started getting checkpoints and sessions reporting. But still no log events.
Getting very close though!
Michael
-
9. Re: Testflight ANE for Android
MirandaH5G Nov 19, 2013 7:15 AM (in response to Ollie Edge)Hey Ollie, thanks for this! It looks like the latest Gaming SDK still doesn't have an Android version. Do you have any plans to update your's to the latest API version? Thanks!
-
10. Re: Testflight ANE for Android
michaelarchbold Nov 19, 2013 4:27 PM (in response to MirandaH5G)If you're interested in a fully functional version our TestFlight ANE is working and in use by several developers:
http://distriqt.com/native-extensions#test-flight
We're just about to update to version released this week too.

