Skip to content

solarlabsteam/solar-dvpn-community-core-ios

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SOLAR dVPN Community Core for iOS

This project contains an application for iOS, which is made as a server with a webView.
API documentation is here.

Building:

  • Clone this repo.
  • Open project in Xcode.

Target set up:

  • In SOLARdVPNCommunityCoreiOS target:
    • Set Developer Team.
    • Set your Bundle Identifier.
  • In SOLARAPI target:
    • Set Developer Team.
    • Set your Bundle Identifier as {your_bundle_id}.SOLARAPI.
  • In WireGuardNetworkExtension target:
    • Set Developer Team.
    • Set your Bundle Identifier as {your_bundle_id}.network-extension.

Network extension set up:

  • Open Keychain.swift, set appGroupId as group.{your_bundle_id}.
  • Open SecurityService.swift, set accessGroup as group.{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.

Additional:

  • Set your backend endpoint in ClientConstants.swift file.

UI integration:

  • Write your own UI.
  • Add it to the project.
  • Set main file name in ViewController.swift.

In-App Purchase:

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.

Troubleshooting:

Do not hesitate to create an issue for our team.

About

SOLAR dVPN Community Core for iOS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages