This plugin allows you to do an Apple Sign In in iOS 13+
Platforms:this plugin only works with iOS 13+ and iOS Simulator 13+
type(string)(optional) can be nil, "email"(returns .email on initLis note this could be personal or apple email),"name" ( returns .fullName in initLis which is a table that returns .fullName.givenName(string aka first name) and .fullName.familyName(string aka Last name)), and "nameAndEmail" (returns name and email)
listener(function) listener which will return events. An addition to the events in type above: .isError(boolean was login successful), .error(string will return error if isError is true), and .user(string user ID will return if login was successful)
appleSignIn.getCredentialState(userId,listener)--Returns the credential state for the given user
userId(string) user id (found from .user in )
listener(function) type = "revoked", "notFound", "authorized", or "transferred"