Commit Graph

527 Commits

Author SHA1 Message Date
Chris Bianca e7be3cc7f8 [links] Correct platform OS name 2018-03-30 09:52:37 +01:00
Chris Bianca a6c63d4f50 [links] Introduce JS initialised method to improve getInitialLink 2018-03-30 09:25:41 +01:00
Sibelius Seraphini 96f55e329e
feat(flow): export NotificationOpen
fix #923
2018-03-29 13:53:39 -03:00
Chris Bianca cf24a7dcc8 [types] Add TypeScript typings for firestore transactions 2018-03-28 16:00:58 +01:00
Chris Bianca d101813b5f [messaging][notifications] Make all methods return a promise where they didn’t previously 2018-03-28 11:02:39 +01:00
Chris Bianca dd940b953b [firestore] Add support for enable / disable network 2018-03-27 17:31:25 +01:00
Chris Bianca 804ef772c0 [database] Fix issue with server time offset #910 2018-03-27 16:33:51 +01:00
Chris Bianca 6ff34f4daa [notifications] Add support for Android BigPictureStyle and BigTextStyle 2018-03-27 16:15:31 +01:00
Chris Bianca 1ea711fb31 [types] Some basic typescript stuff for new messaging, notifications and links rewrite 2018-03-23 17:31:25 +00:00
Chris Bianca 8a9033457d [tests] Fix various test errors 2018-03-23 17:03:53 +00:00
Chris Bianca 477e509101 [iid] Rename instanceid to iid 2018-03-23 14:59:00 +00:00
Chris Bianca 56d9c43a81 [links] More minor fixes 2018-03-23 14:36:16 +00:00
Chris Bianca b9dab3cb17 [links] Some error checking 2018-03-23 13:26:20 +00:00
Chris Bianca 7f90e485c8 [links] Refactor links to use builder classes 2018-03-23 13:24:31 +00:00
Chris Bianca 526ea04853 Merge branch 'ios-invites' 2018-03-23 11:47:28 +00:00
Chris Bianca e430a4f132 [invites] Tweaks 2018-03-23 11:38:59 +00:00
Chris Bianca 72a1d1d439 [invites][links] Fix some iOS specific issues 2018-03-23 10:33:17 +00:00
Elliot Hesp 5baab58584
Merge pull request #903 from ifiokjr/patch-1
FIX: Types for requestPermissions on iOS
2018-03-23 09:52:41 +00:00
Chris Bianca 1a5253997d [database] Multi database check url format, and make logging static 2018-03-23 08:42:10 +00:00
Chris Bianca a605a703fb
Merge pull request #881 from pocketgems/multiple_databases_3.3.0_upstream
Implement multiple database shard support
2018-03-23 08:35:01 +00:00
Ifiok Jr b06d68e39e
fix: types for request permission
Currently returns void rather than a promise which causes TypeScript compilation to fail.
2018-03-23 06:32:32 +00:00
Chris Bianca 2891027f25 [tests] Fix some configuration issues 2018-03-22 14:55:02 +00:00
Chris Bianca 53babb4cd9 [invites] Initial JS and Android invites functionality 2018-03-22 12:46:37 +00:00
Chris Bianca e3ea0d3fc7 [analytics] Add additional validation 2018-03-22 08:46:00 +00:00
JinHao Chen cc8799b465 Implement multiple database shard support 2018-03-21 12:51:02 -07:00
Chris Bianca e791648c24 Tests for firestore and auth 2018-03-20 16:07:37 +00:00
Chris Bianca 287ad216cf [notifications] Fix flow type 2018-03-09 11:15:27 +00:00
Chris Bianca e537955212 [notifications] Add support for android actions 2018-03-09 11:09:28 +00:00
Kenneth Skovhus a6880a00a9 [types] Use literal values for strings 2018-03-09 05:16:40 +01:00
Simon Bengtsson aa2511cbd3 [database][js] Reject promise instead of resolving an error object when ref.once('value') fails 2018-03-08 14:10:41 +01:00
Chris Bianca a82afe92d6 Merge branch 'v3.3.x'
# Conflicts:
#	tests/ios/Podfile.lock
2018-03-08 11:53:31 +00:00
Chris Bianca 7f8a486b40 [types] Fix transaction flow type errors 2018-03-08 11:13:21 +00:00
Chris Bianca 68cfd24810 [messaging] Fix a couple of flow errors 2018-03-08 10:42:35 +00:00
Chris Bianca 7619548a2c Merge branch 'master' into fcm-rewrite
# Conflicts:
#	lib/modules/core/firebase.js
#	tests/ios/Podfile.lock
2018-03-08 09:32:57 +00:00
Chris Bianca 57ffa9bd3e [notifications] Fix some android issues with local notifications 2018-03-07 18:29:53 +00:00
Chris Bianca a6734fa439 [auth][types] Fix incorrect return type for createUserAndRetrieveDataWithEmailAndPassword #862 2018-03-07 14:33:16 +00:00
Chris Bianca aa367e7be8 Merge branch 'fcm-rewrite-separate-events' into fcm-rewrite 2018-03-07 12:46:40 +00:00
Chris Bianca 7b9269fec5 [notifications] Rename `onNotificationOpened` to `onNotificationOpen` 2018-03-06 18:20:49 +00:00
Chris Bianca b9df258402 [notifications] Android channel and channel group support 2018-03-05 08:28:13 +00:00
Salakar 820bb0b0d4 [internals] remove bows logger + window shims - fixes #858 2018-03-05 01:58:42 +00:00
Salakar d1e86f59ab [js][analytics] logEvent now validates argument types (fixes #846) 2018-03-05 00:27:49 +00:00
Michael Diarmid f1a7a13587
Merge branch 'master' into firestore-transactions 2018-03-05 00:05:37 +00:00
Chris Bianca f1b5626483 [firestore] Add unsupported network methods 2018-03-02 10:28:17 +00:00
Chris Bianca 49757eb56d A few more firestore tests 2018-03-01 19:04:13 +00:00
Salakar a21fc755a1 merge master 2018-03-01 16:32:44 +00:00
Chris Bianca 7acace4ce6 [notifications][ios] Properly define attachment options 2018-03-01 08:39:24 +00:00
Chris Bianca ee3b2932ef [notifications] Rename `onPressed` to `onOpened` 2018-02-24 11:32:14 +00:00
Salakar e73812a1e0 fix #848 2018-02-24 05:53:07 +00:00
Chris Bianca 07bc258c08 [messaging] Add missing setTo method 2018-02-23 16:36:59 +00:00
Chris Bianca c5778c3d0d [notifications] JS tidy up 2018-02-23 16:11:59 +00:00
Chris Bianca 2838bbc0cd [notifications] Last part of iOS implementation 2018-02-23 15:34:00 +00:00
Salakar 3f4c59f81d [firestore][js] misc transactions internals changes 2018-02-23 03:02:17 +00:00
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 e6a7004c5d [types] Export messaging and notifications types 2018-02-15 15:34:31 +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 8060c949a2 [typings] Add a few missing app, auth and firestore Typescript typings 2018-01-31 09:09:12 +00:00
Chris Bianca d429db7e86 [fcm] First steps towards identifying the new API for messaging / notifications 2018-01-30 11:15:59 +00:00
chrisbianca c8195088db
Merge branch 'master' into master 2018-01-30 11:10:15 +00:00
Paul Huynh 90195769fd Fix implicit 'any' and incorrect placement of optional boolean in getIdToken 2018-01-30 21:15:09 +11:00
Paul Huynh 7f394b56e5 Remove implicit 'any' type on QuerySnapshot.forEach() 2018-01-30 10:44:57 +11:00
pheromonez 157f0109cd
Merge branch 'master' into typescript-definitions-static-module-fix 2018-01-30 10:07:07 +11:00
chrisbianca a81ea85c0d
Merge pull request #771 from pheromonez/master
Add Typescript Definitions for Cloud Firestore
2018-01-29 16:03:15 +00:00
Paul Huynh 80be7474ff Address typing issues:
- Remove constructors intended to be private, and convert classes to
interfaces
- Allow 'false' for QueryListenOptions and DocumentListenOptions
properites
2018-01-29 20:55:18 +11:00
Paul Huynh 2bd4a667a9 Fix TS definitions so modules can be accessed from the default export 2018-01-29 16:14:13 +11:00
Daniel Waller 42fe8ddd65 [typings][typescript] fix tsc errors 2018-01-26 17:39:52 +01:00
Daniel Waller 1770181058 [typings][typescript]: fix stupid typo I introduced with my last PR that breaks tsc compilation 2018-01-26 13:34:06 +01: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