Commit Graph

109 Commits

Author SHA1 Message Date
Chris Bianca 7cc7d5afe5 [auth] Fix possible race condition #980 2018-04-26 09:21:10 +01:00
JinHao Chen cc8799b465 Implement multiple database shard support 2018-03-21 12:51:02 -07:00
Chris Bianca e791648c24 Tests for firestore and auth 2018-03-20 16:07:37 +00:00
Chris Bianca a6734fa439 [auth][types] Fix incorrect return type for createUserAndRetrieveDataWithEmailAndPassword #862 2018-03-07 14:33:16 +00:00
Chris Bianca c57c6a74a8 [flow] Remove custom flow error tag 2018-02-17 12:55:19 +00:00
Chris Bianca 4e81527246 [types] Export app, auth, database and firestore types 2018-02-14 13:00:19 +00:00
Chris Bianca 3f1c8c4571 [typings] Fix flow issue 2018-01-26 10:11:43 +00:00
Chris Bianca fba6380729 [js] Run prettier for the first time 2018-01-25 18:25:39 +00:00
Chris Bianca d14be68243 [auth] Fix typo 2018-01-24 15:46:18 +00:00
Chris Bianca c8d0cd4b18 [auth] Add static reference to OAuthProvider 2018-01-24 15:30:17 +00:00
Chris Bianca 5f3a9755d7 [auth] Add OAuthProvider 2018-01-24 15:21:52 +00:00
Chris Bianca c3e5eb634e [tests][auth] Tests for onAuthStateChange, onIdTokenChanged and onUserChanged 2018-01-24 15:03:21 +00:00
Chris Bianca af35cda353 [auth] Add deprecation warnings for non withData methods 2018-01-24 12:20:24 +00:00
Chris Bianca 248885f03e [auth] Add verifyPasswordResetCode 2018-01-24 12:20:06 +00:00
Chris Bianca d370d002fb [auth] Add withData methods 2018-01-24 09:46:39 +00:00
Chris Bianca 9396b4fb31 [auth] Add metadata support 2018-01-19 16:19:15 +00:00
Chris Bianca cb28c458a8 Merge commit '637cd81424b9a18cdec9735492a21f06be4e7ccf' 2018-01-18 09:49:27 +00:00
Chris Bianca a0de480fc7 [auth] Some flow types and tidy up 2018-01-18 09:49:11 +00:00
Michael Diarmid c14d9292b0
Merge pull request #655 from invertase/auth-language
Set auth language #654
2018-01-17 15:23:41 +00:00
Michael Diarmid 983d273846
Update index.js 2018-01-17 15:22:39 +00:00
Chris Bianca 285e31df65 [auth] Remove superfluous getCurrentUser method which doesn’t exist in API 2018-01-16 17:39:27 +00:00
Chris Bianca 301f2749c0 [internals] Migrate multi app flag to module configuration 2018-01-09 17:32:08 +00:00
Elliot Hesp 06424aff14 [auth] use [DEFAULT] languageCode for dynamic apps 2018-01-08 11:30:59 +00:00
Elliot Hesp 409cd70ab1 [auth] Update iOS methods to internals change 2018-01-08 10:07:15 +00:00
Elliot Hesp 9ea0a5cc7f [auth] Move useDeviceLanguage to unsupported method 2018-01-06 15:14:11 +00:00
Elliot Hesp 9d47709ffa Merge with master 2018-01-06 14:47:11 +00:00
Chris Bianca d1f2b3fcfa [internals][types] Fix a couple of minor issues 2018-01-05 18:23:38 +00:00
Chris Bianca 80cb54ee6d [internals][types] Last part of internal refactor; Got rid of remaining flow errors 2018-01-05 17:20:10 +00:00
Chris Bianca 0fe2fec819 [internals] More tidy up and hiding of internal functions 2018-01-03 20:00:38 +00:00
Chris Bianca 61d7c3b2eb [internals] Move native events to individual modules to make it easier to see the relationship 2017-12-22 15:57:33 +00:00
Chris Bianca f2c2007fdc [internals] Start refactoring some of the internals to simplify, tidy up and also reduce flow type pollution 2017-12-22 15:24:31 +00:00
Chris Bianca a03c445e0c [auth] Add support for state in email actions 2017-12-07 12:36:51 +00:00
Elliot Hesp 0083ef7a66 [auth][android] Add languageCode getter 2017-11-30 11:41:40 +00:00
Elliot Hesp fb8c08c7f6 [auth] Remove unnecessary return 2017-11-30 10:56:01 +00:00
Elliot Hesp 8511705d8e [auth][android] Add methods to set the auth language via code or device language 2017-11-30 10:02:01 +00:00
Chris Bianca ff95c21b9d [typings] Continue work on flow 2017-11-23 17:29:40 +00:00
Chris Bianca fbe73f5dcb [types] Get types properly exporting as part of the build 2017-11-17 16:17:27 +00:00
Chris Bianca 746faad043 [types] Start on auth flow typings 2017-11-17 14:22:46 +00:00
Chris Bianca f1d8bee5b0 [auth] Temp rename to allow capitalisation 2017-11-17 11:22:10 +00:00
Chris Bianca 89ce31689e [auth][js] Add missing phoneNumber property 2017-11-09 15:18:09 +00:00
Chris Bianca 9a17379e0e [auth][js] Add in `onUserChanged` method 2017-10-27 14:05:19 +01:00
Chris Bianca e535a1ebaa [auth][js] Rename a few methods to make it easier to follow 2017-10-27 11:55:00 +01:00
Chris Bianca 807e581ec7 [auth][android][js] Stop removing all listeners when using phone auth 2017-10-27 11:54:36 +01:00
Chris Bianca 31594756cc [auth] Simplify onAuthStateChanges and interceptUserValue to aid debugging 2017-10-27 11:00:06 +01:00
Chris Bianca 31854bae5b [auth] Update auth providers `providerId` to match official SDKs 2017-10-16 11:12:40 +01:00
Benjamin Schell 2a509fe9c2 Update ConfirmationResult.js
Fix bug in ConfirmationResult.js: [ReferenceError: Can't find variable: _verificationId]
2017-10-12 14:46:10 -04:00
Salakar 904468271d [auth] don't send timeout to native if ios - only on android 2017-10-02 09:46:34 +01:00
Salakar d7a832b7c7 [auth] fix incorrect arguments 2017-09-30 20:07:00 +01:00
Salakar 6a78cac3be [auth][js] fixed incorrect timeout value - should be seconds not ms 2017-09-29 11:36:45 +01:00
Salakar 1d0dffbefe [auth] convert native error object in phoneAuthListener to js error + misc flow typings/fixes 2017-09-25 23:07:27 +01:00