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
1f29354145
[internals] Fix a couple of missing log references
2017-12-27 15:29: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
c8d82207f4
[crashlytics][ios] Fix a couple of minor issues
2017-12-15 17:04:11 +00:00
Chris Bianca
4c75e188f7
[firestore][typings] A few tweaks to match documentation
2017-12-15 11:46:37 +00:00
Chris Bianca
a03c445e0c
[auth] Add support for state in email actions
2017-12-07 12:36:51 +00:00
Chris Bianca
efeb24d168
[crashlytics] Add first version of crashlytics functionality
2017-12-06 17:25:17 +00:00
Chris Bianca
e697f11641
[typings] Fix some admob type issues
2017-12-06 16:42:21 +00:00
Chris Bianca
19cec2cd8b
Better flow config to remove unrelated errors
2017-12-04 12:07:41 +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
d41c42e288
[analytics] Update to match flow typings and documentation
2017-11-28 14:19:49 +00:00
Chris Bianca
e6a01aedb3
Merge branch 'master' of https://github.com/invertase/react-native-firebase
...
# Conflicts:
# lib/utils/SyncTree.js
2017-11-28 09:25:15 +00:00
Chris Bianca
5aa8435aff
[firestore] Fix incorrect references
2017-11-28 09:21:41 +00:00
Salakar
54e904e22f
[js][firestore] added `enableLogging(boolean)` method
2017-11-28 07:42:16 +00:00
Chris Bianca
d9b033f6c7
Merge branch 'master' of https://github.com/invertase/react-native-firebase
2017-11-23 17:30:12 +00:00
Chris Bianca
ff95c21b9d
[typings] Continue work on flow
2017-11-23 17:29:40 +00:00
Elliot Hesp
78a2b0a81a
Merge pull request #603 from gyfelton/transaction-promise-resolve
...
Make sure the promise is resolved/rejected for transaction
2017-11-20 09:27:14 +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
c4d7704623
[types] Missing firestore file
2017-11-17 11:08:04 +00:00
Chris Bianca
8bd9684644
[types] Get flow type working again; Fix majority of firestore type issues
2017-11-17 11:07:52 +00:00
Chris Bianca
5c43c88f6a
[firestore][js] Correct flow type
2017-11-16 16:54:42 +00:00
Elton Gao
0c550f3586
Make sure the promise is resolved/rejected for transaction
...
Right now the following code will be broken:
```
async function() {
await ref.transaction(
function(foo) {
// deal with foo
},
function(error, committed, ss) {
// additional work on complete callback
},
true
);
// NOTE: Code from here will never execute because promise above never gets resolved
}
```
v2 is not returning at the point of calling onComplete, v3 code does
2017-11-09 13:06:51 -05:00
Chris Bianca
89ce31689e
[auth][js] Add missing phoneNumber property
2017-11-09 15:18:09 +00:00
Salakar
7efb14f5b0
[js][database] added `enableLogging(boolean)` method to fix #525
2017-11-08 15:58:44 +00:00
Chris Bianca
e6b8ce193c
Merge branch 'v3.0.x'
2017-11-01 17:47:15 +00:00
Chris Bianca
270279551a
[firestore] Correctly support dates, geopoints, DocumentSnapshots and other types in startAt, startAfter, etc
2017-10-31 22:18:07 +00:00
Chris Bianca
6ae0049338
[firestore] Correctly support dates, GeoPoints and other types in `where` clause
2017-10-31 15:32:08 +00:00
Chris Bianca
5e12700c35
Merge commit '36c936779b9badf72a0a3d789efafd2dcdb5ba36'
...
# Conflicts:
# ios/RNFirebase.xcodeproj/project.pbxproj
# package.json
2017-10-31 14:33:31 +00:00
Salakar
bd4dc28391
change incorrect comment annotations
2017-10-29 01:27:45 +01:00
Salakar
07204789f0
Fix for #532
2017-10-29 01:10:34 +01: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
403a7eefa0
[firestore] Use ms instead of ISOString for date conversion
2017-10-24 09:09:48 +01:00
Chris Bianca
9822cb34d4
[database] Correctly differentiate limitToLast and other similar clauses
2017-10-23 17:03:49 +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
Elliot Hesp
9e8281c39a
[admob] move native component to singleton
2017-10-23 09:22:06 +01:00
Elliot Hesp
54c92d0640
[admob] move native component to singleton
2017-10-20 19:39:45 +01:00
Chris Bianca
bc1e827273
[database][js] Fix strict mode issue
2017-10-18 10:40:18 +01:00
Chris Bianca
31854bae5b
[auth] Update auth providers `providerId` to match official SDKs
2017-10-16 11:12:40 +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
c3d44d6c74
[firestore] Correctly handle `undefined` values
2017-10-13 09:05:57 +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
David Künnen
cf1ac63d2c
[firestore] Fix _metadata not defined error in DocumentSnapshot
2017-10-12 18:22:48 +02:00
Chris Bianca
f348ba8a8c
[firestore] Support FieldValue.delete() and FieldValue.serverTimestamp()
2017-10-12 09:00:46 +01:00
Chris Bianca
a89e741581
[firestore] Bring document change in sync with web sdk
2017-10-10 17:48:53 +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
08d467ff4d
take out validateParameters from Links class
2017-10-09 23:53:53 +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
Omer Levy
9758c99537
[docs] dynamic links docs fixes
2017-10-08 18:43:59 +03:00
Omer Levy
af47f7ca03
merge master into omer_links
2017-10-08 03:52:19 +03:00
Salakar
4f5fdda1f0
[utils] remove rn48 breaking support issue
2017-10-07 13:14:45 +01:00
Salakar
10247e067d
[utils] misc code comment
2017-10-07 03:53:20 +01:00
Salakar
f0fe05b0c6
[utils] misc
2017-10-07 03:15:46 +01:00
Salakar
e74b760288
[utils] move play services check
2017-10-07 03:09:05 +01:00
Salakar
a090bd3480
[android][utils] new utils() module - home of all non firebase utilities and library configuration options, including play services availability checks
2017-10-07 00:24:00 +01:00
Salakar
7b68d2c660
Merge remote-tracking branch 'origin/master'
2017-10-06 14:41:26 +01:00
Salakar
c4e19c4462
#451 , round 2
2017-10-06 14:41:13 +01: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
Salakar
658821a631
[database] misc todo note
2017-10-05 12:53:47 +01:00
Salakar
a8aaee7274
Merge remote-tracking branch 'origin/master'
2017-10-05 12:46:01 +01:00
Salakar
701491df18
[database] serverTimeOffset
2017-10-05 12:45:54 +01:00
Chris Bianca
f350c2b3ed
[firestore] Add metadata and bring methods in sync with web SDK reference
2017-10-05 10:18:24 +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
fd1ac6c2b7
[messaging] Fix for #451
2017-10-03 09:49:46 +01:00
Chris Bianca
cda1c27b5c
[firestore][android][js] Add document `onSnapshot` support plus tests
2017-10-02 13:11:38 +01:00
Salakar
904468271d
[auth] don't send timeout to native if ios - only on android
2017-10-02 09:46:34 +01:00
Omer Levy
6c2c11ebb2
Merge branch 'master' into omer_links
2017-10-01 13:30:25 +03:00
Omer Levy
af4ce2a2ca
align links to v3
2017-10-01 02:50:37 +03:00
Omer Levy
3db6a1839b
merge master into omer_links
2017-10-01 02:17:22 +03: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
Chris Bianca
6060c36c1c
[firestore][ios] Add initial iOS functionality
2017-09-28 13:48:28 +01:00
Chris Bianca
867a08da7b
[firestore][android] Resolve a few issues with basic operations
2017-09-27 17:20:32 +01:00
Chris Bianca
52b70d58e3
[android] Add the first raft of Android support
2017-09-27 12:57:53 +01:00
Michele Bombardi
e6cb5fed60
deleteInstanceId feature (Android only)
2017-09-26 16:33:20 +02:00
Chris Bianca
dfd9080281
[firestore][js] First pass of javascript implementation
2017-09-26 14:57:25 +01:00
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
3cde0e93d9
[flow] fix misc flow warnings
2017-09-25 21:29:40 +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
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
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
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
Omer Levy
79090f59a6
Merge commit 'a129994' into omer_links
2017-08-31 19:19:25 +03:00
Salakar
63e417fae3
[db][js] fix modifiers not returning new ref instance
2017-08-28 13:28:16 +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
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
a0e1f744ba
merge from master
2017-08-22 17:35:25 +01:00
Omer Levy
64fb4c1889
Add short links creation
2017-08-21 19:20:44 +03:00
Ben Richards
c1b9b5d532
moved EventTypes to new file to avoid enumerable key in AdMobComponent.propTypes
2017-08-20 22:58:40 -07:00
Omer Levy
b714b0a4d9
Add Long links creation
2017-08-20 17:57:06 +03:00
Salakar
fd474d5adb
[android][auth] phoneAuth via EE implementation
2017-08-19 05:22:07 +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
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
Salakar
dedfa48aa0
[js][database] _handleCancelEvent completed - now correctly handles cancellation events from .on()
2017-08-14 18:41:50 +01:00
Salakar
156e1a431c
[storage][js] update ref.toString - removed extra `/` and added `gs://` prefix
2017-08-14 14:11:17 +01:00
Salakar
56fc189d26
[storage][js] update ref.toString to now correctly return the full bucket path to the ref location
2017-08-14 14:06:37 +01:00
Salakar
534a52d16a
[database][js] remove unused import
2017-08-14 14:01:10 +01:00
Salakar
f90db16019
[database][js] ref.isEqual() now correctly compares query modifiers
2017-08-14 13:51:52 +01:00
Salakar
e1fc30bc8f
[database][js] thenable ref fix for #147
2017-08-14 13:30:44 +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
Salakar
5e3cf0ad7f
[js][database] todo comments
2017-08-11 15:58:42 +01:00
Elliot Hesp
0c69eb5237
[admob] Remove unused static method
2017-08-11 11:22:05 +01:00
Salakar
425dfbcc43
[js][database] once now supports passing context - as per the web sdk
2017-08-07 09:46:05 +01:00
Salakar
fb6251a6fd
[js][database] cleanup transaction completion wrapper
2017-08-05 22:00:06 +01:00
Salakar
53acfe3584
[js][database] remove, update, setWithPriority, setPriority & set now correctly support callbacks or promises
...
[js][database] fixed query modifier methods - were accessing incorrect query property
2017-08-05 21:49:28 +01:00
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
Chris Bianca
18b9a25ed5
[links] Start work on DynamicLinks support
2017-07-19 12:32:17 +01:00
Salakar
267f908c62
[core][js] misc cleanup/validation
2017-07-18 06:04:12 +01:00
Salakar
294ee0062d
[messaging][js] fixed EE issue
2017-07-18 06:03:35 +01:00
Salakar
d8fee7f5cb
[auth][ios] finalised auth changed listener logic
2017-07-17 20:56:08 +01:00
Salakar
ef259fbbc0
Merge branch 'master' of https://github.com/invertase/react-native-firebase into multi-apps
2017-07-17 17:35:16 +01:00