@invertase/react-native-apple-authentication
Advanced tools
Comparing version
@@ -5,2 +5,20 @@ <!-- markdownlint-disable MD024 MD034 MD033 --> | ||
## 2.1.6 | ||
- fix: default branch is now main (#244, thanks @mikehardy) | ||
- docs(example, android): include logos in all example buttons (#237, thanks @mikehardy) | ||
## 2.1.5 | ||
- fix(android): Updates to recommended way of importing context (#236, thanks @AndresPerezTesela!) | ||
## 2.1.4 | ||
- fix(android): use function vs arrow for babel compat in AppleButton export (#234, thanks @EIrwin) | ||
## 2.1.3 | ||
- chore: Adds rn's testID to the valid props, adds typescript exports (#233, thanks @doublethefish!) | ||
- chore(example): allow test runs without react-native global install | ||
## 2.1.2 | ||
@@ -7,0 +25,0 @@ |
@@ -486,3 +486,3 @@ /** | ||
type AndroidError = { | ||
export type AndroidError = { | ||
/** | ||
@@ -500,3 +500,3 @@ * Apple auth for Android wasn't configured. Be sure to call `appleAuthAndroid.configure(options)`. | ||
declare enum AndroidResponseType { | ||
export declare enum AndroidResponseType { | ||
ALL = "ALL", | ||
@@ -507,3 +507,3 @@ CODE = "CODE", | ||
declare enum AndroidScope { | ||
export declare enum AndroidScope { | ||
ALL = "ALL", | ||
@@ -593,3 +593,3 @@ EMAIL = "EMAIL", | ||
interface AppleAuthAndroid { | ||
export interface AppleAuthAndroid { | ||
/** | ||
@@ -596,0 +596,0 @@ * A boolean value of whether Apple Authentication is supported on this API version. |
@@ -1,2 +0,2 @@ | ||
// generated by genversion | ||
module.exports = '2.1.4'; | ||
// Generated by genversion. | ||
module.exports = '2.2.0'; |
{ | ||
"name": "@invertase/react-native-apple-authentication", | ||
"version": "2.1.5", | ||
"version": "2.2.0", | ||
"author": "Invertase <oss@invertase.io> (http://invertase.io)", | ||
@@ -9,12 +9,16 @@ "description": "A complete Apple Authentication services API for React Native iOS apps.", | ||
"scripts": { | ||
"tsc:compile": "npx tsc --noEmit", | ||
"tsc:compile": "tsc --noEmit", | ||
"build": "genversion --semi lib/version.js", | ||
"build:all": "yarn build:clean && yarn build && yarn build:example:android && yarn build:example:ios", | ||
"build:example:android": "cd example/android && ./gradlew assembleDebug", | ||
"build:example:ios": "cd example && (xcodebuild -workspace ios/testing.xcworkspace -scheme testing -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build -UseModernBuildSystem=YES || true)", | ||
"build:all": "yarn build:clean && yarn build && yarn example:build:android && yarn example:build:ios", | ||
"build:clean": "rimraf ios/build android/build example/android/app/build example/ios/build", | ||
"build:docs": "typedoc --includeDeclarations --excludeExternals --out docs --plugin typedoc-plugin-markdown --hideBreadcrumbs", | ||
"build:docs": "typedoc --excludeExternals --out typedocs --plugin typedoc-plugin-markdown --hideBreadcrumbs --entryPoints lib/index.d.ts", | ||
"precommit": "yarn prepare && yarn build:all", | ||
"prepare": "yarn tsc:compile && yarn prepare:example", | ||
"prepare:example": "cd example && yarn && cd ios && (pod install || true)", | ||
"prepare": "yarn build && yarn tsc:compile && yarn example:prepare", | ||
"example:prepare": "cd example && yarn && yarn pod-install", | ||
"example:build:android": "cd example/android && ./gradlew assembleDebug", | ||
"example:build:ios": "cd example && (xcodebuild -workspace ios/testing.xcworkspace -scheme testing -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build -UseModernBuildSystem=YES || true)", | ||
"example:start": "cd example && yarn start", | ||
"example:ios": "cd example && yarn run:ios", | ||
"example:ios13": "cd example && yarn run:ios13", | ||
"example:android": "cd example && yarn run:android", | ||
"shipit": "yarn np" | ||
@@ -41,12 +45,13 @@ }, | ||
"devDependencies": { | ||
"@react-native-community/eslint-config": "^2.0.0", | ||
"@types/react": "16.9.56", | ||
"@types/react-native": "0.63.35", | ||
"genversion": "^2.2.1", | ||
"np": "^7.0.0", | ||
"prettier": "^2.1.2", | ||
"@react-native-community/eslint-config": "^3.0.2", | ||
"@types/react": "17.0.39", | ||
"@types/react-native": "0.67.7", | ||
"genversion": "^3.1.1", | ||
"np": "^7.6.1", | ||
"prettier": "^2.6.2", | ||
"react-native": "^0.67.3", | ||
"rimraf": "^3.0.2", | ||
"typedoc": "^0.19.2", | ||
"typedoc-plugin-markdown": "^3.0.11", | ||
"typescript": "^4.0.5" | ||
"typedoc": "^0.22.15", | ||
"typedoc-plugin-markdown": "^3.12.1", | ||
"typescript": "^4.6.4" | ||
}, | ||
@@ -53,0 +58,0 @@ "publishConfig": { |
<p align="center"> | ||
<a href="https://invertase.io"> | ||
<img width="160px" src="https://static.invertase.io/assets/invertase-logo.png"><br/> | ||
</a> | ||
<h2 align="center">React Native Apple Authentication</h2> | ||
@@ -226,2 +223,7 @@ </p> | ||
### MacOS | ||
This library works on MacOS 10.15+ if using in conjunction with [react-native-macos](https://github.com/microsoft/react-native-macos). | ||
### Web (not react-native-web, but that may come as a follow-on, this is pure web at the moment) | ||
@@ -300,30 +302,5 @@ | ||
## API Reference Documentation | ||
- [AppleButtonProps](docs/interfaces/_lib_index_d_.applebuttonprops.md) | ||
- [AppleButtonStyle](docs/enums/_lib_index_d_.applebuttonstyle.md) | ||
- [AppleButtonType](docs/enums/_lib_index_d_.applebuttontype.md) | ||
### iOS Interfaces | ||
- [appleAuth module](docs/modules/_lib_index_d_.md#66) | ||
- [AppleRequestResponse](docs/interfaces/_lib_index_d_.applerequestresponse.md) | ||
- [AppleRequestResponseFullName](docs/interfaces/_lib_index_d_.applerequestresponsefullname.md) | ||
All API documentation is generated by typedoc, and [is available in the `typedocs` folder](typedocs/modules.md) | ||
### iOS Enumerations | ||
- [AppleRequestOptions](docs/enums/_lib_index_d_.applerequestoperation.md) | ||
- [AppleCredentialState](docs/enums/_lib_index_d_.applecredentialstate.md) | ||
- [AppleError](docs/enums/_lib_index_d_.appleerror.md) | ||
- [AppleRealUserStatus](docs/enums/_lib_index_d_.applerealuserstatus.md) | ||
- [AppleRequestOperation](docs/enums/_lib_index_d_.applerequestoperation.md) | ||
- [AppleRequestScope](docs/enums/_lib_index_d_.applerequestscope.md) | ||
### Android Interfaces | ||
- [appleAuthAndroid module](docs/modules/_lib_index_d_.md#98) | ||
- [AndroidConfig](docs/interfaces/_lib_index_d_.androidconfig.md) | ||
- [AndroidSigninResponse](docs/interfaces/_lib_index_d_.androidsigninresponse.md) | ||
- [AndroidError](docs/modules/_lib_index_d_.md#androiderror.md) | ||
### Android Enumerations | ||
- [AndroidResponseType](docs/enums/_lib_index_d_.androidresponsetype.md) | ||
- [AndroidScope](docs/enums/_lib_index_d_.androidscope.md) | ||
## FAQs | ||
@@ -360,3 +337,3 @@ | ||
``` | ||
## Troubleshooting | ||
@@ -370,3 +347,3 @@ | ||
Check that the connection settings have been made correctly. | ||
The setup can be found here: [Initial Setup](https://github.com/invertase/react-native-apple-authentication/blob/master/docs/INITIAL_SETUP.md) | ||
The setup can be found here: [Initial Setup](https://github.com/invertase/react-native-apple-authentication/blob/main/docs/INITIAL_SETUP.md) | ||
@@ -379,9 +356,9 @@ ###### Case 2: | ||
###### Case 3: | ||
If you are using a simulator, go to [Mange Apple Account](https://appleid.apple.com/account/manage). | ||
If you are using a simulator, go to [Manage Apple Account](https://appleid.apple.com/account/manage). | ||
Search for "Devices", select "Simulator" and press "Remove from Account". | ||
 | ||
 | ||
 | ||
 | ||
@@ -410,14 +387,9 @@ It should work fine. | ||
<p> | ||
<img align="left" width="75px" src="https://static.invertase.io/assets/invertase-logo-small.png"> | ||
<p align="left"> | ||
Built and maintained with 💛 by <a href="https://invertase.io">Invertase</a>. | ||
<p align="center"> | ||
<a href="https://invertase.io/?utm_source=readme&utm_medium=footer&utm_campaign=react-native-firebase"> | ||
<img width="75px" src="https://static.invertase.io/assets/invertase/invertase-rounded-avatar.png"> | ||
</a> | ||
<p align="center"> | ||
Built and maintained by <a href="https://invertase.io/?utm_source=readme&utm_medium=footer&utm_campaign=react-native-firebase">Invertase</a>. | ||
</p> | ||
<p align="left"> | ||
<a href="https://invertase.io/hire-us">💼 Hire Us</a> | | ||
<a href="https://opencollective.com/react-native-firebase">☕️ Sponsor Us</a> | | ||
<a href="https://invertase.io/jobs">💻 Work With Us</a> | ||
</p> | ||
</p> | ||
--- |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
149957
25.62%39
2.63%1080
0.19%120942
-0.03%11
10%390
-6.7%