Commit Graph

2132 Commits

Author SHA1 Message Date
Salakar 434d43d713 5.0.0-rc1 2018-08-20 12:56:35 +01:00
Salakar 430d25e45b [internals][js] add explicit namespace: false - for flow 2018-08-20 12:51:11 +01:00
Salakar 986ad18ae7 [tests][perf] setPerformanceCollectionEnabled should re-enable otherwise other tests fails 2018-08-18 23:56:40 +01:00
Salakar 7bebdbed7f [tests] misc ios project 2018-08-18 23:55:58 +01:00
Salakar d33233389b [internals][js] invert namespace check 2018-08-18 16:48:51 +01:00
Salakar e0e0389887 [tests] workaround bug in firebase admin sdk - https://github.com/firebase/firebase-admin-node/issues/312 2018-08-18 16:47:32 +01:00
Salakar 86eb39ab2c [tests][iid] "fix" test race condition - delete on iOS sdk immediately resolves even though it's still deleting 2018-08-18 16:44:44 +01:00
Salakar e74a347dfc [perf][ios] annotate NSNumbers as `nonnull` to fix RN unspecified nullability compatibility error 2018-08-18 16:41:25 +01:00
Salakar 7e7794cb70 [tests][functions] add multi-app and multi-region tests 2018-08-17 21:25:03 +01:00
Salakar 08796b91fb [internals][js] add `CUSTOM_URL_OR_REGION_NAMESPACES` flag and refactor 2018-08-17 21:23:03 +01:00
Salakar 22ad63118c [tests] refactor dynamic apps platform config into a TestsHelper util -> TestsHelper.core.config() 2018-08-17 21:13:04 +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 5fa86b8d1f [functions][ios] regions, multiapp & useFunctionsEmulator support 2018-08-16 15:05:51 +01:00
Salakar a061006759 [ios] update Firebase SDK pods minimum supported version 2018-08-16 14:51:17 +01:00
Salakar 87cf8d900c [tests][ios] update Firebase pods to v5.6.0 2018-08-16 14:49:46 +01:00
Salakar af4e247ef3 Merge remote-tracking branch 'origin/master' 2018-08-16 13:13:33 +01:00
Salakar de524a52fb [tests] update cloud functions testing project to include region testing function 2018-08-16 13:13:16 +01:00
Salakar 1b309d1dae [database][js] rename internal property 2018-08-16 13:11:34 +01:00
Salakar e800756bfa [tests][ios] update dependencies 2018-08-16 13:10:43 +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 5839aadf0f [database][android] reset transaction signalled state on await() 2018-08-16 07:18:01 +01:00
Salakar 0c46523045 [auth][types] AuthProvider.credential token allow null or string explicitly 2018-08-16 06:38:58 +01:00
Salakar 097316b63b v5.0.0-rc0 2018-08-16 06:38:04 +01:00
Michael Diarmid 8358144259
Merge pull request #1400 from PatronGG/nullable-idtoken-string
Type declaration of AuthProvider.credential allows null token
2018-08-15 22:47:33 +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
Salakar 769b3e742a android dep version changes 2018-08-14 02:00:27 +01:00
Michael Diarmid 433127c4bc
Merge pull request #1348 from bilalsyed001/master
[iOS] Fix getInitialLink to handle unresolved url
2018-08-14 01:53:55 +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 f83ddb89a6
update version compatibility table 2018-08-14 01:30:58 +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
Michael Diarmid c44aed7d8a
Merge pull request #1397 from PatronGG/export-auth-credential-type
Exports the AuthCredential type
2018-08-14 01:16:03 +01:00
Salakar d65d9e405c [tests] update tests to use jet package 2018-08-14 01:11:57 +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 a2205160d8 [functions][android] add support for multiple firebase apps and specifying a function region 2018-08-13 23:18:08 +01: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