Particle Auth Core

Swift Platforms CocoaPods Compatible License

This repository contains Auth Core sample source. It supports Solana and all EVM-compatiable chains now, more chains and more features coming soon! Learn more visit Particle Network.

Prerequisites

Install the following:

Xcode 14.1 or higher

Note

Please note that the SDK supports ios-arm64 (iOS devices). We currently do not support simulators. To perform testing, you will require an actual iPhone device.

Xcode version 14.1 or higher
ParticleAuthCore 1.3.7
ParticleMPCCore 1.3.7
AuthCoreAdapter 1.3.7
Thresh 1.3.7

🧂 Update Podfile

post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
    config.build_settings['BUILD_LIBRARY_FOR_DISTRIBUTION'] = 'YES'
      end
    end
   end

Make sure that your project meets the following requirements:

Your project must target these platform versions or later:

iOS 14

🔧 Getting Started

  • Clone the repo. open Demo folder.
  • Replace ParticelNetwork.info with your project info in the Dashboard.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>PROJECT_UUID</key>
	<string>YOUR_PROJECT_UUID</string>
	<key>PROJECT_CLIENT_KEY</key>
	<string>YOUR_PROJECT_CLIENT_KEY</string>
	<key>PROJECT_APP_UUID</key>
	<string>YOUR_PROJECT_APP_UUID</string>
</dict>
</plist>
  • Add Privacy - Face ID Usage Description to your info.plist file

💿 Build

pod install --repo-update

🔬 Features

  1. Auth login with JWT.
  2. Logout.
  3. Sign.
  4. Change master password.

📄 Docs

  1. https://docs.particle.network/developers/auth-service/core/ios

💼 Give Feedback

Please report bugs or issues to particle-ios/issues â—Š You can also join our Discord.