Disabling the 'The Device is not enrolled' Chrome App notification

7 views
Skip to first unread message

DJNinNZ

unread,
Dec 10, 2019, 11:20:38 PM12/10/19
to Grab n Go Loaners
Hi there,
at present we can only push the GnG Chrome app to users rather than devices.

This then leads to the following issue:
  • If the user who has the Chrome App forced installed and pinned to shelf, when they log into a non GnG chrome device they see the GnG App appear on their shelf
  • If the user then clicks on the app, the app opens a notification in the bottom right-hand corner with the words
    • GnG Loaner App
    • This device is not enrolled
    • This device is not enrolled in the Grab n Go program. Please contact your administrator
    • DEBUG
Are we able to:
  • customise the message
  • remove the DEBUG link
  • or ideally, remove the message completely
Regards
Duncan

Mike Helfrich

unread,
Dec 11, 2019, 4:46:08 PM12/11/19
to DJNinNZ, Grab n Go Loaners
Hi Duncan,

Since this is an OSS project and all of those notifications are customizable, I'll try to guide you in the right direction so you can modify this.

"This device is not enrolled in the Grab n Go program..." - You can modify this constant here. If you want to be able to customize all the notifications at the shared/config.ts file level instead, please open an issue and @ me on it via GitHub (helfrichmichael is my GitHub username). No guarantees that we'd build this out, but I think this change is easy enough to include in a future release potentially.

The debug button can be removed here. - For this one, you'd just remove that whole buttons line.

I hope this helps. Let me know if you have any further questions!

Best,
Michael Helfrich


The information contained in this email is privileged and confidential and intended for the addressee only. If you are not the intended recipient, please respect that confidentiality and do not disclose, copy or make use of its contents. If received in error, please destroy this email and contact the sender immediately. Thank you.

--
You received this message because you are subscribed to the Google Groups "Grab n Go Loaners" group.
To unsubscribe from this group and stop receiving emails from it, send an email to loaner+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/loaner/25c5923c-5142-4f2d-8884-eccea8b4d76d%40googlegroups.com.


--

Google NYC
Mike Helfrich
Corporate Operations Engineer
mikehe...@google.com

Duncan Nash

unread,
Dec 11, 2019, 4:57:02 PM12/11/19
to Mike Helfrich, Grab n Go Loaners
Hi Mike,
thanks for your help. I'll review., although it looks like the 2nd url re the debug button is not set correctly.

Regards

Duncan Nash
Technical Lead
Fronde

 

Fronde

Level 1, 222 Lambton Quay | PO Box 11-545 | Wellington 6011, New Zealand
m. +64 21 280 1150  | e. dunca...@fronde.com | w. www.fronde.com


Mike Helfrich

unread,
Dec 12, 2019, 1:47:56 PM12/12/19
to Duncan Nash, Grab n Go Loaners
Apologies, that was a bad copy-paste.


https://github.com/google/loaner/blob/master/loaner/chrome_app/src/app/background/background.ts#L452 - The listener for opening the debug view. You could remove this if you don't want debugging to be allowed.

https://github.com/google/loaner/blob/master/loaner/chrome_app/src/app/background/background.ts#L54 - Checks if the source is approved for creating the dialog view.
Reply all
Reply to author
Forward
0 new messages