Commit Graph

409 Commits

Author SHA1 Message Date
Salakar 5fb1ad6781 [firestore] fix issue with NaN serialization 2018-02-23 02:59:39 +00:00
Chris Bianca 8e84dd576b [notifications] Specific notificationPressed data type including action 2018-02-22 17:25:15 +00:00
Chris Bianca 303cb4c428 [notifications] Refactor for better support of separate messages 2018-02-22 15:52:24 +00:00
Chris Bianca a244f17853 [fcm] More iOS event separation 2018-02-18 16:02:31 +00:00
Chris Bianca 5ca7222517 [build] Remove unnecessary `providesModule` declaration 2018-02-17 13:22:46 +00:00
Chris Bianca 0002bd0753 [build] Remove providesModule 2018-02-17 13:10:13 +00:00
Chris Bianca c57c6a74a8 [flow] Remove custom flow error tag 2018-02-17 12:55:19 +00:00
Chris Bianca 9255b4be10 [notifications] Minor fixes 2018-02-16 09:46:53 +00:00
Chris Bianca cd0ef4e3b7 [notifications] Continue android implementation 2018-02-15 14:59:21 +00:00
Chris Bianca 99b4b6550b [notifications] WIP Android implementation 2018-02-15 08:11:17 +00:00
Kenneth Skovhus 60d847cf78 [types] Use literal values for strings 2018-02-15 00:17:05 +01:00
Chris Bianca 804a8e4c65 Merge branch 'master' into fcm-rewrite
# Conflicts:
#	lib/modules/messaging/index.js
#	lib/types/index.js
#	tests/ios/Podfile.lock
2018-02-14 15:28:15 +00:00
Chris Bianca 4e81527246 [types] Export app, auth, database and firestore types 2018-02-14 13:00:19 +00:00
Chris Bianca 1199b2bb33 [types] Rename back to proper capitalised file name 2018-02-14 10:07:07 +00:00
Chris Bianca 0d348392eb [types] More temp renames for capitalisation 2018-02-14 10:05:28 +00:00
Chris Bianca c8106a3897 [types] Temp rename of file to allow capitalisation 2018-02-14 10:02:34 +00:00
Chris Bianca 6b911b207b [notifications] Start iOS implementation of notifications 2018-02-14 09:07:29 +00:00
Salakar 609324e292 [database] remove transaction listener instance from class 2018-02-13 13:58:52 +00:00
Salakar a108d43e95 [firestore] remove transaction listener instance from class 2018-02-13 13:58:23 +00:00
Salakar 4c0b1639ab [firestore][js] initial draft of firestore transactions RNFB JS api 2018-02-11 23:37:21 +00:00
Chris Bianca fb57dc5482 [notifications] First pass at notifications JS API 2018-02-09 17:00:03 +00:00
Chris Bianca 7b95613ec6 [fcm] Some internal JS tweaks 2018-02-09 16:59:29 +00:00
Chris Bianca fe095db90d [fcm] Another little fix 2018-02-09 10:23:35 +00:00
Chris Bianca 1ddc76616d [fcm] Fix getInitialMessage; Handle a few more android fields 2018-02-09 10:17:16 +00:00
Chris Bianca 7cac981468 [fcm] Tweak names to make things clearer 2018-02-09 09:23:03 +00:00
Chris Bianca 326d1778c6 [fcm] Improved RemoteMessage; Exported constants as part of messaging statics; 2018-02-09 07:50:51 +00:00
Chris Bianca 4ff20007f5 [fcm] Add iOS completion handlers 2018-02-08 17:07:20 +00:00
Chris Bianca b5b02ed84d [ios] Add hasPermission method 2018-02-05 18:04:10 +00:00
Chris Bianca 850f04914f [fcm] Android instanceid and core fcm support; iOS instance and basic fcm support 2018-02-02 08:40:48 +00:00
Chris Bianca bddccb0872 [admob] A few internal fixes 2018-01-31 16:05:38 +00:00
Chris Bianca f0610082de [admob] Correct name of native module 2018-01-31 15:28:20 +00:00
Chris Bianca d429db7e86 [fcm] First steps towards identifying the new API for messaging / notifications 2018-01-30 11:15:59 +00:00
Chris Bianca 0ace49ca81 [database] Fix wrong path from snapshot reference #679 2018-01-26 11:55:37 +00:00
Chris Bianca 3f1c8c4571 [typings] Fix flow issue 2018-01-26 10:11:43 +00:00
Chris Bianca fba6380729 [js] Run prettier for the first time 2018-01-25 18:25:39 +00:00
Chris Bianca d14be68243 [auth] Fix typo 2018-01-24 15:46:18 +00:00
Chris Bianca c8d0cd4b18 [auth] Add static reference to OAuthProvider 2018-01-24 15:30:17 +00:00
Chris Bianca 5f3a9755d7 [auth] Add OAuthProvider 2018-01-24 15:21:52 +00:00
Chris Bianca c3e5eb634e [tests][auth] Tests for onAuthStateChange, onIdTokenChanged and onUserChanged 2018-01-24 15:03:21 +00:00
Chris Bianca 66a8ef6926 [firestore] Address issues with false query options 2018-01-24 14:22:54 +00:00
Chris Bianca af35cda353 [auth] Add deprecation warnings for non withData methods 2018-01-24 12:20:24 +00:00
Chris Bianca 248885f03e [auth] Add verifyPasswordResetCode 2018-01-24 12:20:06 +00:00
Chris Bianca d370d002fb [auth] Add withData methods 2018-01-24 09:46:39 +00:00
Chris Bianca 9396b4fb31 [auth] Add metadata support 2018-01-19 16:19:15 +00:00
Chris Bianca cb28c458a8 Merge commit '637cd81424b9a18cdec9735492a21f06be4e7ccf' 2018-01-18 09:49:27 +00:00
Chris Bianca a0de480fc7 [auth] Some flow types and tidy up 2018-01-18 09:49:11 +00:00
Michael Diarmid c14d9292b0
Merge pull request #655 from invertase/auth-language
Set auth language #654
2018-01-17 15:23:41 +00:00
Michael Diarmid 983d273846
Update index.js 2018-01-17 15:22:39 +00:00
Chris Bianca 285e31df65 [auth] Remove superfluous getCurrentUser method which doesn’t exist in API 2018-01-16 17:39:27 +00:00
Chris Bianca 63859b311d [internals] Bump the library and tests app to the latest version of RN, React, etc 2018-01-16 17:08:52 +00:00
Chris Bianca 3dacb35291 [firestore] Add FieldPath support to DocumentReference and WriteBatch update methods 2018-01-12 11:49:45 +00:00
Chris Bianca 5e062868fc [firestore] Add FieldPath support to DocumentSnapshot and Query 2018-01-11 18:28:14 +00:00
Chris Bianca d700bf9d6d [core] Add SDK_VERSION 2018-01-09 17:32:08 +00:00
Chris Bianca 301f2749c0 [internals] Migrate multi app flag to module configuration 2018-01-09 17:32:08 +00:00
Elliot Hesp 06424aff14 [auth] use [DEFAULT] languageCode for dynamic apps 2018-01-08 11:30:59 +00:00
Elliot Hesp 409cd70ab1 [auth] Update iOS methods to internals change 2018-01-08 10:07:15 +00:00
Elliot Hesp fbc97bc2c8 Merge branch 'master' into auth-language 2018-01-08 09:22:53 +00:00
Chris Bianca fe19942e18 [android][utils] Fix a couple of minor Android issues with internals refactor 2018-01-08 09:20:32 +00:00
Elliot Hesp 9ea0a5cc7f [auth] Move useDeviceLanguage to unsupported method 2018-01-06 15:14:11 +00:00
Elliot Hesp 9d47709ffa Merge with master 2018-01-06 14:47:11 +00:00
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