Paul Beusterien
7cac9dc47a
Fix firebaes typo ( #755 )
2018-02-06 10:42:56 -08:00
Iulian Onofrei
f0272149c5
Fix incorrect deprecation message ( #688 )
...
* Fix incorrect deprecation message for Obj-C and Swift
2018-01-25 06:44:59 -08:00
Zsika Phillip
c18af34fca
Amends phone auth unit tests ( #632 )
2018-01-09 09:43:13 -08:00
Zsika Phillip
9172e6eb7a
Adds AdditionalUserInfo to Phone Auth ( #623 )
2018-01-08 15:40:31 -08:00
Paul Beusterien
f08b5044d6
Add Community Supported tvOS ( #590 )
...
Add Community Supported tvOS for Core, Auth, Database and Storage.
Add tvOS unit tests
Add tvOS sample app
Update README.md
Add tvOS to travis testing
2018-01-03 12:12:22 -08:00
Zsika Phillip
60fa69332e
Internal code clean up ( #584 )
...
Fixes indentation and removes unused imports.
2017-12-19 15:25:15 -08:00
alexg33
cb5f3efd3a
Updating the Auth header comments for Jazzy syntax ( #535 )
2017-12-06 15:41:47 -08:00
Paul Beusterien
ed3e4982f9
Standardize cross module imports with angle bracket syntax ( #526 )
...
Qualify all cross-pod imports of FirebaseCore headers
2017-12-04 08:52:11 -08:00
Zsika Phillip
0fca357398
Fixes small typo in comments ( #524 )
2017-12-01 15:32:25 -08:00
rsgowman
a251259f3c
Include UID when sending (internal) auth state change notifications ( #507 )
...
This is to allow firestore to not require an explicit dependency on auth.
2017-11-30 13:26:25 -05:00
Paul Beusterien
343421d93e
FIRAppInternal.h is a published private header ( #501 )
2017-11-28 13:52:51 -08:00
Ryan Wilson
7386f00178
Replacing FIR_SWIFT_NAME macro with NS_SWIFT_NAME. ( #476 )
...
* Replacing FIR_SWIFT_NAME macro with NS_SWIFT_NAME.
This pushes the minimum Xcode version to 7.3, as NS_SWIFT_NAME was
limited before that version (which is why the macro was introduced in
the first place).
* Fixed FIRMessaging header
2017-11-28 06:59:07 -08:00
Zsika Phillip
771b0f7a65
Adds Auth Result to Sign In with Custom token ( #489 )
...
* Adds Auth Result to Sign In with Custom token
* Addresses comomments
2017-11-27 14:17:05 -08:00
Zsika Phillip
bc2d78439a
Adds AuthDataResult to signInWithEmailPassword Method ( #484 )
...
* Adds AuthDataResult to signInWithEmail:Password
* Addresses comments
* Addresses comments
* addresses more comments
* Fixes broken tests
2017-11-22 08:57:07 -08:00
Paul Beusterien
3e592526ec
Buildable and interoperable source pods ( #444 )
2017-11-21 17:02:22 -08:00
Zsika Phillip
54aef651d8
Add Auth Result to createUserWithEmail ( #477 )
2017-11-20 15:56:03 -08:00
Zsika Phillip
5fbe71052d
Adds AuthDataResult to anonymous sign in ( #470 )
...
* Adds AuthDataResult to anonymous sign in
* Fixes typo
* Addresses comments
* addresses comment on PR
2017-11-17 15:55:56 -08:00
Zsika Phillip
895b9438ae
Handle error after phone auth linking ( #422 )
...
Handles possible errors after linking phone number.
Also sets anonymous ivar to NO if linking succeeded.
2017-11-05 22:14:55 -08:00
Ivan
6356386e0d
handles unstructured errors on redirect URLs
2017-10-23 14:03:07 -07:00
Ivan
13d59e3067
handles unstructured errors on redirect URLs
2017-10-23 13:46:46 -07:00
Ivan
4cf46e4123
Merge branch 'master' of https://github.com/firebase/firebase-ios-sdk into fix-reason-parameter
2017-10-23 11:39:10 -07:00
Ivan
9f6f969334
handles unstructured errors on redirect URLs
2017-10-23 11:38:29 -07:00
Xiangtian Dai
e5d40c5602
Fixes a pod lint warning for implicit conversion. ( #399 )
2017-10-21 07:38:32 -07:00
Xiangtian Dai
a9585971c3
Silences unguarded availability warnings in Auth. ( #389 )
...
Also fixes a crash in the Auth sample app in an error case.
This addresses *Auth* part of #385 .
2017-10-19 08:58:36 -07:00
Xiangtian Dai
532f538ee6
Prepare to release FirebaseAuth 4.3.0 ( #345 )
...
* Update Auth version to 4.3.0
* Revert "Removes user meta from public API (#308 )"
This reverts commit 1602391bf8 .
* Revert "Removes metadata from swift sample (#318 )"
This reverts commit 804ff523a2 .
2017-10-09 16:20:17 -07:00
Paul Beusterien
8156da3f32
Fix warnings exposed by Xcode 9.1 in Auth ( #350 )
2017-10-09 12:22:11 -07:00
Zsika Phillip
641b7c3a06
Fixes reference docs ( #330 )
...
* Fixes reference docs
Fixes reference docs for FIRAuthErrorUserInfoEmailKey.
* Modfies error code
Modifies the error code where the FIRAuthErrorUserInfoDataKey key is set.
2017-10-04 10:13:39 -07:00
Xiangtian Dai
4b1b3d62d8
Simplifies logic to post auth state change notifications, which is also applied more consistently now. ( #325 )
2017-10-03 09:58:47 -07:00
Xiangtian Dai
bf550507ff
Automatically signs user out if the token is no longer valid. ( #323 )
2017-10-02 14:15:05 -07:00
Zsika Phillip
7fa0b0de42
Disambiguates known errors from web context ( #322 )
...
* Disambiguates known errors from web context
- Disambiguates known errors possibly returned by verifyPhoneNumber:UIDelegate:completion:
2017-10-02 11:21:55 -07:00
Zsika Phillip
aebb293f3d
Add operation phone auth ( #309 )
...
* Adds operation to verify PhoneNumber requests
* Improvements and unit tests
* Fixes typo
* Addresses comments
- Removes the FIRAuthOperation class.
- Defines the FIRAuthOperationType as an enum in a class of the same name.
- Passes the FIRAuthOperationType value down to the verifyPhoneNumber RPC where it is translated to a string.
* Fixes unit tests
* Actually fixes the unit tests.
2017-09-27 00:16:33 -07:00
Xiangtian Dai
06fbbd8ee0
- Saves user metadata in keychain. ( #305 )
...
- Adds Swift stubs for the new API.
- Shows the `isNewUser` bit in the sample app.
2017-09-26 13:17:41 -07:00
Zsika Phillip
1602391bf8
Removes user meta from public API ( #308 )
...
* Removes user meta from public API
* remove unused import
removes unused import
* Removes Swift Name
2017-09-22 11:03:08 -07:00
Zsika Phillip
f333bd5c18
User meta data ( #292 )
...
* Add user metadata
* Small improvements
* Addresses comments
* Fixes broken tests
Adds FIRUserMetadata to unbrella file.
2017-09-21 16:35:27 -07:00
Xiangtian Dai
64462179c3
Fixes a threading issue when calling back with an error for phone number auth. ( #298 )
...
Also changes the sample app to be able to test this case.
2017-09-21 11:25:32 -07:00
Xiangtian Dai
f42d6d11e4
FIxes Swift name for the new protocol. ( #289 )
2017-09-19 14:01:06 -07:00
Zsika Phillip
a34d091971
Removes unused Fir_authPhoneNumber ( #277 )
...
Removes references of unused Fir_authPhoneNumber and accompanying class.
2017-09-17 22:12:53 -07:00
Zsika Phillip
7dc124882a
Add missing comments ( #273 )
...
* Small code clean-up changes
* Fixes typos
* Addresses comment
2017-09-15 14:54:11 -07:00
Zsika Phillip
b8f70da4ee
Adds event ID validation to verify phone number ( #263 )
...
* Adds event ID validation to verify phone number
2017-09-13 23:45:07 -07:00
Xiangtian Dai
56ea45f052
Fixes nullability and removed redundant property for FIROAuthCredential. ( #262 )
...
* Fixes nullability and removed redundant property for FIROAuthCredential.
* Fixes a typo in FIROAuthCredential initializer.
2017-09-13 19:08:12 -07:00
Xiangtian Dai
58ad5d177c
Adds a check for custom scheme in plist for phone number auth reCAPTCHA. ( #256 )
...
Also rewrites phone number auth reCAPTCHA tests.
2017-09-13 15:09:00 -07:00
Zsika Phillip
660f62778a
Adds ability to track Firebase Auth UI per request ( #251 )
...
* Adds ability to track Firebase Auth UI per request
Adds internal method to FIRAuth which will be accessed in Auth UI via an extension.
Example request header header with Firebase Auth Core Marker:
X-Client-Version: iOS/FirebaseSDK/0.1.1/FirebaseCore-iOS
2017-09-12 18:29:44 -07:00
Xiangtian Dai
c8ea66eecf
Implements web view for presenting Auth web content on iOS 7 and 8. ( #253 )
...
Also (hopefully) fixes thread safety issues in presenting Auth web content.
2017-09-12 13:49:05 -07:00
Zsika Phillip
af23702b56
ReCAPTCHA verification error handling ( #241 )
...
* reCAPTCHA error handling
* Improvements
* Addresses comments
2017-09-10 10:05:08 -07:00
Xiangtian Dai
96685dfbb9
Deprecates the old phone number auth method. ( #236 )
2017-09-06 11:36:26 -07:00
Xiangtian Dai
b5ed1c60f6
Switchs Auth Swift sample to use the new phone number auth API. ( #237 )
...
Also fixes macOS tests.
2017-09-06 09:25:19 -07:00
Xiangtian Dai
55d2d2d8be
Fixes Auth URL presenter: ( #239 )
...
- kinda works on iOS 8-;
- calls back with cancellation error correctly on 'Done' button;
- cleans up upon completion.
2017-09-06 09:24:28 -07:00
Zsika Phillip
954484c4c4
Removes canHandleURL from FIRAuthInternal ( #235 )
...
* Removes canHandleURL from FIRAuthInternal
Removes canHandleURL from FIRAuth_Internal and makes small modification to FIRPhoneAuthProvider unit test.
* Addresses comment
2017-09-05 23:16:28 -07:00
Xiangtian Dai
f1d5445042
Fixes Auth build when module is disabled ( #231 )
...
* Changes "@import" to "@import" to make the code buildable when module is disabled.
Also rearranges code to merge two #if blocks.
* Makes comments more accurate.
* Fixes comments.
2017-09-04 22:37:18 -07:00
Zsika Phillip
85e8137180
Adds app verification alternative ( #228 )
...
* Adds app verification alternative
2017-09-04 17:37:46 -07:00