0

I am testing the WebPushDemo (an example of how to use web-push-csharp) Library: https://github.com/web-push-libs/web-push-csharp/ Demo: https://github.com/coryjthompson/WebPushDemo

After deploying the project on my local IIS, I can access the site with https://192.168.2.106:8081 and also with http://192.168.2.106:8080 - everthing works well with my desktop bowser (chrome, edge, firefox)

I can register devices an also send mesages to them, for now it looks good and I am getting the following fields filled: PushEndpoint, PushP256DH, PushAuth

Chrome: Version 87.0.4280.66 Edge: Version 87.0.664.41 Firefox: Version 83.0

But if I access the site from my android phone or from the iPhone and I would like to register the Device, the fields remain empty: PushEndpoint, PushP256DH, PushAuth.

Chrome: 83.1.0 Edge: 45.10.4.508 Firefox: 83.1.0

Have I overlooked a setting or is it not possible at all?

MeerArtefakt
  • 386
  • 2
  • 6
  • 26

1 Answers1

0

Oh, I need a https connection from phone to server, I used the following tool just for testing: https://ngrok.com/

MeerArtefakt
  • 386
  • 2
  • 6
  • 26