Skip to content

Reachfive Identity iOS SDK for Google Login

License

Notifications You must be signed in to change notification settings

ReachFive/reachfive-ios-google

Repository files navigation

Reach5 Logo

CircleCI Download

ReachFive Identity iOS SDK for Google Login

Installation

This project is dependent on the primary Reach5 component found at https://github.com/ReachFive/reachfive-ios

Cocoapods

Add the following line to your Podfile:

pod 'Reach5Google'

Swift Package Manager

Open the following menu item in Xcode:

File > Add Package Dependencies...

In the Search or Enter Package URL search box enter this URL:

https://github.com/ReachFive/reachfive-ios-google.git

Then, select the dependency rule and press Add Package.

Or directly add it to the dependencies value of your Package.swift or the Package list in Xcode

dependencies: [
    .package(url: "https://github.com/ReachFive/reachfive-ios-google.git", .upToNextMajor(from: "7.0.0"))
]

XCode

Open the project folder to view it as a package project, not the .xcodeproj or .xcworkspace which makes them seen as a Pod project

Usage

Refer to the public documentation to install the SDKs and to initialize your ReachFive client.

The basics are:

  • Configuration:
let reachfive: ReachFive = ReachFive(sdkConfig: sdkConfig, providersCreators: [GoogleProvider()])
  • Initialisation:

Call this method (that makes a network call) inside the corresponding method of UIApplicationDelegate

reachfive.application(application, didFinishLaunchingWithOptions: launchOptions)

Documentation

You'll find the documentation of the methods exposed on https://developer.reachfive.com/sdk-ios/index.html.

Changelog

Please refer to changelog to see the descriptions of each release.

License

MIT © ReachFive