How to determine the exact iOS version using Google Analytics - ios

While reading a tutorial on Google Analytics for iOS I wanted to know which version of iOS I was running.
I've googled for phrases like "ios version google analytics" but couldn't find anything useful.
Basically I want to know the number of users running my app on any iOS version, e.g. iOS 6, iOS 7 etc.
I've also checked the Google Analytics documentation, but couldn't find a proper method. The device info on Google Analytics dashboard just shows "iPhone" but does not mention the iOS version.
Is there a way to get the exact iOS version via Google Analytics?

I created you a custom report so you can see how the information is saved. Os Custom Report
I think what you are after is Operating system and Operating system version.

There is a method, go to
Audience > Technology > Browser & OS > The browser version matches the firmware*.
Might not match exactly, but in my experience its more than accurate enough and I am 95% it does match always.
Hope that helps Tushar

So I was looking for a solution here as well. I came across this article by Phillip Studiniski that shows you how to measure the iPhone screens by screen resolution.
https://analytical42.com/2017/detect-and-track-iphone-models-in-google-analytics/
I attempted to go this route. The problem I ran into was that I was just getting a raw output of the screen resolution in GTM, it would look something like this.
{"width":375,"height":667,"ratio":2.0000000454608653}
No problem I thought. I moved this into a RegEx table. Click here to see a sample RegEx for this Once I did this, I was able to properly identify the iPhone version with a variable and then send it to Google Analytics through Google Tag Manager variable.
I then had to update the iPhone models a bit since it has been a while since the article was written. (https://iosref.com/res) This includes the models from 11 to 13.
BOOM! iPhone version now being sent to GA. Hope this helps everyone.

Related

Google Map don't load in iOS

I’m using GoogleMaps pod in my iOS application and it was working fine, but in my last build, apple reject my application. And the reason behind that is, the map was unable to load at the time of review on iPad running iOS 12.2 on Wi-Fi.
I did try to reproduce that bug on my device but I couldn’t.
Application do ask for location permission
Google Place API key also seems ok.
Is there any way to identify what the actual issue is and how I am supposed to solve this one?
Finally, I've solved that issue and for that, I've done some of the changes in my project.
1 - I've patched the latest Google Plist file in the project (I wasn't sure whether the old one was latest or not)
2 - I was using multi language in my project so before setting the delegate of google map, I've set the language for my project.
3 - instead of set the google map from Storyboard, I've set the google map programmatically in my view controller after setting language.
After surfing for so long to solve this issue, I came to know that this issue occurs when your App supports multi language. These some steps did work for me.

APPIUM:Change app language

Iam automating an android app which is developed in few different langugages. I would like to know whether can we change the app language with desiredcapabilities?i passed the below capabilities. But it dint work.
obj.setCapability(“LOCALE”, “FR”);
obj.setCapability(“LANGUAGE”,“fr”);
Always check official docs
obj.setCapability(“locale”, “ fr_CA”);
obj.setCapability(“language”,“fr”);
Both Sim/Emu-only If it works on random real device, its more like a luck.
Language change available only on API levels 22 and below

Google Maps iOS street view URL scheme not working?

My app has some code for opening directly to Google Maps. We're attempting to open directly to Street View for a particular coordinate using a URL like so:
comgooglemaps-x-callback://?center=47.613371,-122.313167&mapmode=streetview&x-success=myurlscheme://noop&x-source=MyApp
I'm seeing an infinite spinner with the Street View never loading.
This URL scheme is documented and has worked for several years, until a recent update.
https://developers.google.com/maps/documentation/ios-sdk/urlscheme
Is this feature of the app busted or did the URL scheme change?
This has been fixed in the latest release of google maps iOS app. Please check it.
Reference : https://github.com/googlemaps/OpenInGoogleMaps-iOS/issues/6
This is a bug ( or documentation needs updating) as I was able to verify this working with the previous Google Maps iOS build of 4.14(the last update). Also verified with other iOS apps that use StreetView.
submitted issue but this has not been acknowledged as a bug yet.
https://code.google.com/p/gmaps-api-issues/issues/list?can=2&q=streetview&colspec=ID+Type+Status+Introduced+Fixed+Summary+Internal+Stars&cells=tiles
It looks like it's been accepted as a bug according to Google. I've heard that it will be fixed with next update, but that is not official.
http://code.google.com/p/gmaps-api-issues/issues/detail?id=9095&q=apitype%3AIosSDK%20type%3ADefect&sort=-stars&colspec=ID%20Type%20Status%20Introduced%20Fixed%20Summary%20Internal%20Stars
Google has a new app, I believe we are supposed to use this instead but I've not tried it yet!! I still have not seen updated documentation on website that confirms this.
https://itunes.apple.com/us/app/google-street-view/id904418768?mt=8
https://github.com/googlemaps/OpenInGoogleMaps-iOS/issues/6

Google Analytics integration not working in an iOS App

I am integrating Google analytics in an iOS App. I have a made a separate sample project and its working fine.
But when I am implementing the same in my App its not working.
Are there any frameworks that will restrict the App for not running Google Analytics?
First there are NO FRAMEWORKS that will restrict the app from running Google Analytics. But if you dont add certain frameworks you wont be able to compile the code.
Take a look at these links as these might be helpfull
https://developers.google.com/analytics/devguides/collection/ios/
https://developers.google.com/analytics/devguides/collection/ios/resources
mainly this one which is below
https://developers.google.com/analytics/devguides/collection/ios/v2/
Apart from this if you are working on Google Analytics for the first time. Let me tell you that you will only find your data on the Google Analytics Dashboard after some time. It may also take a day if its the first time.So be patient if have been able to compile the code and run the app. After the first time its quick. i.e. the data shows up much faster.
Finally, I have been able to do Google Analytics (GA) working as expected.
The problem was not due to any framework incompatibility, neither project build settings, nor plist option. I recreated the same configuration into another project to be sure.
From my point of view, the first problem I had was to try using the GA SDK v3 within an Xcode v4.6.3 while Xcode v5 is expected.
Then Downgrading the GA SDK version to 2 beta4 has not directly solved the problem because perhaps GA SDK's persistent data was kept in my app (by user default or core data).
#BhargaviShamukh, if you still have this issue, the way to solve it should be to clean the project (menu Product > Clean) and to uninstall the app from both simulator and device to be sure any GA SDK's data is deleted.
At least for me, this process has solved the problem.

iOS 5 Twitter API behaves differently in the Simulator vs real iOS device

I encountered this behavior when running an app on the simulator and on the iPad:
Sending tweet with picture attachment using TWTweetComposeViewController, on the Simulator I can send a very large picture file (>5MB). But when I run the same app on the iPad, the same picture file did not go through only the text message did. A smaller picture files, 200k for example, have no problem. I know 5MB is large for a tweet. But I just want to find out is this some type of bug?
The problem might be due to discrepancy between device and simulator . Please re-check it with the below links. I would suggest you to go through the following tutorial which I found best on web once:
http://iosdevelopertips.com/core-services/ios-5-twitter-framework-part-1.html
Plus, this one is also awesome with a lot of detail and simplified explanation from Ray. I follow his blog for same. http://www.raywenderlich.com/5519/beginning-twitter-in-ios-5

Resources