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.
Install the following:
Xcode 15.0 or higher
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 | 15.0 or higher |
---|---|
ParticleAuthCore | 2.0.4 |
ParticleMPCCore | 2.0.4 |
AuthCoreAdapter | 2.0.4 |
Thresh | 2.0.4 |
From version 1.4.0, all SDKs have been adapted to Apple's privacy requirements.
The following third-party SDKs require the use of specific versions.
pod 'SwiftyUserDefaults', :git => 'https://github.com/SunZhiC/SwiftyUserDefaults.git', :branch => 'master'
pod 'SkeletonView', :git => 'https://github.com/SunZhiC/SkeletonView.git', :branch => 'main'
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
- 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
pod install --repo-update
- Auth connect with Social(google, apple, facebook ...), OTP Login(email and phone) and JWT.
- Disconnect.
- Sign.
- Change master password.
Please report bugs or issues to particle-ios/issues ◊ You can also join our Discord.