Commit Graph

262 Commits

Author SHA1 Message Date
Chris Bianca 5e12700c35 Merge commit '36c936779b9badf72a0a3d789efafd2dcdb5ba36'
# Conflicts:
#	ios/RNFirebase.xcodeproj/project.pbxproj
#	package.json
2017-10-31 14:33:31 +00:00
Chris Bianca 2b2f3ce594 [ios] Centralise event sending to ensure all events validate bridge present before sending 2017-10-26 11:55:07 +01:00
Chris Bianca 403a7eefa0 [firestore] Use ms instead of ISOString for date conversion 2017-10-24 09:09:48 +01:00
Chris Bianca b12d9b29d0 [database][tests] Add tests for #489 2017-10-23 18:01:42 +01:00
Chris Bianca dd5230f42f [database] Tests add test for Issue 532 2017-10-23 17:17:03 +01:00
Chris Bianca 9822cb34d4 [database] Correctly differentiate limitToLast and other similar clauses 2017-10-23 17:03:49 +01:00
Chris Bianca a42194a32a [database][tests] Add tests for issue 521 2017-10-23 12:23:00 +01:00
Chris Bianca 3d57cdc634 Merge branch 'v3.0.x'
# Conflicts:
#	docs/modules/authentication.md
#	package.json
2017-10-23 09:24:45 +01:00
Chris Bianca fc3fc6d0d2 [firestore][android] Correctly process date time zones 2017-10-18 14:29:37 +01:00
chrisbianca 101a426307 Merge pull request #481 from rmrs/omer_links
Dynamic Links Support
2017-10-13 18:27:53 +01:00
Chris Bianca f348ba8a8c [firestore] Support FieldValue.delete() and FieldValue.serverTimestamp() 2017-10-12 09:00:46 +01:00
Chris Bianca 7c95ceca5b [firestore][ios] Type map changes for iOS 2017-10-10 17:22:12 +01:00
Chris Bianca 76d77da2e5 [firestore][android] Finish type mapping work for Android 2017-10-10 15:36:08 +01:00
Omer Levy fbdc733d53 flatten dynamicLinkInfo to the top-level, move the mandatory keys validation to the javascript from the native modules and some minor fixes 2017-10-10 16:22:03 +03:00
Omer Levy a085733e03 move invalid parameters validation to javascript and remove validation from android 2017-10-09 03:42:57 +03:00
Chris Bianca 1c81da466c Merge commit 'bc92ace8edef9d5ae4f9e5d6af5eccb8cfca4443' into firestore-types
# Conflicts:
#	android/src/main/java/io/invertase/firebase/firestore/FirestoreSerialize.java
2017-10-08 19:44:39 +01:00
Chris Bianca fac2272ac3 [firestore][android] Start work on type conversion to support DocumentReference, GeoPoint, Date, etc 2017-10-08 19:40:46 +01:00
erezrokah 98ade4d161 change tests to use url-parse 2017-10-08 18:05:48 +03:00
erezrokah 64ba939361 change test to use url-parse and query-string 2017-10-08 16:53:20 +03:00
Omer Levy 49a54ebedc [tests] remove unnecessary promise resulotions and add fetch to the .eslintrc 2017-10-08 16:25:02 +03:00
Omer Levy 2f233a64fe [android] fix a broken test 2017-10-08 04:26:21 +03:00
Omer Levy af47f7ca03 merge master into omer_links 2017-10-08 03:52:19 +03:00
Omer Levy 20d414652b [ios] fix link creation API, reject invalid arguments on creation and fix tests 2017-10-07 18:00:36 -04:00
Salakar 0eb38c4593 [tests][core] fixed broken test 2017-10-07 03:07:00 +01:00
Salakar 1d2549556b [tests][android] add perf package back into initialized modules 2017-10-07 01:53:05 +01:00
Omer Levy de6904e6f4 [android] validation of dynamicLinkInfo parameters, force using androidPackageName and tests fixes 2017-10-06 14:56:03 +03:00
Chris Bianca 46136e6c4d [firestore] Support `update` variations on DocumentReference and WriteBatch 2017-10-06 12:36:41 +01:00
Chris Bianca 2575fb4956 [firestore] Support all `onSnapshot` parameter options 2017-10-06 12:00:40 +01:00
Omer Levy 9e26d042d3 merge master into omer_links 2017-10-05 20:07:24 +03:00
Omer Levy 9d424f6e63 add links tests and support them on android 2017-10-05 17:51:37 +03:00
Salakar 870cb4ebe1 [tests] update to rn 49.1 2017-10-05 05:21:09 +01:00
Chris Bianca 5d6f43a540 [firestore][android] Correctly deserialise firestore arrays 2017-10-04 18:58:48 +01:00
Salakar 4877b80a8a [tests] ios project misc changes 2017-10-04 16:07:59 +01:00
Chris Bianca 592e6578c3 [android] Enable multidex 2017-10-03 18:02:33 +01:00
Chris Bianca c558af6480 Bump to final versions of Firestore iOS and Android libraries 2017-10-03 17:23:28 +01:00
Chris Bianca d94abaa77c Re-run react-native link to check all packages are installed correctly 2017-10-03 16:02:13 +01:00
Chris Bianca c1ecf22a38 Fix NetInfo RN 0.49 deprecation 2017-10-03 15:54:03 +01:00
Chris Bianca 5e404ca31d Merge commit '0470f4f4fcf74407ad1e070091c4a542dc8378a5'
# Conflicts:
#	tests/ios/Podfile.lock
2017-10-03 15:34:08 +01:00
Salakar 0470f4f4fc [tests] remove delete() app test - android not supported 2017-10-03 14:17:36 +01:00
Salakar c06fbf115a [tests] upgraded tests app to latest RN, removed broken toasts module that was causing a crash on boot and switched to using prop-types module 2017-10-03 14:09:09 +01:00
Chris Bianca 51074efdca Merge commit '49d29b53f21e530f5c918e472db93ee856947426' 2017-10-03 10:33:18 +01:00
Chris Bianca 22f7d77f54 [firestore] Add collection `onSnapshot` support 2017-10-03 10:12:25 +01:00
Salakar 49d29b53f2 [tests][js] phone-auth example/testing code 2017-10-03 10:08:51 +01:00
Chris Bianca cda1c27b5c [firestore][android][js] Add document `onSnapshot` support plus tests 2017-10-02 13:11:38 +01:00
Chris Bianca b4743ffa8b [firestore][tests] Tests for most of the current functionality 2017-09-28 17:48:13 +01:00
Chris Bianca 6060c36c1c [firestore][ios] Add initial iOS functionality 2017-09-28 13:48:28 +01:00
Chris Bianca bf35c349ae [firestore][tests] Get first collection tests working on Android 2017-09-27 15:41:25 +01:00
Salakar 86121969de [tests][android] added android O permission prompts 2017-09-25 18:35:43 +01:00
Salakar 46d51ef5ce [tests] upgrade RN versions 2017-09-25 18:34:01 +01:00
Salakar eff42444a7 [tests] added coverage support 2017-09-25 18:33:03 +01:00
Chris Bianca 83faa86333 [auth] Add unsupported method errors for auth() and User 2017-09-23 16:14:35 +01:00
Chris Bianca 1564973454 [tests] Fix database push test 2017-09-21 17:38:12 +01:00
Chris Bianca 264ff496a0 [tests] Fix downloadUrl 2017-09-21 17:19:16 +01:00
Chris Bianca c59d64054d [auth] Add onIdTokenChanged method 2017-09-21 16:48:54 +01:00
Chris Bianca f7b051aaed [docs] Remove unnecessary references to analytics dependency (now built into core) 2017-09-18 08:29:31 +01:00
Salakar 0fc7f7aabb [database][ios] error codes now correctly lower cased - incorrect tests updated to match 2017-08-28 13:53:09 +01:00
Salakar 5ab0445948 [tests] misc 2017-08-26 02:40:21 +01:00
Salakar 7e4fde7eda [tests] misc 2017-08-26 02:39:09 +01:00
Chris Bianca 0d117f6827 [js] Embed FB’s EventEmitter to prevent haste issues 2017-08-25 15:30:17 +01:00
Salakar 93079c2f01 [auth][js][android] remove EE based phone auth implementation 2017-08-23 23:19:11 +01:00
Salakar 48c74ff1d7 [tests] remove rnfirebase path dependency and switch sinon to latest version 2017-08-23 12:58:24 +01:00
Salakar ad614bd327 [tests] update phone auth test file 2017-08-23 11:19:20 +01:00
Chris Bianca 7ea92751a9 Merge branch 'v3' of https://github.com/invertase/react-native-firebase into v3 2017-08-22 17:29:21 +01:00
Chris Bianca 1230bd7108 [ios][database] New implementation for off and on to match Android 2017-08-22 17:29:02 +01:00
Salakar 66e9f8843d [tests] remove commented code 2017-08-22 17:23:10 +01:00
Salakar 74f28936a7 [tests] misc 2017-08-22 17:22:29 +01:00
Salakar e1c0dccb31 [auth][android] fixed incorrect key name breaking auto verify 2017-08-22 17:19:55 +01:00
Salakar aebd1835bc [tests] switch index.android back to main.js 2017-08-19 05:46:27 +01:00
Salakar a27abfdf92 [tests][android][build] update gradle versions 2017-08-19 05:20:13 +01:00
Salakar b088d6e683 [android][build] added groovy code to detect duplicate dex build failures and log out a help section
[android][firebase-sdk] upgraded to 11.2.0
2017-08-18 21:03:44 +01:00
Salakar 9825226665 [js][internals] _NAMESPACE & _NATIVE_MODULE static props for all modules 2017-08-17 17:58:28 +01:00
Salakar 0737f53dea [tests][database] fix tests 2017-08-16 21:44:15 +01:00
Salakar 4e78c5373b [tests] increase test default timeout to 15 seconds 2017-08-16 21:40:56 +01:00
Salakar e4d27029b9 [js][android] database sync tree implementation with adjusted tests 2017-08-15 21:29:50 +01:00
Salakar 95edb2fade [tests][database] fixed several failing tests and refactored some tests that were incorrectly using async await 2017-08-14 18:44:34 +01:00
Salakar b068b4ff42 [tests][*] removed focus from misc tests 2017-08-14 14:33:14 +01:00
Salakar 678abdf0e6 [tests][core] added test for app.options 2017-08-14 14:32:51 +01:00
Salakar 660c71c6ce [tests][storage] added ref toString test 2017-08-14 14:17:14 +01:00
Salakar f1709970e9 [database][wip] on/off logic refactor - heavily still wip so things still to change 2017-08-14 11:05:49 +01:00
Salakar 0675aa076d Merge branch 'master' of https://github.com/invertase/react-native-firebase into v3
# Conflicts:
#	ios/RNFirebase/admob/RNFirebaseAdMob.m
#	ios/RNFirebase/database/RNFirebaseDatabase.h
#	ios/RNFirebase/database/RNFirebaseDatabaseReference.m
#	lib/modules/admob/index.js
#	tests/ios/Podfile.lock
2017-08-12 19:07:51 +01:00
Salakar ac258681bc Merge branch 'master' of https://github.com/invertase/react-native-firebase into v3
# Conflicts:
#	ios/RNFirebase/admob/RNFirebaseAdMob.m
#	ios/RNFirebase/database/RNFirebaseDatabase.h
#	ios/RNFirebase/database/RNFirebaseDatabaseReference.m
#	lib/modules/admob/index.js
#	tests/ios/Podfile.lock
2017-08-11 17:37:12 +01:00
Elliot Hesp 0227ec6c25 [tests] Bump to latest Firebase SDK versions 2017-08-11 10:51:29 +01:00
Salakar bec4e8c59c [tests][database] fixed broken 'root' tests - were incorrectly accessing a private property - switched to using 'path' 2017-08-05 21:50:36 +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 d64e54942c [tests][core] start of core/app tests 2017-07-18 06:05:30 +01:00
Salakar 9b5e361d95 [tests] removed misc logging 2017-07-18 06:05:00 +01:00
Salakar c4d066fd55 [tests] improved testing framework error/success output 2017-07-18 05:59:28 +01:00
Salakar d8fee7f5cb [auth][ios] finalised auth changed listener logic 2017-07-17 20:56:08 +01:00
Salakar 2d744b162e [tests] update firebase helper to initialize additional apps 2017-07-17 19:44:47 +01:00
Salakar 9a3e22431b [android][app] apps initialized natively now automatically initialized js side - via react module getConstants 2017-07-17 17:36:50 +01:00
Salakar 91b7281d45 [both] re-enabled analytics, admob, crash & perf modules 2017-07-12 16:11:07 +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
Michael Diarmid 78e79a5c7e Update README.md 2017-07-04 17:33:15 +01:00
Salakar 9cd4641f06 [tests][database] added 'child_added' test for issue #221 - thanks @TiraO 2017-07-04 16:19:41 +01:00
Salakar ec22e510bc more work on multiple app initialization 2017-06-30 17:23:32 +01:00
Elliot Hesp c22fb3911f [admob] Add openDebugMenu support 2017-06-27 15:14:02 +01:00
Salakar 1e777f8296 [build/ci] added bundleInDebug flag to build.gradle 2017-06-22 14:09:50 +01:00
Salakar dc38c22ac2 [build/ci] removed tests/ios/podfile.lock from gitignore for ci builds 2017-06-22 13:54:19 +01:00
Salakar 64d8fa6cb8 [tests] Cleanup main.js 2017-06-21 16:35:12 +01:00
Michael Diarmid 48cd86e353 [tests] update messaging onTokenRefresh test 2017-06-20 14:43:30 +01:00
Elliot Hesp 1ce252fbf3 Lower Android sdk version in test app to 25 2017-06-20 12:19:52 +01:00
Elliot Hesp 54bf957cb3 [admob] Support 11.0 VideoController methods 2017-06-20 12:19:26 +01:00
Chris Bianca 5795e08f2c [test] Fix iOS auth test 2017-06-16 16:54:54 +01:00
Chris Bianca 2fdb73656e [android][database] Fix hanging db when querying object with large numerical keys 2017-06-16 13:10:11 +01:00
Chris Bianca 61ed7e1e96 [tests] Fix database query test 2017-06-16 12:43:10 +01:00
Chris Bianca f2826683f6 [tests][android] Remove android specific test logic as it now matches iOS 2017-06-16 12:17:38 +01:00
Elliot Hesp 1ef1d6f079 Updated documentation to match latest Firebase changes 2017-06-12 14:45:34 +01:00
Elliot Hesp 4c87131328 [crash][both] Add support for isCrashCollectionEnabled & setCrashCollectionEnabled 2017-06-12 14:26:56 +01:00
Elliot Hesp 400a0ffbe0 [android] Update project to latest API & gradle version 2017-06-12 14:10:47 +01:00
Elliot Hesp f92e1b7afd [admob][ios] Started basic working version of Interstitial 2017-06-05 17:00:59 +01:00
Elliot Hesp c710f135ce [admob][android] Support multiple test devices 2017-06-05 14:12:49 +01:00
Elliot Hesp f0dce1512b [tests] Use prop-types over React.PropTypes 2017-06-05 10:04:04 +01:00
Elliot Hesp a6705dfb3d [admob] Add tests 2017-06-01 11:15:37 +01:00
Elliot Hesp 35aeef460f Merge 2017-05-31 16:36:28 +01:00
Chris Bianca abf17d8d7f [android] Split into separate packages for each strand of Firebase functionality 2017-05-30 16:16:56 +01:00
Salakar b7b4febe3f [ios][admob] added stub modules 2017-05-27 15:24:51 +01:00
Elliot Hesp 18774bbb40 [admob][android] WIP Basic view 2017-05-25 17:00:53 +01:00
Elliot Hesp 45f8f4076d [auth] Implemented fetchProvidersForEmail 2017-05-25 14:45:03 +01:00
Elliot Hesp f4d9ac291b [pref] Add tests to test suite 2017-05-25 10:41:40 +01:00
Elliot Hesp 66df0b0463 [pref][ios] Implement performance monitoring 2017-05-25 10:39:54 +01:00
Elliot Hesp 8839aa1e43 Remove JS logs from app 2017-05-25 09:15:35 +01:00
Elliot Hesp 9ebda147f8 [perf][android] Add setPerformanceCollectionEnabled method 2017-05-25 08:41:43 +01:00
Elliot Hesp dfa7b7ca41 [perf] Implement tests 2017-05-24 17:02:25 +01:00
Elliot Hesp a0d492ddac [perf][android] Move deps into app project, out of RNFirebase 2017-05-24 12:37:26 +01:00
Elliot Hesp 037de1f77b Force cache refresh on config tests 2017-05-23 14:08:24 +01:00
Elliot Hesp 55864b744a Update tests 2017-05-23 13:18:39 +01:00
Elliot Hesp 3cf04908c3 Add remote config tests 2017-05-23 11:50:10 +01:00
Chris Bianca 90a130c729 [ios] Use RCTSharedApplication() instead of [UIApplication sharedApplication] 2017-05-15 12:00:41 +01:00
Salakar 55754b37a6 [tests] un-focus tests 2017-05-13 13:09:43 +01:00
Salakar bb64cae09c [ios][database] query modifiers with float values now correctly query - added 2 issue specific tests - fixes #108 2017-05-13 02:38:27 +01:00
Salakar e6bd721617 [js] removed unused import 2017-05-12 12:05:07 +01:00
Chris Bianca c4f8688348 [android][database] Fix issue #100 2017-05-10 20:44:28 +01:00
Michael Diarmid 564cc5c19d Update README.md 2017-05-10 11:12:03 +01:00
Salakar c8a3440fd4 added test for issue #100 2017-05-09 16:00:41 +01:00
Salakar c88894b2a3 Merge branch 'master' of https://github.com/invertase/react-native-firebase
# Conflicts:
#	tests/ios/Podfile.lock
2017-05-09 13:53:50 +01:00
Salakar 1d0acf4244 upgrade tests app to RN 44 2017-05-09 13:53:05 +01:00
Aleck Greenham a81392c229 [TestSuite] Update pending test in onValueTests 2017-05-09 08:09:36 +01:00
Aleck Greenham 4177e3e6bb [TestSuite][Android] Fix #92 Adjust tests to reflect Reference.on() expected behaviour 2017-05-09 07:51:54 +01:00
Aleck Greenham febbca2e47 [TestSuite] Update Podfile.lock 2017-05-09 07:50:09 +01:00
Aleck Greenham f7ae310376 Merge branch 'master' of https://github.com/invertase/react-native-firebase into dev_ref_on 2017-05-06 16:32:17 +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
Aleck Greenham 86d771ba1b [TestSuite] Add stack traces to failed tests 2017-05-06 13:10:09 +01:00
Aleck Greenham 6874c83efd [TestSuite] Clean up TestSuite code further 2017-05-06 12:47:31 +01:00
Aleck Greenham 591cf735d6 [TestSuite] Show full test description on Test screen 2017-05-06 11:49:44 +01:00
Aleck Greenham 619661e8f7 [Test Suite] Don’t run focused pending tests 2017-05-06 09:57:18 +01:00
Michael Diarmid 8b8077cf4d Merge pull request #86 from greena13/dev_gradle_updates
[TestSuite] Upgrade gradle version and increase daemon memory allocation
2017-05-05 08:25:44 +01:00
Aleck Greenham 67bc409e9b [TestSuite] Upgrade gradle version and increase daemon memory allocation 2017-05-04 18:53:54 +01:00