Commit Graph

96 Commits

Author SHA1 Message Date
Salakar d2909be7eb [js][database] fixed an issue where query methods were not returning correctly 2017-08-05 21:45:15 +01:00
Salakar b935034592 [database][wip] misc multi-app 2017-08-02 10:38:30 +01:00
Salakar c9efb0087f [database][wip] update reference to support 'ThenableReference' 2017-07-31 18:25:31 +01:00
Salakar e3d1261973 [database][wip] refactor & improvements to add support for multiple apps 2017-07-30 07:34:41 +01:00
Salakar 33470419ed Merge branch 'master' of https://github.com/invertase/react-native-firebase into multi-apps 2017-07-20 09:59:52 +01:00
Chris Bianca 46772d253d [android][ios][database] Add missing setPriority and setWithPriority methods 2017-07-19 18:18:16 +01:00
Salakar 282f953f52 [both] continued work on multi app support - storage now full supported and auth WIP 2017-07-12 15:49:33 +01:00
Salakar c6773dc808 Merge branch 'master' of https://github.com/invertase/react-native-firebase into multi-apps
# Conflicts:
#	android/src/main/java/io/invertase/firebase/auth/RNFirebaseAuth.java
2017-07-12 13:39:29 +01:00
Salakar d1196b98c4 [both][database] Fixed an issue where the reference from a child snapshot was being returned as the parent snapshot when listening to child events 2017-07-04 16:16:08 +01:00
Salakar ec22e510bc more work on multiple app initialization 2017-06-30 17:23:32 +01:00
Elliot Hesp 3809fa8f63 [auth] Pass previousChildName back to callback 2017-06-15 14:55:52 +01:00
Chris Bianca a162a0d6f5 [js] Couple of additional checks for module existence 2017-05-31 15:45:14 +01:00
Chris Bianca a1cff881e1 [android][ios][js] Detect missing native module rather than using empty function 2017-05-31 15:22:15 +01:00
Chris Bianca b3cd102077 [js][db] Rename .listeners 2017-05-30 12:46:28 +01:00
Chris Bianca ba24a80e09 [js] Fix permissions problem 2017-05-30 12:28:53 +01:00
Salakar 6f81605616 [js][all] added nativeSDKMissing check for all modules - part of making all module native sdk's optional. 2017-05-25 23:39:06 +01:00
Ben Styles 477bd2bf54 initial commit 2017-05-10 17:37:03 +01:00
Aleck Greenham 9d5cc856c7 [Database] Add more accurate comments of expected behaviour of Reference.on() 2017-05-09 08:09:03 +01:00
Aleck Greenham 8d665542cc [Database] Standardise error messages and add context support for Reference.on()
- Make error messages raised by Reference.on() same as Web API
- Add support for context argument to Reference.on()
- Add tests for Reference.on()
- Add JSDoc comments for Reference.on() and some other minor methods
2017-05-06 14:33:55 +01:00
Ben Styles 80b519158f fixed some flow and eslint errors 2017-04-28 11:03:12 +01:00
Ben Styles 6cee2609b1 fixed some flow and eslint errors 2017-04-28 10:27:29 +01:00
Chris Bianca 7f7d5e8ec7 [js] Fix database cleanup function 2017-04-26 17:52:16 +01:00
Chris Bianca ef306162b4 [js][android] Support multiple listeners on a single ref 2017-04-26 12:21:53 +01:00
Aleck Greenham 3277126fb4 [js][database] Add ref().isEqual() 2017-04-22 18:00:05 +01:00
Aleck Greenham 3d863ac636 [js][database] Add ref property for consistency with web API 2017-04-22 09:27:37 +01:00
Salakar e6d2693f33 remove weird formatting 2017-04-19 11:30:08 +01:00
Ben Styles 51a07fc4ee flow fixes that change logic slightly 2017-04-04 17:58:47 +01:00
Ben Styles 5acea6d218 initial commit: basic flow errors 2017-04-04 17:58:20 +01:00
Salakar bb6b1aa7f2 [android,js][database] transactions support implemented 2017-03-24 22:53:56 +00:00
Salakar d9023f55b8 [js][statics] implemented staticsOrInstance helper - fixes #12 2017-03-22 20:15:02 +00:00
Salakar f5d0bd002a [js] prefix snapshot internals with '_' 2017-03-16 16:48:03 +00:00
Salakar 50d176427f android/js: cleanup / remove redundant code 2017-03-10 18:12:46 +00:00
Salakar f509dfedff android: bump firebase version to 10.2.0 2017-03-10 10:46:55 +00:00
Salakar ccd90666f5 js: snapshot now returns cloned objects/arrays of this.value 2017-03-09 18:45:42 +00:00
Salakar 178b2e1d99 js: snapshot comments / flow type additions 2017-03-09 18:18:10 +00:00
Salakar 834980f9dd snapshot.forEach() now correctly implemented - now allows returning true to break iteration as per web sdk docs.
+ misc commenting / flow types
2017-03-09 17:53:35 +00:00
Salakar da8a2ec645 misc snapshot 2017-03-09 17:18:48 +00:00
Salakar e48e5c290e js: snapshot class incorrectly defining 'exists' as a bool prop, instead of a function 2017-03-09 15:27:49 +00:00
Salakar 2d1015d205 js: change db error to match firebase web sdk error 2017-03-08 13:21:21 +00:00
Salakar 51c63b2f3e js: cleanup error util 2017-03-07 17:35:48 +00:00
Salakar 9b5aaae909 android: fixed promise rejected with non-error warning 2017-03-07 16:58:33 +00:00
Salakar 214928ba7f android: fixed once and on error handling 2017-03-07 16:54:04 +00:00
Salakar 7e8dbcbb35 dump of current js files 2017-03-02 13:09:41 +00:00
Salakar 6a9b54124a RNFirebase - database - js 2017-03-02 11:40:08 +00:00
Salakar 1c114a447b typeOf check the actual value - derp 2017-02-15 12:14:45 +00:00
Salakar 3601a85e15 database.onDisconnect class - js 2017-02-14 15:57:08 +00:00