All Projects → twogate → Cordova Plugin Sign In With Apple

twogate / Cordova Plugin Sign In With Apple

Licence: mit
A native-implemented plugin of Sign in with Apple // Thanks to your contribution! // Cordova>=8 iOS>=13

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Cordova Plugin Sign In With Apple

Cordova Plugin Firebase
Cordova plugin for Google Firebase
Stars: ✭ 997 (+1649.12%)
Mutual labels:  cordova
Platform
Platform agnostic core - Web, Desktop, Mobile
Stars: ✭ 47 (-17.54%)
Mutual labels:  cordova
Yesterday I Learned
Brainfarts are caused by the rupturing of the cerebral sphincter.
Stars: ✭ 50 (-12.28%)
Mutual labels:  apple
Fixmystreet Mobile
Cordova application for making reports to FixMyStreet
Stars: ✭ 40 (-29.82%)
Mutual labels:  cordova
Blinkid Cordova
ID scanning for cross-platform apps built with Cordova and Phonegap.
Stars: ✭ 44 (-22.81%)
Mutual labels:  cordova
Sentry Cordova
The official Sentry SDK for Cordova
Stars: ✭ 49 (-14.04%)
Mutual labels:  cordova
Aurelia
Aurelia 2, a standards-based, front-end framework designed for high-performing, ambitious applications.
Stars: ✭ 995 (+1645.61%)
Mutual labels:  cordova
Go Apns2
Go package for HTTP/2 Apple Push Notification Service.
Stars: ✭ 53 (-7.02%)
Mutual labels:  apple
Angular Toolkit
Angular Schematics and Builders for `@ionic/angular` apps.
Stars: ✭ 45 (-21.05%)
Mutual labels:  cordova
Wwdc
The unofficial WWDC app for macOS
Stars: ✭ 8,137 (+14175.44%)
Mutual labels:  apple
Cordova Firefoxos
[DEPRECATED] Apache Cordova firefoxos
Stars: ✭ 41 (-28.07%)
Mutual labels:  cordova
Xiaomi Ruby 15.6 Uma Only
macOS Big Sur on XiaoMi Ruby 15.6 (Opencore)
Stars: ✭ 44 (-22.81%)
Mutual labels:  apple
Amazon Fresh Whole Foods Delivery Slot Finder
A Mac tool that finds available delivery slots for Amazon's Whole Foods delivery and Amazon Fresh services
Stars: ✭ 1,048 (+1738.6%)
Mutual labels:  apple
Grocer
Pushing your Apple notifications since 2012.
Stars: ✭ 1,005 (+1663.16%)
Mutual labels:  apple
Cordova Plugin Tensorflow
On-device image recognition via TensorFlow/Inception. For Cordova/PhoneGap.
Stars: ✭ 51 (-10.53%)
Mutual labels:  cordova
Quasar Awesome
🎉 A list of awesome things related to Quasar
Stars: ✭ 995 (+1645.61%)
Mutual labels:  cordova
Rxswift To Combine Cheatsheet
RxSwift to Apple’s Combine Cheat Sheet
Stars: ✭ 1,040 (+1724.56%)
Mutual labels:  apple
Framework7 Plugin 3d Panels
Framework7 plugin to add 3d effect for side panels
Stars: ✭ 56 (-1.75%)
Mutual labels:  cordova
Kaichronicles
Lone Wolf game books player
Stars: ✭ 52 (-8.77%)
Mutual labels:  cordova
Cordova App Harness
[DEPRECATED] Apache Cordova app harness
Stars: ✭ 49 (-14.04%)
Mutual labels:  cordova

cordova-plugin-sign-in-with-apple

see also: Official Documentation

This plugin only supports iOS >= 13.

Installation

Plugin installation

cordova plugin add cordova-plugin-sign-in-with-apple

or

cordova plugin add https://github.com/twogate/cordova-plugin-sign-in-with-apple.git

Usage

You should enable Sign in with Apple capability in Xcode. (project file -> Capabilities Tab -> Turn on "SignIn With Apple")

window.cordova.plugins.SignInWithApple.signin(
  { requestedScopes: [0, 1] },
  function(succ){
    console.log(succ)
    alert(JSON.stringify(succ))
  },
  function(err){
    console.error(err)
    console.log(JSON.stringify(err))
  }
)

Options Example

  • requestedScopes is an array of requested scopes.
    • 0: FullName
    • 1: Email

Success Callback Data Example

Based on ASAuthorizationAppleIDCredential.

Failure Callback Data Example

  • error: string "ASAUTHORIZATION_ERROR"
  • code: string 1001
  • localizedDescription: string "The operation couldn’t be completed. (com.apple.AuthenticationServices.AuthorizationError error 1001.)"
  • localizedFailureReason: string ""

Error Type

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].