Azure / azure-notificationhubs-samples

Microsoft Azure Notification Hubs Samples
Apache License 2.0
162 stars 241 forks source link

Waiting for registration #83

Open sas1981ec opened 5 years ago

sas1981ec commented 5 years ago

I followed the steps and this comes out. What could be the problem?

jwargo commented 5 years ago

@sas1981ec you'll have to provide a little more information than that. You haven't identified which sample, what device it's running on, or any information we could use to help you.

sas1981ec commented 5 years ago

image image image

sas1981ec commented 5 years ago

@jwargo please . I have detailed the issue.

jwargo commented 5 years ago

@sas1981ec OK, so this is one of the Ionic samples. As mentioned in the readme file for each project, we do not provide support for these samples, we published them to show customers how to use Ionic applications with Notification Hubs. You must do your own Ionic troubleshooting, we can't help you there.

That being said, the error your indicating is telling you that the plugin isn't in the project. That's why PushNotification is empty. Make sure the project has all the required plugins in it. Use the:

ionic cordova plugin ls

command to list the plugins.

Kailyou commented 4 years ago

Anyone else still facing this problem? I stuck on "Wait for register" but without any error message at all.

ghost commented 4 years ago

Connect your phone in Dev mode so you can run it directly from Android studio and observe messages in console. It will give you idea what might be the issue. I had the problem with Apache http header, after fixing that , the next message was about not being able to authenticate because I was using wrong connection string. After you correct any error that you see , it should work.

Nathan187 commented 3 years ago

happening to me for ios. "waiting for registration." anyone get the same error and got around it somehow?