Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I'm working on a custom iOS OpenVPN client.
I found this native OpenVPN client core sources https://staging.openvpn.net/openvpn3/
I can build it for the iOS platform.
How can I integrate this OpenVPNClient as an extension to set up an OpenVPN network for iOS devices from my application? Is it possible?
I think you should use the Network Extension framework to extend VPN capabilities of an iOS device. The documentation can be found at the link:
https://developer.apple.com/library/ios/documentation/NetworkExtension/Reference/Network_Extension_Framework_Reference/
As stated at the beginning of the linked document in order for your app to be able to use the above framework you need a special permission from Apple:
IMPORTANT
Most Network Extension classes require you to obtain an entitlement from Apple before using them in your code. To request entitlements, visit https://developer.apple.com/contact/network-extension.
It may or may not be possible to test the framework without such permission in your development devices, however it is unlikely that you can publish the resulting application to the market.
You could use NEPacketTunnelProvider api in Network Extension Framework.
The packet tunnel provider allow you to create your own vpn tunnel in iOS and the network traffic (raw ip packet) would be routed to your own vpn tunnel. But you may need to handle raw ip packet and integrate with openvpn3.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 4 years ago.
Improve this question
I was trying to publish my app in app store I finished every process they rejected with some reasons, Apps are reviewed on an IPv6 network. Please ensure that your app supports IPv6 networks, as IPv6 compatibility is required. I'm not aware of this thing can anyone explain me what is this and how to solve this problem because in my mobile I tested app it's working properly.
Since this June, Apple expects Apps to run on IPV6 networks. Apple has started rejecting Apps which do no comply with this.
NSURLSession, NSURLConnection, AFNetworking 3.x+ all support IPV6
If you are using any other network libraries, please use below link to test IPV6 support http://www.brianjcoleman.com/tutorial-how-to-test-your-app-for-ipv6-compatibility/
Once you have made the relevant changes and tested for IPV6 supp
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
How to turn off internet connection, bluetooth and WIFI programmatically xcode.
You can't. Apple does not allow 3rd party apps to change global system settings like that.
Legally there is no way to do it. Even somehow if you are manage to do it, Apple will reject your app while submitting to AppStore.
There is no API available to control cellular data,wi-fi,bluetooth within in an app , User have to go to settings to enable or disable cellular data,wi-fi and bluetooth.
This is not possible in iOS unless you jailbroke your device. Apple is not allowing any apps developer to access wifi/bluetooth. You can only check wifi/tooth is connected or not.
You can't do that using the iOS application. Apple not allowing it.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
I need to develop an mobile app in Android which will be used by few office people only and below are the requirements :
Generally in office work-space or meeting rooms we have WAP to access internet,which is connected to Router and then to Internet server.
Now the app should be able to communicate to WAP, Router to get their status.
app should be for mobile devices.
only registered users can use this app
only single app on each mobile
1st install the app and register with respective company before using it.
as of now app is for Android platform but in future may need same app for iOS mobiles.
I need suggestion/guidance on how design the app using before starting the code.
As of now i can think of using 2 design patterns i.e. Singleton and Factory Pattern (for User registration). Also i'm not sure in which language should i develop communication library so that it can be used cross-platform also.
Do we need to follow any client-server architecture for above app ?
Please throw some light on above.
Thanks,
Here is a good article about iOS Design Patterns:
http://www.raywenderlich.com/46988/ios-design-patterns
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
Now I know this question exists on stack overflow but not in the way I plan to use it.
I'm an IOS developer and I love being able to share internet from my phone to my iPad and Mac for when I travel. If i pay the extra $20 a month through AT&T for tethering I will lose my unlimited data.
One of the popular answers or "raised concerns" is that apple will not accept an app that enables tethering. Well the thing is I would just like tethering on my iDevice and if it works out I would post the project to github so other developers can enjoy the benefits of non-jailbroken tethering. Also I would not try to publish it to the app store, i know it would get rejected.
So my question is how do I write a tethering app, not like iProxy, but more like MyWi or TetherMe.
I'm pretty sure it's possible because apps similar to that have slipped through apples reviewal process before.
Tethering uses private APIs, so it would be rejected by the app store. Also, AT&T would know, app or no app, whether or not you were tethering.
Also, only the Settings app can change those sorts of settings (and considering the LTE toggle, it's doing quite a bad job of it). On a non-jailbroken phone, only Settings can change Settings.
Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 8 years ago.
Improve this question
I'm not trying to reproduce this at all, but I've just watched this video, and am wondering how is the wifi configuration sent to the weather station.
You can see it around 1:20.
From what I know, to access wifi configurations, you'd have to be jailbroken and use private APIs, and yet, Netatmo is available on the AppStore.
Thanks !
I've seen the video.. I don't know what exactly they are doing. But as I am also working on similar stuff for my company, I can suggest you to achieve the same. As in video, they connected exteral hardware with iPhone through USB interface. they must be having some wifi module in there hardware. through USB interface, may be they are requesting wifi settings of hardware from iPhone, & then are creating ad-hoc network. As they have access to firmware, they can configure any type of network they want using iPhone. They just have to have USB interface working properly. So here you are not accessing wifi settings of iPhone, but of external hardware. Let me know if more info needed, or any edits in my answer .:)
EDIT About Ad-hoc & Infrastructure mode... I was not focusing on that sorry. As I've already mentioned about ah-hoc, in case of infrastructure mode, the firmware(Inside external hardware) device can take wifi host address from iPhone (using ifaddrs), then request host for an IP. (Can be static or dynamic). Now it can inform about allotted IP to iPhone. All these happened using USB interface, and now as everything is set, we are good to go. Let me know if I am still missing some points ..:)