This project contains an application for iOS, which is made as a server with a webView.
API documentation is here.
- Clone this repo.
- Open project in Xcode.
- In
SOLARdVPNCommunityCoreiOS
target:- Set
Developer Team
. - Set your Bundle Identifier.
- Set
- In
SOLARAPI
target:- Set
Developer Team
. - Set your Bundle Identifier as
{your_bundle_id}.SOLARAPI
.
- Set
- In
WireGuardNetworkExtension
target:- Set
Developer Team
. - Set your Bundle Identifier as
{your_bundle_id}.network-extension
.
- Set
- Open
Keychain.swift
, setappGroupId
asgroup.{your_bundle_id}
. - Open
SecurityService.swift
, setaccessGroup
asgroup.{your_bundle_id}
.
Make sure your team supports Network Extensions. Make the following steps if it does not.
- Go to your account page on the developer web site.
- Click Identifiers.
- Click on your app’s App ID.
- Click Edit.
- Enable the Network Extensions checkbox.
- Rebuild your distribution profile so that it picks up the entitlement change from your App ID.
- Set your backend endpoint in
ClientConstants.swift
file.
- Write your own UI.
- Add it to the project.
- Set main file name in
ViewController.swift
.
If you wish to use In-App Purchase in your application, make the following steps.
- Set up your RevenueCat project.
- Set your purchase API key in
ClientConstants.swift
file. - Use our Purchase API.
Do not hesitate to create an issue for our team.