-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ensure that a PushProvider is available on a device before using it. #2248
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## develop #2248 +/- ##
===========================================
- Coverage 70.00% 69.95% -0.05%
===========================================
Files 1335 1335
Lines 32632 32656 +24
Branches 6788 6791 +3
===========================================
+ Hits 22843 22844 +1
- Misses 6512 6535 +23
Partials 3277 3277 ☔ View full report in Codecov by Sentry. |
It help to fallback to UnifiedPush (if available) if the PlayServices are not installed on the device.
dc0111b
to
54f3f8d
Compare
Quality Gate passedKudos, no new issues were introduced! 0 New issues |
📱 Scan the QR code below to install the build (arm64 only) for this PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR LGTM, thanks.
Let the device fallback to UnifiedPush if the PlayServices is not available on the device, even if installed from the PlayStore.
Just curious, is that even possible?
Absolutely. For one thing, there are alternative store applications (eg Aurora store) which install apks from the play store without having any Google Framework installed. ...or so I have heard from a friend 😜 |
Does this mean that one cannot choose to use UnifiedPush from within the app? One can only use UnifiedPush if, somehow, PlayServices is made unavailable? |
Yes. There is no in app selector if both providers are available. |
Is there a plan to add one in the future? |
Type of change
Content
Ensure that a PushProvider is available on a device before using it.
It help to fallback to UnifiedPush (if available) if the PlayServices are not installed on the device.
Motivation and context
Let the device fallback to UnifiedPush if the PlayServices is not available on the device, even if installed from the PlayStore.
Screenshots / GIFs
Tests
Tested devices
Checklist