All Projects → appwise-labs → PhoneVerificationController

appwise-labs / PhoneVerificationController

Licence: MIT license
A nicer UI for FireBase phone authentication.

Programming Languages

swift
15916 projects
ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to PhoneVerificationController

friendsmap
Basic Vue.js app with FirebaseUi auth
Stars: ✭ 28 (-6.67%)
Mutual labels:  firebase-auth
rust-phonenumber
Library for parsing, formatting and validating international phone numbers.
Stars: ✭ 99 (+230%)
Mutual labels:  phone-number
food-order-app
Simple Food Ordering Website (NodeJS, ExpressJS, MongoDB, Bootstrap) with auto deployment
Stars: ✭ 43 (+43.33%)
Mutual labels:  firebase-auth
gatsby-firebase-simple-auth
Gatsby Starter with Firebase simple auth workflow and private routes
Stars: ✭ 64 (+113.33%)
Mutual labels:  firebase-auth
nextjs-firebase-authentication
⚠️ DEPRECATED! Example Next.js Firebase authentication application using iron session
Stars: ✭ 28 (-6.67%)
Mutual labels:  firebase-auth
static-calltracking
Скрипт подмены номеров для статического коллтрекинга
Stars: ✭ 18 (-40%)
Mutual labels:  phone-number
Faker
A library for generating fake data such as names, addresses, and phone numbers.
Stars: ✭ 231 (+670%)
Mutual labels:  phone-number
BookRentApp-Chapter3
An app where you can rent some books!
Stars: ✭ 11 (-63.33%)
Mutual labels:  firebase-auth
disposable-phone-numbers
A list of disposable phone numbers
Stars: ✭ 35 (+16.67%)
Mutual labels:  phone-number
Chatify
A Chat Application in Flutter using Firebase. Integrated Agora Video Call SDK to communicate over video call
Stars: ✭ 76 (+153.33%)
Mutual labels:  firebase-auth
mvp-sample
Demonstrates how to implement MVP (Model View Presenter) pattern using Kotlin, RXJava, Retrofit, Dagger and DataBinding
Stars: ✭ 35 (+16.67%)
Mutual labels:  firebase-auth
uMe
Online Chatting Application (Android) || Messaging App || Firebase
Stars: ✭ 138 (+360%)
Mutual labels:  firebase-auth
miracle-basketball
miracle-basketball.firebaseapp.com/
Stars: ✭ 29 (-3.33%)
Mutual labels:  firebase-auth
flutter otp
A Flutter package for iOS and Android for sending and verifying OTP to a Phone number.
Stars: ✭ 59 (+96.67%)
Mutual labels:  phone-number
GroundLevel-firebase-es
[ANCHORED] Stencil for operational web apps
Stars: ✭ 24 (-20%)
Mutual labels:  firebase-auth
FirebaseAI-Android-Chat-App
A simple firebase enabled chat app. SMS & Email Password Authentication enabled.
Stars: ✭ 38 (+26.67%)
Mutual labels:  firebase-auth
fire-drill
Find, Edit, Add, Remove, Import, Export, and Report on your Firebase data
Stars: ✭ 58 (+93.33%)
Mutual labels:  firebase-auth
travel treasury landing
Vue.js landing page connected to firebase auth for collecting user signups
Stars: ✭ 18 (-40%)
Mutual labels:  firebase-auth
Firecdn
The Low Latency CDN Powered by Firebase
Stars: ✭ 20 (-33.33%)
Mutual labels:  firebase-auth
firebase id token
A Ruby gem to verify the signature of Firebase ID Tokens.
Stars: ✭ 138 (+360%)
Mutual labels:  firebase-auth

PhoneVerificationController

Version License Platform Swift version

Screenshots Screenshots Screenshots Screenshots

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

CocoaPods

CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:

$ gem install cocoapods

To integrate PhoneVerificationController into your Xcode project using CocoaPods, specify it in your Podfile:

use_frameworks!

pod 'FireBase/Auth'
pod 'PhoneVerificationController'

Note that you'll need to add FireBase/Auth as well (we can't depend on it as it's a static framework). Then, run the following command:

$ pod install

Usage

Follow the first 2 steps for Firebase authentication on iOS as documenteded here. PhoneVerificationController will handle the rest, as long as you invoke it using:

import FirebaseAuth
import PhoneVerificationController

let configuration = Configuration(requestCode: { phone, completion in
	PhoneAuthProvider.provider().verifyPhoneNumber(phone, completion: completion)
}, signIn: { verificationID, verificationCode, completion in
	let credential = PhoneAuthProvider.provider().credential(withVerificationID: verificationID, verificationCode: verificationCode)
	Auth.auth().signIn(with: credential) { _, error in completion(error) }
})
let vc = PhoneVerificationController(configuration: configuration)
vc.delegate = self
present(vc, animated: true)

You'll receive a callback if the verification succeeds, or is cancelled.

Authors

License

PhoneVerificationController is available under the MIT license. See the LICENSE file for more info.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].