Testing segment.io on phonegap: ios, android and web