Commit Graph
18 Commits
Author SHA1 Message Date
Paul Beusterien 7cac9dc47a Fix firebaes typo (#755) 2018-02-06 10:42:56 -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 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
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 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 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 1334246052 Request configuration and API key fixes (#164)
- Fixes non-default auth operations by not referring to the default auth.
- Fixes non-current user operations by always associating the auth instance with the user instance.
- Defends against changing of API key by not persisting the API key.
2017-08-01 15:50:53 -07:00
Xiangtian Dai 925a1cc0a2 Merge from private/auth-master (#159)
* Adds passing state and continue URL in OOBCodes actions. (#82)

* Adds actionCodeSettings class (#83)

* Adds FIRActionCodeSettings class

* Removes iOSAppStoreId to reflect update spec.

* Adds “reset password in app” to sample app (#84)

* Adds “reset password in app” to sample app

* Addresses comments

* Addresses comments

* Adds @param documentation for actionCodeSettings (#85)

Adds @param documentation for actionCodeSettings in FIRGetOOBConfirmationCodeRequest.

* Adds request configuration class

Adds a class that will comprise of all configurations needed to make a request to the Firebase Auth backend; including APIKey and Language code in the future.

* Addresses comments.

* Adds Setting Language

Add Setting Language Feature to Firebase Auth.

- Only adds support for two languages (English and Spanish) in this change. (Also supports two languages in test), more to come after this change is accepted.

- For now sample app tests language setting only when using “reset password in app” option, the email sent will be in the current app language.  Additional tests to come after change is accepted.

* Amends code for unit tests

Will add more comprehensive testing when code accepted.

* Ecodes strings files in UTF-8

* Addresses comments

* Addresses comments

* Remove comments in .strings

* Adds remaining TC languages to Firebase Auth.

* Add line break to .strings files

* remove language code english fallback

Remove the fallback that sends “en” as the language code to the backend if no language code is specified.

* addresses comment

* Fixes FIRSecureToken Crash

Integrates FIRSecureTokenService and FIRSecureTokenRequest with FIRAuthRequestConfiguration.

* Addresses comment

* Add auth language input

Adds Auth language input to the Sample App in preparation for manual testing.

* removes unnecessary comment

* address comments

* Add app language option

Allow user to set the current app language code as the auth language code.  This is in preparation for manual testing before release.

* Addresses Comment

* Adds missing continue URI

Adds missing continue URL to Firebear error handling.

* Remove unused line

Removes unused line from FIRPhoneAuthProvider.m

* Moves the new public header to the right place.

* Fixes broken macOS build.

* Removes trailing spaces.

* Addresses review comments.
2017-07-28 17:43:33 -07:00
Paul Beusterien 3f53f1bb27 Fix GoogleService-Info.plist casing in comments (#135)
* Fix GoogleService-Info.plist casing in comments
* fix macOS travis failure
2017-07-14 07:13:19 -07:00
Xiangtian Dai fb5aa974ee Moves most of FIRAuth initialization out of the calling thread. (#115)
* Adds an option to time initialization of FIRAuth instance in the sample app.

* Changes deployment target from 10.3 to 8.0 for Auth samples.

* Fixes some Xcode warnings in the Auth sample app.

* Moves most of `FIRAuth` initialization to the work thread.

* Fixes a typo.

* Fixes accessing of public `currentUser` method from internal method.

* Fixes tests for macOS.

* Addresses review comments.
2017-06-30 14:25:02 -07:00
Paul Beusterien 6761901507 Remove Auth/Source/Private - restoring headers to original location (#113) 2017-06-29 15:12:13 -07:00
Paul Beusterien c33bdff405 Group public headers into Public directories (#112) 2017-06-29 12:03:45 -07:00
Paul Beusterien aac64a63ae Add Foundation import so TARGET_OS_IOS or other TARGET_OS_* gets defined (#71) 2017-06-06 17:00:20 -07:00
Zsika Phillip 08d62f8957 Add phone number property to NSSecureCoding (#68)
Ecodes and decodes the phone number property of FIRUser.
2017-06-04 19:50:15 -07:00
Mathew Huusko V 5c59342e6e macOS (#38)
* Example/Core: create macOS app/tests target

* Example/Core: Core_Example/Tests -> Core_Example/Tests_iOS

* Example/Core: macOS building/tests passing

* Example/Database: separate iOS/macOS targets

* BuildFrameworks: macOS

* .travis.yml, test.sh: AllUnitTests -> AllUnitTests_iOS

* test.sh: add AllUnitTests_macOS

* Example/Storage: Example/Tests->_iOS

* Example/Storage: macOS

* test.sh: try to prevent double error 65

* test.sh: build before test

* Example/Auth|Messaging: -> _iOS

* Example/Auth: macOS build

* Example/Auth: macOS passing

* Example/Firebase: pod de/re-integrate; fix static DerivedData references; copy phase for OCMock

* Example/Firebase: manually copied OCMock, Products Dir vs. Frameworks

* Example/Firebase: copied OCMock, prevent header removal

* Example/Storage: integration tests sdk fix

* Example/Auth: macOS exclude FIRAuthAppCredentialManager; cleanup

* Firebase/Core: remove nullability annotation

* Firebase/Core|Database: correct TARGET_X usage for correctness and anticipation of OS_WATCH|TV branches

* build.swift: style fix

* Firebase/Core: FIRLogger: fix macOS intermittent va_list error
2017-06-02 10:42:17 -07:00
Paul Beusterien 98ba64449a Initial 2017-05-15 12:27:07 -07:00