-
Notifications
You must be signed in to change notification settings - Fork 44
Fault exception, only occurs on iOS #39
Comments
There's no way that that error is triggered by your as3 code. you must be tracking a timer somewhere ... |
Nope, I've checked this a number of times. This is literally the only call in the entire application. When I build for Android, this call works as expected, but once I build for iOS, it crashes with the posted error every time. There's something in the iOS code that is calling trackTiming when it should be using trackEvent instead. |
As an update, this bug still occurs as of build v2.0.7 RC2. It is not possible to log any events on iOS; it still tries to call trackTiming instead of trackEvent when using the buildEvent function. |
I tried these same debug tests on Android and the Hits have the correct types. It seems that the Enum code is not functioning correctly on iOS. I am using Adobe Air 13 and iOS 7 |
That's super weird. Are you trying on a device or on the simulator? |
I did the tests on the device and used a remote debugger. My text editor is Flash Develop (Windows). However, all builds use Ant and Apache Flex http://flex.apache.org/ Thanks for your help. The ANE is much appreciated. |
ok. I used to run most of my tests on the simulator on mac and never noticed it. |
I use the same environments as @lrgsteven (we're co-workers and he offered to help me look into the issue more). |
good to know, it might be a packagin problem on windows (i don't think the IDE is to blame) |
On possible workaround that could be done temporarily is to put the EVENT HitType on the bottom in HitType.as It looks like iOS is just defaulting to the last HitType (in this case TIMING) regardless of what it should be, so if EVENT is at the bottom, it would make the ANE temporarily usable for the time being until a proper fix is implemented since we're only ever making buildEvent calls. |
Have you managed to make any progress on this bug? |
Howdy, |
I am currently logging events using the following line:
m_googleTracker.buildEvent(category, action).withLabel(label).track();
Everything works correctly on Android, but whenever I call this line on iOS, I get the following error:
[Fault] exception, information=ArgumentError: Unable to read a property on method 'trackTiming'.
To my knowledge, it shouldn't even be calling trackTiming since I'm using the buildEvent function, not buildTiming. Is something broken in the iOS code?
The text was updated successfully, but these errors were encountered: