Skip to content

GATracker error on iOS7 with Air 4.0 and -useLegacyAOT no flag #111

@GoogleCodeExporter

Description

@GoogleCodeExporter
Hi,

I'm trying to compile my mobile app with the new -useLegacyAOT no flag.

Compilation goes well and when installing and launching the app (release build) 
on iPhone 5 with iOS 7 I get the following messages on Scout:

"
Adobe iOS
External interface not available
0 - Init
Error: ga.js not found, be sure to check if
<script src="http://www.google-analytics.com/ga.js"></script>
is included in the HTML.
"
And then an error is thrown and obviously the app crashes.

When I compile without the new flag I get the following expected output and the 
app starts flawlesly:

"
Adobe iOS
External interface not available
0 - Init
Init Database
...
(And the rest of the trace statements from the init)
"

So the ga class fails only when I use -useLegacyAOT no.
I use "AS3" mode to initialize the tracker so I wonder why it's trying to find 
the ga.js file when the new compiler is used...

Someone can share some light about this issue?

Original issue reported on code.google.com by [email protected] on 24 Jan 2014 at 11:21

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions