Commit Graph

2186 Commits

Author SHA1 Message Date
Chris Bianca 7cc7d5afe5 [auth] Fix possible race condition #980 2018-04-26 09:21:10 +01:00
Michael Diarmid 9914dd1ea4
Merge pull request #1018 from awmichel/fix-where-fieldpath-typing
Typing Fix for Firestore Query `where` Function
2018-04-25 06:17:31 +01:00
Adam Michel ea8e106129
Use union type for `fieldPath` option to query `orderBy` and `where` functions.
Constructing and passing a FieldPath object to the `orderBy` or `where` functions of a Firestore query currently raises a type error since those functions are only typed to expect a `string` value. This fixes that since those functions do accept FieldPath object types as well as astrings.
2018-04-24 12:46:23 -07:00
Chris Bianca 7614f5b7e4 [android][notifications] Fix NPE when rescheduling notifications #1013 2018-04-24 17:37:16 +01:00
Jean Regisser fe1701b825
Fix podspec so compilation works
Not sure when this broke, but this fixes compilation when used in
project that pulls the dependency using CocoaPods and Xcode 9.3
2018-04-24 17:32:24 +02:00
Salakar a38e40ab16 update bridge version 2018-04-22 16:06:13 +01:00
Salakar 3b634a8dfc [tests][database] misc ref tests 2018-04-22 16:04:35 +01:00
Salakar 8b90b5a7b3 [android][notifications] misc linting 2018-04-22 15:12:49 +01:00
Michael Diarmid 6dce84b0db
Merge pull request #1010 from giladno/patch-1
Allow passing null as a sound
2018-04-22 15:07:27 +01:00
Gilad Novik 89c6636434
Allow passing null as a sound
As per this answer: https://stackoverflow.com/a/46634508/306764
2018-04-22 14:44:32 +03:00
Salakar 33d2fb7069 [tests] update to latest Bridge version to support bridge.Object/Array 2018-04-22 02:04:40 +01:00
Salakar 093280c732 [tests][database] more snapshot tests 2018-04-22 02:04:18 +01:00
Salakar 41da682c65 4.0.5 2018-04-22 00:56:32 +01:00
Salakar 4e64075562 [tests][database] start of database tests 2018-04-22 00:52:58 +01:00
Salakar d0b6972e39 [database][js] fixed a regression where snapshot.child() would no longer work on array values 2018-04-22 00:29:33 +01:00
Salakar 0a828aae40 [firestore][js] fix issue with parent() incorrectly returning a 'parent' Path on a root level Path 2018-04-22 00:25:36 +01:00
Salakar 94afa546ae [tests][database] add database helpers 2018-04-22 00:00:29 +01:00
Salakar 4284551632 [tests][database] add database helpers 2018-04-21 23:59:47 +01:00
Salakar 2d501bd054 [tests][firestore] misc tests 2018-04-21 23:59:19 +01:00
Salakar e2be5d678f [android][database] Fix for #1004 2018-04-21 23:27:35 +01:00
Michael Diarmid 6dac0e4b47
Merge pull request #1007 from mlc/gradle_conf_in_root_project
android: allow root project to specify dependency versions
2018-04-21 19:34:50 +01:00
Salakar e479f0c0f6 [tests] refactor/cleanup misc firestore tests 2018-04-21 19:22:21 +01:00
Salakar 372abe57b7 [tests] misc linting 2018-04-21 19:13:05 +01:00
Salakar 890f90d2cf [tests][firestore] fix failing android test 2018-04-21 19:07:37 +01:00
Salakar e985d7f153 Merge branch 'master' of https://github.com/invertase/react-native-firebase 2018-04-21 19:00:07 +01:00
Salakar 2e004640d1 [tests] update dependencies and fix related issues 2018-04-21 18:59:52 +01:00
mike castleman eb75f78980 allow root project to specify dependency versions 2018-04-21 13:10:37 -04:00
Michael Diarmid dd7d961b24
Merge pull request #1002 from sibelius/patch-2
feat(flow): prefer string over String
2018-04-21 16:37:57 +01:00
Salakar fb1a9a8f5a merge 2018-04-21 15:55:13 +01:00
Salakar 673c80cb2e update git ignore 2018-04-21 15:53:35 +01:00
Michael Diarmid b7a54f6400
Update CONTRIBUTING.md 2018-04-21 14:39:24 +01:00
Sibelius Seraphini 3ca951184f
feat(flow): prefer string over String 2018-04-19 12:01:40 -03:00
Michael Diarmid 63f85d2790
Merge pull request #933 from invertase/codorials
Codorials
2018-04-17 21:36:10 +01:00
Salakar 7aea0305cb 4.0.4 2018-04-17 18:51:54 +01:00
Salakar 7f4f7286ff misc 2018-04-17 18:51:41 +01:00
Salakar 486c0f4f1e [tests] update bridge to v0.2.5 2018-04-17 10:09:33 +01:00
Chris Bianca 546e3f5d8a
Merge pull request #985 from giladno/patch-1
allow using ringtones from RingtoneManager
2018-04-16 21:47:49 +01:00
Salakar 997ca112d7 [tests][firestore] DocumentReference tests - needs cleanup 2018-04-16 20:21:04 +01:00
Salakar 61aba8166e [tests][firestore] remove logging 2018-04-16 20:20:00 +01:00
Salakar f57962b018 [tests] misc 2018-04-16 19:20:00 +01:00
Salakar 710f2ef44f [tests][firestore] add settings() call to before() hook - needs calling before any firestore usage 2018-04-16 18:39:01 +01:00
Salakar 09a2db6267 [tests][firestore] add enableLogging tests 2018-04-16 18:24:11 +01:00
Salakar f4832410bb [firestore] .settings() - use hasOwnProperty instead of truthy value existence checks 2018-04-16 18:20:08 +01:00
Salakar 016c07fa35 [tests][helpers] update log override to exclude enablePersistence warning 2018-04-16 18:05:31 +01:00
Salakar 4cd30baacb [tests][firestore] firestore.().X tests 2018-04-16 18:04:51 +01:00
Salakar 5b92ff0d71 [tests][firestore] batch() tests 2018-04-16 18:04:31 +01:00
Salakar 60634ae68e [tests][firestore] remove logging 2018-04-16 17:47:50 +01:00
Salakar 8b683f643b [tests][firestore] path tests 2018-04-16 17:45:45 +01:00
Salakar 391403a7ec [tests][firestore] transaction tests 2018-04-16 17:45:32 +01:00
Salakar ead1edff4e [tests][firestore] testDocRef helper - returns a prefixed document id ref for current test iteration 2018-04-16 17:45:01 +01:00