I have a card that is being inserted in my timeline by the mirror api.
The card has 3 options: SCAN, REPLY, DELETE.
Expected-> Barcode Test[SCAN, REPLY, DELETE]
Received-> Barcode Test[REPLY, DELETE]
The Reply and Delete options only return on menu item. If i change 'OPEN_URI' to 'CUSTOM" it returns but does not do what I hope to do, which is open my android.scan.(this is present no my device)
I followed similar steps to here and on the Mirror-API docs about creating the menuItems https://developers.google.com/glass/v1/reference/timeline#menuItems
Opening GDK Glassware through Mirror API Glassware MenuItem
.mirror.timeline.insert(
{
"text": "Barcode Test",
"callbackUrl": "https://mirrornotifications.appspot.com/forward?url=http://localhost:8081/reply",
"menuItems": [
{
"action": "OPEN_URI",
"id": "complete",
"payload": "com.google.zxing.client.android.SCAN",
"values": [{
"displayName": "Scan",
"iconUrl":"com.google.zxing.client.android.SCAN"
}]
},
{"action": "REPLY"},
{"action": "DELETE"}
]
}
)