Commit Graph

38 Commits

Author SHA1 Message Date
Salakar a040485193 prettier 2018-08-25 19:21:07 +01:00
Salakar 430d25e45b [internals][js] add explicit namespace: false - for flow 2018-08-20 12:51:11 +01:00
Salakar d33233389b [internals][js] invert namespace check 2018-08-18 16:48:51 +01:00
Salakar 08796b91fb [internals][js] add `CUSTOM_URL_OR_REGION_NAMESPACES` flag and refactor 2018-08-17 21:23:03 +01:00
Salakar 151f6b4886 [functions][js] re-write HttpsError class to not extend Error - Babel 7 bug with extending builtin classes.. 2018-08-17 20:15:14 +01:00
Salakar 8ffa41b8ad [functions][js] default region via argument defaults not working in Babel7 - changed to inline or. 2018-08-17 20:12:25 +01:00
Salakar e13e98e010 [types] fix flow issues 2018-08-17 20:10:28 +01:00
Salakar af4e247ef3 Merge remote-tracking branch 'origin/master' 2018-08-16 13:13:33 +01:00
Salakar 1b309d1dae [database][js] rename internal property 2018-08-16 13:11:34 +01:00
Michael Diarmid 742863d9df
Merge pull request #1393 from ryanggrey/background-notification-fix-ios
Background notification fix for ios
2018-08-16 12:46:20 +01:00
Salakar 0c46523045 [auth][types] AuthProvider.credential token allow null or string explicitly 2018-08-16 06:38:58 +01:00
Ryan Grey 5689d702e4 Update ts/flow types
CompletionHandler is no longer passed as a param to listener.
Instead it exists on the IOSNotification class.
2018-08-15 11:51:35 +01:00
Ryan Grey 0d0f85d217 Add complete getter for IOSNotification 2018-08-15 11:32:23 +01:00
Ryan Grey 363c315d60 Pass notifications (not ios notifications) into IOSNotification 2018-08-15 11:32:23 +01:00
Ryan Grey cfb5f3a304 Ensure notificationId is set before constructing IOSNotification 2018-08-15 11:32:23 +01:00
Ryan Grey 0af7c02955 Move autocompletion into IOSNotification class 2018-08-15 09:10:34 +01:00
Ryan Grey 000a4ec724 Move ios API into IOSNotifications 2018-08-15 09:10:33 +01:00
Ryan Grey 1ad4b8c0dd Make the user handling of completion all or nothing
The user controls this with a `_shouldAutoComplete` property. If true
we'll immediately call the completion handler for them. If false then
control is given to the user and we won't try and auto complete.
2018-08-14 14:33:01 +01:00
Gustavo Brunoro 40b9c4d339 Type declaration of AuthProvider.credential allows null token 2018-08-14 01:03:17 -03:00
Salakar 619cd17516 [messaging][js] re-order deleteToken method 2018-08-14 02:04:30 +01:00
Salakar c6d0470b14 merge 2018-08-14 02:03:39 +01:00
Salakar 2bb91b2c38 [messaging][js] add `deleteToken` support - fixes #1335 2018-08-14 02:02:38 +01:00
Michael Diarmid 23e28e453f
Merge pull request #1398 from invertase/functions-multi-app-regions
[utils][js][android] add `firebase.utils().getPlayServicesStatus(): P…
2018-08-14 01:51:01 +01:00
Salakar f86163460d [utils][js][android] add `firebase.utils().getPlayServicesStatus(): Promise<GoogleApiAvailabilityType | null>` to retrieve the latest play services status. Fixes #1257 2018-08-14 01:49:59 +01:00
Michael Diarmid 39675fc828
Merge pull request #1395 from invertase/functions-multi-app-regions
[functions][wip] add support for multiple apps, specifying a region & useFunctionsEmulator
2018-08-14 01:22:46 +01:00
Salakar a2c56a5be4 [internals][js] remove legacy `options` arg for module constructors and cleanup constructor args 2018-08-14 01:11:14 +01:00
Gustavo Brunoro e41397b904 exports the AuthCredential type 2018-08-13 20:22:25 -03:00
Salakar fbc47c5cf2 [functions][js] add support for multiple firebase apps and specifying a function region 2018-08-13 23:17:53 +01:00
Salakar 7632da1809 [js][internals] internals re-write to generalise `app()`/`ModuleBase` arguments - now uses `customUrlOrRegion` - meaning support for custom functions() regions, custom database() shard urls and custom storage() bucket urls internally use the same logic 2018-08-13 23:06:15 +01:00
Ryan Grey 89f7698e5f Merge branch 'master' into background-notification-fix-ios 2018-08-13 08:28:37 +01:00
Andrew Crites 68ea9120ca
[types]: Export config property from firebase 2018-08-09 11:30:52 -04:00
Andrew Crites 1d56ddda6d
[types]: Rename FireStore to Firestore. Remove deleted crash export 2018-08-09 11:27:48 -04:00
Andrew Crites 12af6f39f3
[types]: adding module for config 2018-08-09 11:19:59 -04:00
Andrew Crites 1d91cad542
[types]: Format typings and export new additions 2018-08-09 11:19:41 -04:00
Andrew Crites c61f860d67
[types]: Completing TypeScript module definitions 2018-08-09 11:19:01 -04:00
Andrew Crites 317bc6be18
[types]: TypeScript modules for easier import
* database

* storage
2018-08-09 11:18:09 -04:00
Andrew Crites adba9467e7
[module] Export module functions directly 2018-08-09 11:14:46 -04:00
Salakar 85321b5246 restructure source + fix linting issues from new eslint version 2018-08-05 02:32:50 +01:00