User Profile
bonnewu
Level 1.5: Cupcake
Joined 12 months ago
User Widgets
Contributions
Re: Push pubsub not sending usage logs location event on lost mode
Turns out the problem was with device. I tried using Pixel 3 Android 13 phone and it worked as expected. Now I remembered that I was using this phone before for lost mode testing as well. I downloaded the logs but couldn't really understand much. Bug report3.2KViews0likes1CommentRe: Push pubsub not sending usage logs location event on lost mode
Sorry, can you explain how can I file a bug report? Do I do it from lost state window on my phone? Actually, it just went off by itself. Right now I was holding it in lost state for 20 minutes and it ended prematurely without my input. I checked my notifications: no stop command, or forced lost mode exit usage logs came.3.5KViews0likes3CommentsRe: Push pubsub not sending usage logs location event on lost mode
I use the same topic for both pull and push subscriptions and I didn't change anything there. I use default configuration for both pull and push subscriptions, didn't change match. The only difference would be I also pass a token parameter in the endpoint of my push subscription but enrollment completion logs arrive okay. So it shouldn't be a problem I think. Can it be device android version or Device Policy app lacking certain permissions?3.5KViews0likes5CommentsRe: Push pubsub not sending usage logs location event on lost mode
Hi, thanks for reply. First, yes USAGE LOGS are on and I managed to receive enrollment completion notifications before. And I have been keeping my device in lost state for more than 5 minutes. No lost mode location logs so far. I am confused because as I mentioned before I was able to receive lost mode location usage logs before with pull subscription. Recently I tried to switch back and as with push nothing came up. I assume I am missing something in configuration but not sure what exactly.3.5KViews0likes7CommentsPush pubsub not sending usage logs location event on lost mode
Hi, I am using an Android 12 device, company-owned and is fully managed. My enterprise is configured to receive "USAGE_LOGS" notifications and I enrolled the device with token parameter "allowPersonalUsage" set to "PERSONAL_USAGE_DISALLOWED". Also I enforced location mode with a policy. I can see the notification that command went through and device enters alert state as expected. Then, I move device in lost state by clicking "I found this device" and expecting location logs to appear. Nonetheless, no usage logs are coming from my push pubsub. Before I was using pull pubsub and actually was able to receive usage logs back then. Don't really know if it's related. Originally, I though that the problem is that I couldn't properly subscribe enterprise to receive USAGE LOGS but it seems that's not the case from my previous question. My previous question on Usage logs3.5KViews0likes9CommentsSubscribe enterprise to receive usage logs
Currently, I am trying to implement lost mode notifications with push pubsub and I need to subscribe enterprise to receive usage logs. When I try to use the following json to patch my enterprise (a chunk related to usage logs): "enabledNotificationTypes": [ "ENROLLMENT", "STATUS_REPORT", "USAGE_LOGS", "COMMAND" ] I receive only "ENROLLMENT", "STATUS_REPORT" and "COMMAND" in response json. And as expected no location event logs are being pushed from the pubsub. Do I need extra configuration to use USAGE_LOGS or something? Response example json: { "name": "enterprises/enterpriseName", "enabledNotificationTypes": [ "ENROLLMENT", "STATUS_REPORT", "COMMAND" ], "pubsubTopic": "projects/projectId/topics/topicName", }Solved2KViews0likes4Comments