
The above information is contained in the Android development document.
for my testing, I changed the settings(app>battery>background restriction on), sent a push message, with device unplugged.
But the message was well received. Has this feature been applied yet?
my app targetsdkversion is 28.
I sent push message to the test device, and received.
I expected not to receive a push message because the test phone's os 9.0 and app>battery>background restriction on.
Is there anything I missed?
@HanSeungBeom that's a good question!
@kroikie does this apply to both notification and data messages? Also is it possible that an OEM could override this behavior?
@HanSeungBeom I did checking around and that restriction is not yet implemented. It will be turned on in an up coming update. I don't have a timeline for this update however I would recommend that you operate as if it were already implemented to avoid unexpected behavior in the future. I have also softened the language in the docs since the FCM restriction is not yet in operation, thanks for pointing that out.
@kroikie wow! Thank you kroikie 馃檱
Most helpful comment
@HanSeungBeom I did checking around and that restriction is not yet implemented. It will be turned on in an up coming update. I don't have a timeline for this update however I would recommend that you operate as if it were already implemented to avoid unexpected behavior in the future. I have also softened the language in the docs since the FCM restriction is not yet in operation, thanks for pointing that out.