HI All
I am investigating web push API with GCM service in chromium. I can finish push related operation with web test app in blew steps.
1. Web app subscripts( with "serviceWorker" and "pushManager" object) swRegistration.pushManager.subscribe
2. Web app can get browser's response (subscription information)like blew
{"endpoint":"
https://android.googleapis.com/gcm/send/Token XXXXX","keys":{"p256dh":"BJT2lL5rKUfvJRE4sAzkuEVP57zEmbiDRiy0a_X7L6BkZfqdlSU9dXM4YX4oUUxf7iRoz7BRGn3r9I35BvzVMuk=","auth":"afnmlAsQ7FfOgHabD5n0Ow=="}}"
3.In chromium side, Browser can receive incoming web push message. Push message has a item "subtype" which value's format like "wp:url#UUID".
I checked chromium source code, UUID is generated by browser side in web app push subscripts process.
My question is : Web app how to know "wp:url#UUID"? Browser doesn't response "wp:url#UUID" to web app in steps 2. So web app can't notify web app server to send push message with subtype member.