iOS - Google Analytics for one page - ios

I have created a game for iOS and I want to be able to track when people are playing.
By this, I simply mean I want to know how often people are opening the app (and thus find out if users are returning or playing it only once).
Because of this, I don't want to have to include the entire Google Analysics SDK in my project. Does anyone know if it's possible to make a request from in an iOS app (possibly using NSURLRequest?) to call Google Analytics and make it think a web page has been visited?
Thanks in advance.

Related

Is making a video calling and live broadcast app possible in Swift?

I am new to Swift and I want to integrate video calling in my app using Swift. I want to make a live broadcasting video app where one host will come live and other clients can join him/her.
I tried several third party apps like agora.io but it didn't work for me. Do you guys have a better suggestions?
Try quickblox. It is a very smart solution, it can manage everything for you, your only task is to present the UI and the buttons. It is relatively cheap, even free for low user count. We have used it to create an "intercom" like application
Quickblox website

I want camera permission to need to be granted only one time in a video networking - platform - issues with ios and safari

I want to be able to enable a user on a video networking web platform to only need to grant camera permission one time, and be able to have separate video chats with multiple users.Part of the 'event" will have multiple one to one video chats. There is a one to one video chat with one user. it ends. there is another 1 to one video chat with another user. It ends, etc.... As it is this permission is needed to be granted for each separate video chat. I am having this issue primarily with ios on safari. I am having someone else build this web platform and the person is not able to solve this issue with the video plug in they are using. They claim it is an issue with mac devices that cannot grant permission to particular websites. But I know that this issue has been solved with other networking platforms. Can I accomplish this with tokbox (vonage)? Or please tell me what video platform to use and the specific way to accomplish this. I am not a developer but will pass on exactly what you give me to my developer team. I am considering having the website be rebuilt with tokbox but first want to be sure that I can accomplish this. The website it being built with PHP but this issue is so sognificant that I might have it bilt from scratch in whatever way is needed. Thank you very much!!!! I know this issue is solveable as I've seen this on other platforms - Zoom and other video networking platforms like remo.. thanks!!!
The Agora web SDK requests the browser for camera and microphone permissions. Now remembering these permissions is done by the browser itself and not the JavaScript SDK.
As to answer how other platforms offer this is because those are native apps and not a mobile website. So they don't have to play by the rules of the browser. If you are interested in that, you can take a look at our IOS SDK.
https://docs.agora.io/en/Video/start_call_ios?platform=iOS

Different analytics for website and app with webview

I don't have a lot of experience with Google Analytics so sorry if it's an easy question.
At the moment, I have a website with Google Analytics. I am planning to do an app that will contain a webview with this website. Is there a way I can differentiate the analytics coming from the app and the ones coming from the website?
We now have some tracking coming from webviews but this is when someone opens the link of our website in other apps (like Mail, Twitter...).
I basically need a specific tracking for our specific app.
Thank you for your help!

How to track how much time other app is used?

i want to track how much time other apps in device are used by the user, i want track that time inside my app.for ex. i want track how much time user used the Facebook app, or WhatsApp or any other app.
is there any way to do this...please give any suggestions or example code or any other tutorials..
Thanks,
raki.
I think Apple don't allow tracking when you are out of your app, for tracking time and user activity in my apps, I use flurry.
You can track how long people use your app, sure. One popular way is via Google Analytics iOS SDK
For tracking other apps on the users device, that is simply not possible. You do not have access to other apps you have not developed yourself.
It cannot be done. Apple forbid apps trying to access things outside of their sandbox.

How did Google Music for iOS access data from another iOS App?

Today I downloaded the new Google Music app for iOS and it immediately had me signed in already. I assume they accomplished this using one of the other Google Apps on my phone. To keep this appropriate for StackOverflow, here's the question, specific and objective:
How (technically) can an app (like Google Music) authenticate a user using data from another app (like Google Search or Google Chrome)? I was under the impression that apps in iOS were entirely sand boxed.
I'm very curious in finding a technical explanation for this, so if someone could recommend a way to rephrase or retag the question, please feel free to edit or migrate.
iOS Keychain can be shared with your other apps via access groups, see this for example.

Resources