Title: [FR] - Need a setter to set FCM host for Functional tests/Service Level tests. · Issue #802 · firebase/firebase-admin-java · GitHub
Open Graph Title: [FR] - Need a setter to set FCM host for Functional tests/Service Level tests. · Issue #802 · firebase/firebase-admin-java
X Title: [FR] - Need a setter to set FCM host for Functional tests/Service Level tests. · Issue #802 · firebase/firebase-admin-java
Description: Summary: I recently integrated FCM SDK to send Push Notifications. The integration was very simple and smooth but while I started writing Functional Tests, I got to know that I can't give FCM host while constructing a FcmMessaging object...
Open Graph Description: Summary: I recently integrated FCM SDK to send Push Notifications. The integration was very simple and smooth but while I started writing Functional Tests, I got to know that I can't give FCM host ...
X Description: Summary: I recently integrated FCM SDK to send Push Notifications. The integration was very simple and smooth but while I started writing Functional Tests, I got to know that I can't give FCM h...
Opengraph URL: https://github.com/firebase/firebase-admin-java/issues/802
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[FR] - Need a setter to set FCM host for Functional tests/Service Level tests.","articleBody":"**Summary**:\r\nI recently integrated FCM SDK to send Push Notifications. The integration was very simple and smooth but while I started writing Functional Tests, I got to know that I can't give FCM host while constructing a `FcmMessaging` object. The `FCM_URL` is hardcoded in the `FirebaseMessagingClientImpl` class, which is restricting me from writing functional tests.\r\n\r\n**Solution**:\r\nWhile constructing the `FcmMessaging` object or while initializing `FirebaseApp` there can be an option to pass the FCM host. If the host is not passed then the default hardcoded host must be used.\r\n\r\n**Describe alternatives you've considered**\r\nCurrently, due to this, I'm blocked from writing FTs. I'm currently only dependent on UTs\r\n\r\n","author":{"url":"https://github.com/yashjain12yj","@type":"Person","name":"yashjain12yj"},"datePublished":"2023-04-24T19:39:25.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/802/firebase-admin-java/issues/802"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:d1680e26-77c5-e2cc-197f-c237afb52303 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9240:3F004:113F774:163AAF8:699075A5 |
| html-safe-nonce | 6923b63eb1d8300ffda7d93846c7a8abc50cafd77e7cff0211e5acc3371f9e47 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MjQwOjNGMDA0OjExM0Y3NzQ6MTYzQUFGODo2OTkwNzVBNSIsInZpc2l0b3JfaWQiOiI2NjA3MDM1NDMyNTgzNTkxMzM0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 746fa1b49f1e132cca177630f9306fb40fbd5e1f8614abff89b21d0b66b2b1bf |
| hovercard-subject-tag | issue:1681905090 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/firebase/firebase-admin-java/802/issue_layout |
| twitter:image | https://opengraph.githubassets.com/58e98d33068158c7c55f4a5317bb7169df0dbccfce3f8a33ca96d55f2d74ec4b/firebase/firebase-admin-java/issues/802 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/58e98d33068158c7c55f4a5317bb7169df0dbccfce3f8a33ca96d55f2d74ec4b/firebase/firebase-admin-java/issues/802 |
| og:image:alt | Summary: I recently integrated FCM SDK to send Push Notifications. The integration was very simple and smooth but while I started writing Functional Tests, I got to know that I can't give FCM host ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | yashjain12yj |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/firebase/firebase-admin-java git https://github.com/firebase/firebase-admin-java.git |
| octolytics-dimension-user_id | 1335026 |
| octolytics-dimension-user_login | firebase |
| octolytics-dimension-repository_id | 84979119 |
| octolytics-dimension-repository_nwo | firebase/firebase-admin-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 84979119 |
| octolytics-dimension-repository_network_root_nwo | firebase/firebase-admin-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3b33c5aedc9808f45bc5fcf0b1e4404cf749dac7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width