Post

Replies

Boosts

Views

Activity

Developing custom VPN adapter protocol
Hello all! From my customer got a question about ability to develop own VPN protocol adapter for customers own VPN logic on iPhone/iPad and maybe on MacOS. They using proprietary protocol that not in any list of public protocols. For this case got few questions: This protocol based on TCP socket, therefore all of traffic from must be redirected somehow into it and replies from servers forwarded back to device. What is the best way to do it? Which approach better to use for it: https://developer.apple.com/documentation/networkextension/app_proxy_provider?language=objc https://developer.apple.com/documentation/networkextension/packet_tunnel_provider?language=objc Is there any public examples of any of this approaches? Is there any extended public manuals or references of how it works on iOS? Will be there any troubles for submission at AppStore?
1
0
750
Nov ’22
Access original argc and argv from application delegate willFinishLaunchingWithOptions. How?
Hello all! Need to get access to the parameters of main function from application delegate method "willFinishLaunchingWithOptions". How it could be? Fond in ProcessInfo this functionality: NSArray* oArguments = [[NSProcessInfo processInfo] arguments]; But how to get original int argc and const char* argv[]? Or how to convert NSArray* to const char* argv[]?
1
0
960
Aug ’22
Get launch options at runtime. How?
Hello all! Is there any way to get launchOptions at runtime? When application already launched and working. It means not in the methods "willFinishLaunchingWithOptions" and "didFinishLaunchingWithOptions". Is this launchOptions, that passed into this application delegate methods, stored somewhere else? If yes - how to get them? My application is written on C++ and need to get independently when application is already running.
1
0
933
Jul ’22
iOS Geofence no launching app properly. Why?
Hello all! Right now developing application that should be starting by crossing geofence. Right now have strange problem. The application launching when some other application keeping CoreLocation active and gathering data on iOS 15, on iOS 13 all is working with delay, but working. The geofenge regions started for monitoring, there are presented icon on top bar. What is missed by me in this case? Is there working example?
0
0
485
Jul ’22
Keeping application in background after wake it up by Geofence event. How?
Hello all! My application required to be launched when Geofence event appeared. For now all is working - application launched by Geofence event, but only for 10-15 seconds. Is there any way to keep it working much longer? Is there any necessity to implement Background task object? For now in AppDelegate not defined background task, just actions that need for application functionality.
1
0
612
Jun ’22
Keep application always running. How?
Hello everyone! Got the question about how user might be prohibited of quitting application. The scenario is looking like company wants to see always where employee located. They need always monitoring GPS coordinates and avoid the situation when user killing application manually. Is there any way to disallow user ability to quit an application or restart it somehow automatically if it has quitted? Therefore some subquestions: How determine user killed application or it has killed by system? How to auto-run application at time of device start? Is there any way to run application like service/daemon? (previously there were no any such functionality maybe appeared now?) Or any other solution that might be simulating service behaviour? Is there any additional abilities for application developing if the app distributed under corporate account and not published for everyone via AppStore?
0
0
541
Jun ’22
Developing custom VPN adapter protocol
Hello all! From my customer got a question about ability to develop own VPN protocol adapter for customers own VPN logic on iPhone/iPad and maybe on MacOS. They using proprietary protocol that not in any list of public protocols. For this case got few questions: This protocol based on TCP socket, therefore all of traffic from must be redirected somehow into it and replies from servers forwarded back to device. What is the best way to do it? Which approach better to use for it: https://developer.apple.com/documentation/networkextension/app_proxy_provider?language=objc https://developer.apple.com/documentation/networkextension/packet_tunnel_provider?language=objc Is there any public examples of any of this approaches? Is there any extended public manuals or references of how it works on iOS? Will be there any troubles for submission at AppStore?
Replies
1
Boosts
0
Views
750
Activity
Nov ’22
Access original argc and argv from application delegate willFinishLaunchingWithOptions. How?
Hello all! Need to get access to the parameters of main function from application delegate method "willFinishLaunchingWithOptions". How it could be? Fond in ProcessInfo this functionality: NSArray* oArguments = [[NSProcessInfo processInfo] arguments]; But how to get original int argc and const char* argv[]? Or how to convert NSArray* to const char* argv[]?
Replies
1
Boosts
0
Views
960
Activity
Aug ’22
Get launch options at runtime. How?
Hello all! Is there any way to get launchOptions at runtime? When application already launched and working. It means not in the methods "willFinishLaunchingWithOptions" and "didFinishLaunchingWithOptions". Is this launchOptions, that passed into this application delegate methods, stored somewhere else? If yes - how to get them? My application is written on C++ and need to get independently when application is already running.
Replies
1
Boosts
0
Views
933
Activity
Jul ’22
iOS Geofence no launching app properly. Why?
Hello all! Right now developing application that should be starting by crossing geofence. Right now have strange problem. The application launching when some other application keeping CoreLocation active and gathering data on iOS 15, on iOS 13 all is working with delay, but working. The geofenge regions started for monitoring, there are presented icon on top bar. What is missed by me in this case? Is there working example?
Replies
0
Boosts
0
Views
485
Activity
Jul ’22
Keeping application in background after wake it up by Geofence event. How?
Hello all! My application required to be launched when Geofence event appeared. For now all is working - application launched by Geofence event, but only for 10-15 seconds. Is there any way to keep it working much longer? Is there any necessity to implement Background task object? For now in AppDelegate not defined background task, just actions that need for application functionality.
Replies
1
Boosts
0
Views
612
Activity
Jun ’22
Keep application always running. How?
Hello everyone! Got the question about how user might be prohibited of quitting application. The scenario is looking like company wants to see always where employee located. They need always monitoring GPS coordinates and avoid the situation when user killing application manually. Is there any way to disallow user ability to quit an application or restart it somehow automatically if it has quitted? Therefore some subquestions: How determine user killed application or it has killed by system? How to auto-run application at time of device start? Is there any way to run application like service/daemon? (previously there were no any such functionality maybe appeared now?) Or any other solution that might be simulating service behaviour? Is there any additional abilities for application developing if the app distributed under corporate account and not published for everyone via AppStore?
Replies
0
Boosts
0
Views
541
Activity
Jun ’22