This is a sample project to integrate with CircleProgrammableWalletSDK
- Bookmark
Sign up for the Circle Developer account here: https://console.circle.com/signup
Within the Circle Developer account, you can create and update API Keys, subscribe for activity notifications, view your API logs and more! Anyone can sign up for a Circle Developer account within minutes. All you need is your name, email and password!
Install Apple’s Xcode development software: Xcode in the Apple App Store.
CocoaPods is a dependency manager for iOS projects. Install CocoaPods by Homebrew. (suggestion)
Check if Homebrew is installed:
$ brew
How to install Homebrew in MacOS: Link
- Clone this repo
- Open project folder
$ cd Sample\ App/
- Run
$ pod install
to installCircleProgrammableWalletSDK
- Open the
.xcworkspace
file (white one) in the finder.
Run
$ pod update
for SDK updating. (Optional)
-
Select a simulator as run target
-
Set your
AppID
from simulator, and it will be stored in database.
-
(Optional) Setup configs programmatically
- Set the
endPoint
in theAuthScreenView.swift
- Set the
appId
in theAuthScreenView.swift
- Set the
-
(Optional) Auth configs setup
Just set up the social login you want to use below:
- [Apple] Update the App's Bundle Identifier to yours
- [Google] Update
Info.plist
file to add your OAuth client ID and a custom URL scheme based on the reversed client ID. Reference: Get started with Google Sign-In for iOS - [Facebook] Replace the APP-ID, CLIENT-TOKEN and APP-NAME of
Info.plist
with your Facebook application configurations. Reference: Facebook Login for iOS - Quickstart