PeterStaev / nativescript-azure-mobile-apps

:cloud: NativeScript plugin for working with Microsoft Azure Mobile Apps services
Apache License 2.0
30 stars 10 forks source link

registration error #23

Closed gregersen79 closed 7 years ago

gregersen79 commented 7 years ago

When calling the register() function, I get the following error on Android:

java.io.IOException: stream was reset: PROTOCOL_ERROR

and sometimes the error:

java.io.IOException: shutdown

and the following error on iOS:

Error: 401Missing authorization token.TrackingId:07f86ede-c095-4d7d-a0a9-8293966c3261_G42,TimeStamp:8/30/2017 7:26:26 AM

Any ideas why, what I'm missing?

PeterStaev commented 7 years ago

Hey @gregersen79 , sadly I have not seen those errors so cant really help you. Make sure you have added your GCM API Key/Apple Push cert to your Azure portal notification hub.

gregersen79 commented 7 years ago

Hey @PeterStaev, thank you for your answer, thats okay. I can't seem to find a solution for this error, so we decided to manage the registration server-side, and this works fine.