Can anyone explain how to integrate Google Analytics on iOS by swift without cocoapods? - swift

I've read Google's only swift guide for analytics and I got some errors. When I researched them people said Cocoapods method have some bugs. And how to integrate Google Analytics on iOS by swift without cocoapods?

I am not sure if Google Analytics for iOS will be able to provide you with all the needed analytics for a mobile app, but if you have decided this is the way to go then here is something that may help.
Below if a guide to setting up the Google Analytics SDK in iOS manually, it is a tutorial on the Ray Wenderlich site (which is always a great resource). It is for iOS 7 but should point you down the right path...
http://www.raywenderlich.com/53459/google-analytics-ios

Related

How to integrate Huawei Mobile Services (HMS) in Unity?

I've found a lot of guidelines on how to integrate HMS in my apps. But majority of them are different or using android studio. May I know which one is the latest guidelines to integrate HMS in my apps for Unity.
Also, I want to enable In-App-Purchase (subscription) for my apps as well.
Thanks in advance.
UPDATED
Currently I'm trying to implement In-App-Purchase for huawei. Huawei tech said that users need to signIn first before they can use IAP. But I received this error while testing signIn
How to obtain product info ? here
AFAIK you have two main options:
UDP SDK from Unity, which is the Unity official solution to HMS in Unity. However has been under maintenance for some days now.
Unity HMS Plugin from EvilMinds, an open source alternative that is already functional and includes supports to more HMS kits. Looks pretty promising for the future.
In any case you can still manually access HMS Android SDK directly using Unity SDK Android API.
Unity provides the HMS Plugin here: Unity Asset Store > Huawei HMS Core App Services
The README file contains information about development guides, API references. For more technical questions, please submit a ticket with Unity Customer Service.
Currently Unity does not support the In-App-Purchase (subscription) function. It will be planned in the future.
Update:
For the IAP error:
It is a null pointer. Please check for unassigned objects. If you cannot find anything, please delete project and install again cause sometimes these kind of things happening.

How can implement Flurry Analytics for Samsung Tizen TV?

I googled for Flurry Analytics but I didn't find any SDK for Tizen TV.
Please tell me that Flurry Analytics SDK is available for Tizen TV?
If SDK is not available then please suggest me is there any way to implement it by custom?
For Tizen, there is no available SDK like Flurry Analytics.
What do you want to do? Do you want to get the report for your apps? or, want to make SDKs for Tizen Apps?
Tizen TV currently supports Web applications developed using javascript only. After research on flurry documentation webpage, I didn't find any information about javascript-only integration.
I think that in this situation the only solution is to use some other analytics framework which has 'pure js' support. analytics.js seem to be some possibility after quick research.

Google Drive vs Google Doc for iOS?

I have an iOS app that uses the Google Docs List API to access and download spreadsheet data. I've done a basic test with upgrading my Google Docs account to Google Drive, and everything still seems to be working okay.
Based on the answer for this question Google Document List API and Google Drive SDK it looks like things will continue to work for awhile.
Are there any steps that mobile devs should be taking now to move to the new API? My main concern is that most of the developer docs so far are related to web apps and not mobile apps so requirements like registering for the chrome web store don't seem to fit. For example:
"Warning: Apps will not have any API access to files unless the app has been installed in Chrome Web Store. To test an app during development, you must first create a listing and install it."
Any guidance or suggestions would be appreciated.
Check this answer for the rationale behind the Chrome Web Store installation: https://stackoverflow.com/a/10476737/186674
Also, we are considering removing the installation requirement for the development and testing phase, we should have some updates soon.
iOS apps using the Documents List API should now update to using the Google Drive API and the newer Google APIs Client Library for Objective-C.
The new API and library are quite a bit easier to use and more efficient than are the older GData alternatives.

Google Analytics with MonoTouch crashes on device

I am trying to use Google Analytics with a MonoTouch application (iPhone). It works great on the simulator but crashes on startup on an actual iPhone.
This is apparently due to a bug in the XCode linker than doesn't allow libraries with Thumb and non-Thumb instruction sets to be linked together.
http://monotouch.net/Documentation/Troubleshoot
From what I can see, MonoTouch is compiled with non Thumb. The Google Analytics lib is compiled with Thumb.
Has anyone figured out a workaround for this?
Clarification - We are using GA to track the page & event views of our own app. We are not writing an app to query the GA API.
Hello i've done some work with the Analytics API
http://dl.dropbox.com/u/2058130/Analytics.zip
here you are the DLLs i used, this are already monotouch precompiled DLL's you need to import to your project the 3 of them in order to use it
here is the documentation of the dll
http://code.google.com/apis/analytics/docs/gdata/gdataLibraries.html
Hope this helps
Alex
There is no workaround at this time, you should "star" this issue to let Google know its important for you:
http://code.google.com/p/gdata-issues/issues/detail?id=1705
As of version 1.1, the Google Analytics SDK provides a nothumb version of the library.

Google Analytics within iPhone SDK 4 Built App

Three questions for iPhone developers using Google Analytics within their apps for tracking use of their apps:
Will using Google Analytics cause us to be in breach of the terms and conditions of the Apple SDK 4 for developers?
If the answer to #1 is YES, then what are we -- as iPhone developers -- allowed to use to track usage of our apps?
Has anyone who is using the iPhone SDK 4 built their apps that included the Google Analytics library and found it not to work? I'm being told by my developer that it doesn't work when you build with a Base SDK set to iPhone Device 4.0 and and an iPhone OS Deployment Target set to iPhone OS 3.0.
Thanks in advance!
Answers to your questions:
Yes, with the current API and data collection it looks like it is not compliant with the terms of the SDK. I am using both Flurry and Google in my apps because they offer different feature sets that I need. While Flurry has been very vocal that they are working with Apple to resolve the terms of the SDK, Google hasn't said a peep. So, I'm nervous about using Google but not Flurry, because I think Flurry will change their data gathering if Apple presses hard enough. In any event, I have made sure that I can rip out either analytics service quickly if Apple rejects my app.
My understanding is that it's fine to collect your own device data, as long as you don't report it to others. You especially don't want to share any data that would hint at new devices. That's what got Flurry in trouble. Just remember that you are under NDA with Apple, so anything not publicly announced is between you and Apple. There are also rules about what you do with Device IDs, so make sure you understand those as well.
I am using Google analytics on iOS 4, with deployment target set to 3.0. While I no longer have a device to test against 3.0, it is deployed on the AppStore and seems to be working. (No crash reports)
Louie, I encourage you to take a look at Localytics, our app analytics service. Our service is real-time, we don't sell data to third parties and we release the source code to our libraries.
We also have an updated library that works better with the multitasking or fast-user switching in iOS 4: http://www.localytics.com/blog/
Check out www.flurry.com - they have an awesome service!
They allow you to add "events" so you know not only how many times the apps been downloaded, opened, removed... but you know what buttons and areas they are navigating to once the app is open.
If your app uses core location, you can even see where the users are on a map. Very cool!
Good luck my friend!