@imperialdalek wrote:
HI there,
My question is about the Cordova Google Analytics plugin used with iOS.
Everything installed just fine into my Android App, but iOS has been quite problematic!BACKGROUND
Following the documentation [http://ngcordova.com/docs/plugins/googleAnalytics/]
I added $cordovaGoogleAnalytics into the function parameters of my controller and then attempted to kick things off withe the following command
$cordovaGoogleAnalytics.startTrackerWithId('UA-XXXXX-01');
When I build and ran (on device) I only the white screen of death.
(There isn't any error output in my safari console at all.)
However if I leave $cordovaGoogleAnalytics in my function parameters and comment off the call to start tracking, then it all works again.My question
Since the analytics plugin builds and runs on the app, I have assumed that this is not the root cause of my issue. Therefore I wondered if its likely to be caused by our old friend "App Transport Security"??
If so, how should I resolve this issue?
If not.... does anyone else have an alternative suggestion.My app uses the basic App Transport Security
<dict>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
<key>NSExceptionDomains</key>
<dict/>
</dict>thanks in advance for any help you suggestions you are able to give.
Steve
Posts: 1
Participants: 1