Track iOS App’s Mobile data and WiFi usage - ios

I am working on a mini project to track iOS app’s mobile data and WiFi data. I saw some apps doing that through VPN , but I had no luck with NSExtentions.
Any reference is appreciated. I would like to collect device level data which includes all apps . Similar to the stats available in
Settings-> Mobile data
Apart from native iOS client , other apps listed here also achieve this. I know its possible through VPN but i could not find any development documents related to it. Is there any other method apart from VPN?

Related

Separate iOS apps rely on each other's mobile data permission

I have two iOS apps: App One (com.example.appone) and App Two (com.example.apptwo). Both apps use Reachability to detect if the app can access the Internet.
Both apps work fine on WiFi but I am experiencing some very weird behaviour when using them on mobile data. If mobile data is enabled in Settings for one of the apps but not the other, neither of them is able to use it.
Here's a summary of the mobile data permissions and the ability of the apps to use mobile data.
AppOne not allowed, AppTwo not allowed, AppOne and AppTwo unable to use mobile data
AppOne allowed, AppTwo not allowed, AppOne and AppTwo unable to use mobile data
AppOne not allowed, AppTwo allowed, AppOne and AppTwo unable to use mobile data
AppOne allowed, AppTwo allowed, AppOne and AppTwo apps able to use mobile data
As far as I understand, permissions for other apps should not affect other apps' ability to use mobile data. Is this a bug in iOS or have I got something wrong here?
Note: This issue does not occur when I deploy to my phone from Xcode, only when the apps are installed from the App Store.
After talking to Apple Technical Support, I learned that the issue was caused by both apps having the same executable UUID. Apparently the cellular data authorization system uses the executable UUID.
The solution here is to make sure there is something (source file, build setting, etc.) that is different between different apps.

Is there an API that lets one sync an iOS app with its OSX counterpart via USB?

I am developing an iOS app, which may need to sync a large amount of data with its OSX counterpart app, and for the use case in which the app would be used there may not be an internet connection available to connect either of the devices (iOS device & Mac).
Is there an official apple api that lets one sync data between an iOS app, and its OSX counterpart, without having to use the internet or iCloud ?
As far as I can tell, short of joining the MFI program, there isn't a way.
If you don't mind the user dragging some documents around, then you can create documents which can be accessed via iTunes: http://www.raywenderlich.com/1948/itunes-tutorial-for-ios-how-to-integrate-itunes-file-sharing-with-your-ios-app
What makes you think you need an Internet connection for WiFi?
If you are close enough for a USB cable, just create a WiFi network from the Mac (WiFi icon in the menu bar, "Create connection..."). Use bonjour to discover services, and then the apps can talk to each other.

Bluetooth connectivity using IOS device

Hi i just want to clarify few things after i went through all the details by googling whole day.
Firstly i want to know Can we list all the devices*(including Android,blackberry etc)*using bluetooth connectivity in our ios device?
If yes how do we do??Once listing out the device can we able to connect to it*(including Android,blackberry etc)* ?According to my knowledge we cant connect to any other device using bluetooth as apple wont support.But is there any way can we connect it?Just for my knowledge purpose.
Secondly i went through framework called BluetoothManager where i saw a sample code where it displays a list of devices when bluetooth is ON, but i didnt see IOS devices listing when we use Bluetooth Manager.
So can anyone tel me For what exactly Bluetooth manager is used for and can we connect with ios device to any other Devices and tranfer files using this Framework?Is it possible?
I know about Gamkekit Framework where it is used to connect between two or more IOS devices.
But i am eager to know Other than Gamekit there are any other way where we can connect to other devices using bluetooth.
Please anyone would tel me regarding would be very helpfull for me and others as well.Looking forward to for the answers.
There are three frameworks available in iOS using which you can develop the bluetooth applications:
GameKit: This is the publicly available framework . But using this you can only establish and communicate between only two iOS device. So this framework having its own limitations .
BluetoothManager: This is private framework .I used this framework to discover the non iOS devices . I have established the connection also . But cant able to do the data exchange. I think it is still under development. For the reference you can refer this link
CoreBluetooth: This is also the public framework. This can only discover BLE enabled devices . I have successfully used this to transfer the data between the BLE enabled devices.

Connect iPhone app to access point

I'm trying to create an app that scans available wifi networks and if it is available accesses.
It's possible?
iOS 5 it is possible to scan the network list using private API on a jailbroken device only. This blog post states the following:
Last year Apple has blocked wifi scanners from App Store, however till
iOS5 it was still available for private usage via WiFiManager bundle.
In iOS5, WifiManager bundle no more exists however 80211 functions are
still available via IPConfiguration bundle.
The API you linked provides an open-source tool Stumbler which seems like something you were seeking. The tool is claimed to work under iOS 5.

iTunes Connect statistics by iOS device

I am wondering if it's possible to get information on which iOS device (iPhone, iPad, iPod) my applications were downloaded?
Obviously no one is looking for download statistics for their apps.
I have found the answer from Apple technician that as of now there is now way to drill-down to device level in statistics. But they are looking to implement this feature.
Also the iTc Mobile app is more powerful than web based instance.
You can either by building your own iTunes Connect app or using a third party like AppFigures.
Currently there is no way of getting this information from within iTunes Connect.
I'm also looking for iOS version stats, but can't find any anywhere.

Resources