Commit Graph

239 Commits

Author SHA1 Message Date
Salakar b53bf5bbe8 misc cleanup of redundant code + flow type fixes 2017-09-25 23:19:13 +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
Salakar c4e2414295 [auth] added phone_auth_state_changed event fan out listener 2017-09-25 23:06:13 +01:00
Salakar c4472cf8e7 [flow] misc warnings 2017-09-25 23:05:07 +01:00
Salakar 3cde0e93d9 [flow] fix misc flow warnings 2017-09-25 21:29:40 +01:00
Salakar 0ac9513863 [auth] add new phone auth event to ModuleBase 2017-09-25 15:58:49 +01:00
Salakar 3f681ac065 [flow] fixed flow errors in ModuleBase 2017-09-25 15:38:54 +01:00
Salakar 261edf7a83 [auth] correctly send timeout value to native method `verifyPhoneNumber` 2017-09-24 16:35:44 +01:00
Salakar c8a37f6282 [auth] update provider constructor errors 2017-09-24 16:35:15 +01:00
Salakar 61d963ad62 Merge branch 'master' of https://github.com/invertase/react-native-firebase 2017-09-24 13:58:03 +01:00
Salakar fd788b9d5d [auth] add verifyPhoneNumber 2017-09-24 13:57:59 +01:00
Salakar 43e17f4b16 [auth] first implementation of PhoneAuthListener 2017-09-24 13:54:10 +01:00
Salakar 0984f6d680 [auth] constructing an new instance of an auth provider class will now throw an unsupported error 2017-09-24 13:50:00 +01:00
Salakar 0f1801c825 [flow] fix CredentialType provider/providerId 2017-09-24 13:29:28 +01:00
Salakar 3316a61bbb isIOS and isAndroid utils are now constants instead of functions 2017-09-24 13:19:24 +01:00
Salakar a242df1daa added additional internal string helpers for missing/invalid args 2017-09-24 13:18:39 +01:00
Salakar c2ce379b2c fixed invalid references to native module 'FirebaseAuth' and added phone auth statics 2017-09-24 13:17:20 +01:00
hjumeau 76781479b6 [auth][unlink] Call native function instead of 'FirebaseAuth' 2017-09-23 23:34:40 +02:00
Salakar 75dfae369a remove flow rn declare statement 2017-09-23 18:26:19 +01:00
Salakar 2755fd2433 [internals] added isIOS / isAndroid utils 2017-09-23 18:25:48 +01:00
Salakar 5864481781 add 2017-09-23 18:16:43 +01:00
Chris Bianca 83faa86333 [auth] Add unsupported method errors for auth() and User 2017-09-23 16:14:35 +01:00
Chris Bianca 902ee98617 [auth] Update providers to match web spec 2017-09-21 17:42:09 +01:00
Chris Bianca 5dba443588 [auth] Fix event name 2017-09-21 17:11:17 +01:00
Chris Bianca c59d64054d [auth] Add onIdTokenChanged method 2017-09-21 16:48:54 +01:00
Salakar ef16ed1d4b remove invalid return from thenable 2017-09-20 11:53:50 +01:00
Michael Diarmid d23c048304 Fix ThenanbleRef promise 2017-09-20 11:50:34 +01:00
Salakar 557face5eb [js][database] fix OnDisconnect incorrectly being constructed + added misc typings 2017-09-07 16:36:47 +01:00
Salakar 63e417fae3 [db][js] fix modifiers not returning new ref instance 2017-08-28 13:28:16 +01:00
Salakar 5744a2ef56 [core] add extendApp support - added description/link 2017-08-26 23:47:31 +01:00
Salakar 67dc829427 [core] add extendApp support 2017-08-26 23:41:59 +01:00
Salakar 88e29bb8ff [js][utils] disable eslint for fb emitter files 2017-08-26 02:48:51 +01:00
Chris Bianca c3f32e54e3 [db] Clean up old files 2017-08-25 17:38:24 +01:00
Chris Bianca d5de6a5b21 [db] Correctly named module for statics 2017-08-25 17:37:52 +01:00
Chris Bianca 0d117f6827 [js] Embed FB’s EventEmitter to prevent haste issues 2017-08-25 15:30:17 +01:00
Chris Bianca 81b631f111 [android] Phone auth implementation 2017-08-25 12:16:23 +01:00
Salakar 93079c2f01 [auth][js][android] remove EE based phone auth implementation 2017-08-23 23:19:11 +01:00
Salakar a0f638efa1 [core] fix app name issue 2017-08-23 11:18:51 +01:00
Salakar a0e1f744ba merge from master 2017-08-22 17:35:25 +01:00
Ben Richards c1b9b5d532 moved EventTypes to new file to avoid enumerable key in AdMobComponent.propTypes 2017-08-20 22:58:40 -07:00
Salakar fd474d5adb [android][auth] phoneAuth via EE implementation 2017-08-19 05:22:07 +01:00
Salakar 92504580e5 [js][internals] updated nativeToJSError util to exclude itself from error stacks 2017-08-19 05:18:34 +01:00
Salakar 6a8656f428 [js][qol] added missing module detection and associated generated red box guides 2017-08-18 21:05:47 +01:00
Salakar 9825226665 [js][internals] _NAMESPACE & _NATIVE_MODULE static props for all modules 2017-08-17 17:58:28 +01:00
Salakar b4cdbef593 [js][internals] _NATIVE_MODULE mapping for `nativeModuleExists` 2017-08-17 17:25:13 +01:00
Salakar 5ccbd9f369 [js][database] synctree cleanup 2017-08-16 21:43:24 +01:00
Salakar e4d27029b9 [js][android] database sync tree implementation with adjusted tests 2017-08-15 21:29:50 +01:00
Salakar 67985f8e90 [js][core] added `nativeModuleExists` property to all module statics - true or false if the native android/ios module is present 2017-08-15 17:28:51 +01:00
Salakar 491b61afad [js][database] nativeToJSError util can now attach addition props to the error - e.g. ref path 2017-08-14 18:43:21 +01:00
Salakar c6a26606d1 [js][database] fixed an issue where thenable ref promise would sometimes cause other promises to hang - no idea why ;p 2017-08-14 18:42:39 +01:00