Post

Replies

Boosts

Views

Activity

VPN or proxy connection only between app and server macOS
Hi. I am creating an app for macOS, my app have WKWebView and I need to send traffic through a VPN server or proxy if the website is blocked, I know that I can't set proxy for WKWebView only one way which I see It is to create VPN Connection for the whole system, but this way doesn't look good for me. My question how I can create VPN or proxy connection only between the app and server, not for the whole system only for the app, this is possible? If yes give me please advice on how to do that, what I can use. Thank you. Regards, Ihor.
1
0
792
Mar ’21
Capabilities of the custom network protocol macOS
Hi. I am want to try to create a custom network protocol for a VPN connection, this is my first experience with a task like this, and I can't fully understand the whole capabilities of a custom network protocol. If the app creates a connection between the system and my VPN server I can block connection from other apps or allow send traffic only for my app through the VPN server. I ask this because send traffic from the whole system through a VPN server is very expensive for me. Or maybe exist another way how send traffic only from one app through a VPN or a proxy server?
2
0
738
Mar ’21
Exclusive ( VPN or proxy )connection between app and server
Hi, references to my past question language https://developer.apple.com/forums/thread/675312 I examine the answer but I think this way not for me, I read the information from a conference WWDC15 “What’s New in Network Extension and VPN”, Link: language https://docplayer.net/24027619-What-s-new-in-network-extension-and-vpn.html and did find a few solutions but not sure that it will be a good choice. My goal is to create a connection (VPN or proxy) between the app and server on macOS. App gives access to web sites and “IF” web site is a blocked application enable VPN, but if user using my app and for example, an app like torrent all files which download using torrent will be to go through my VPN server, I don’t want that, therefore I need connection only between app and server because an app like torrent can kill me. For this solution, if I understand correct exist few ways: NEVPNManager - not good because I can’t create an exclusive connection and all traffic from macOS will go through the server, this is a bad way. NETunnelProvider (NEPacketTunnel Provider or NEAppProxy Provider) - looks good for my situation but this is an “Enterprise solution” and I don’t fully understand what does it mean. I examine the question about “per-app VPN” but this task needs an MDM server(not for me), and I think “NEPacketTunnel Provider or NEAppProxy Provider” also needs MDM server? Because from WWDC15 I saw the label “Per-App VPN” for both. If I wrong please explain what mean “Enterprise solution” in this case, need to create some server-side or something else? NEFilterProvider - not for me because this is a “content filter”, my app didn’t filter content, the app gives access to blocked content. From this answer You would have to move the proxy functionality out to the system level and either create a NEAppProxyProvider or use the System Configuration proxy settings to route traffic locally to a process so it can decide where the traffic needs to go. Both are a lot of work and do seem like a bit of overkill for this action. I would try looking into NEFilterDataProvider as a first step here. if I understand correctly my way is to use the SystemConfiguration proxy system but how does this Programmatically from the app? And in this case, all from macOS will be go through the server I am right or not? Or use the second way to move the proxy functionality out to the system level, but how do this? And in this case, I can create an exclusive connection between only my app from macOS and the server? I do not fully understand this case.
4
0
593
Mar ’21
WKWebView load own history
I use WKWebView inside the app for WebSites. And I need to save the history of the back-forward list of WKWebView and then when the app was closed or any other situation I want to load history back from the database or another place. I can't find how to do that with WKWebView capabilities. This is possible or needs to create self-realization of this functionality?
1
0
649
Mar ’21
Limitation of NEFilterDataProvider
I am want to implement NEFilterDataProvider for macOS, but before starting to examine the realization of NEFilterDataProvider, I have found info that says: NEFilterControlProvider and NEFilterDataProvider only available for supervised devices and local development builds. I a little confused, this limitation only for iOS or for both platforms? Reference to info: https://github.com/lionheart/openradar-mirror/issues/19411 If this true, when I finished my own application, only supervised devices can use my application I am right?
6
0
741
Mar ’21
The correct realization of NEFilterDataProvider
I am examining how to correctly realize NEFilterDataProvider follows this documentation. https://developer.apple.com/library/archive/samplecode/SimpleTunnel/Introduction/Intro.html I don’t have Xcode 8.0 therefore I can’t run this code from the documentation I observe that this project contain framework SimpleTunnelServices I don’t fully understand what do this framework I was understood that this framework needs to realise custom network protocol, consequently, I have thoughts that for NEFilterDataProvider need custom network protocol, I am right? Or I incorrectly understand this example? At the current time, the VPN of the app based on IPSec protocol and I want to extend the functionality add NEFilterDataProvider but when I did use documentation from Apple, I have a little confused, are you can correct my thoughts about that to correct way? If in short can I create NEFilterDataProvider based on IPSec protocol or I must realize a custom Network Protocol?
2
0
554
Mar ’21
App Store Review Guidelines, 5.1.1 (vii) Data Collection and Storage - applies to WKWebKit?
Hello. I examine App Store ReviewGuidelines - https://developer.apple.com/app-store/review/guidelines/ and subdivision item 5.1.1 Data Collection and Storage, item (vii) says that: (vii) SafariViewController must be used to visibly present information to users; the controller may not be hidden or obscured by other views or layers. Additionally, an app may not use SafariViewController to track users without their knowledge and consent. This rule applies only to SafariViewCntroller or to WKWebView too? I ask this because both have the same technology and used for the same things. Regards, Ihor.
0
0
612
Apr ’21
Which UI framework will be better for developing user interface, UIKit or SwiftUI [closed]
Please help me understand what will be better for the complex app for the Apple platform I read a few articles about UIKit vs SwiftUI and quoted one of the articles <You can choose UIKit if you want maximum control over how your app looks. > this phrase is a little confused me. I know about widgets, rendering ideas, minimum iOS version, live preview, and speed of development, I am not worried about this stuff. This question is easy to get an answer to but with the complex app it's a big problem, I will try to focus on key points for a more accurate representation of the problem. My requirements for the app are: Future supporting, ideally one app for iOS and Mac OS platform( exclude audience that prefers Mac platform for work, UI should be different). Maximum UI control, I mean animation and interaction, the application will be huge. Classic UI like in Apple News, Podcasts, App Store. Complex architecture like VIP. I don’t have enough experience with SwiftUI, but can say that can do all that I want using UIKit, my one complex example with SwiftUI and UIKit was 3D Carousel, and I can say that this is easy using SwiftUI, but it was only one complex stuff which I tried and that’s it In short form, my question is: can I do any interaction and most of the animation using SwiftUI, because I hope in another interaction like DB, etc it will not be a problem.
6
0
747
Jul ’22
Universal Link, AASA file component syntax wrong
I correctly have created Universal Link on iOS side and also successfully upload it to the domain. Apple Validate service shows me that all work fine but I can't open specific links because the syntax of the component wrong My file: { "applinks": { "details": [ { "appIDs": [ "K6789HNH.com.example-app" ], "components": [ { "/": "/#/market/lettings" }, { "/": "/#/market/lettings/*" }, { "/": "/#/market/acquisitions" }, { "/": "/#/market/acquisitions/*" } ] } ] }, "webcredentials": { "apps": [ "K6789HNH.com.example-app" ] } } Example of links: https://example.com/#/market/lettings/49830?view=grid https://example.com/#/market/acquisitions/50134 I follow the Apple example of components https://developer.apple.com/videos/play/wwdc2019/717/ time code 7:23 - 9:00 Image from the example above https://i.postimg.cc/MHtt9Gpz/Screenshot-2022-08-16-at-2-45-51-PM.png What is my syntax problem with components?
1
0
1k
Aug ’22