언어 설정

Menu
Sites
Language
Push notification registration. Service unavailable

Hi

I'm trying to register to push notification server by calling Tizen::Messaging::PushManager::RegisterPushService method. But it always return E_SERVICE_UNAVAILABLE result in OnPushMessageReceived callback.

Test application "PushClient" from Tizen IDE works fine. But when I changed appId of that test application, it also show error E_SERVICE_UNAVAILABLE.

So I decided that I must register my own application with concrete appId for push notifications someway.

I sent push service request (https://developer.tizen.org/dev-guide/2.2.1/org.tizen.native.appprogramming/html/guide/messaging/push_service_request.htm) and got answer "Congratulations! Your Tizen push messaging service request has been approved".

But I am still getting E_SERVICE_UNAVAILABLE result in my app.

I need to do anything more to register push notifications for my app? May be I need to pass Validation process in Tizen store for my app? I created my application in Tizen Store with corresponding Id, uploaded tpk, but didn't pass validation, because it is test application, and I thought it is not necessary to pass validation.

I should say also that I added "http://tizen.org/privilege/notification" and "http://tizen.org/privilege/push" privileges to manifest.xml file of my app.

 

Thanks for any help.

Boris Tsarev

Edited by: Boris Tsarev on 28 5월, 2014
답변 바로가기

Responses

7 댓글
Alex Ashirov

Hi,

Did you tried to replace appid of PushClient application with your appid after your appid was registered?

Boris Tsarev

No, I didn't tried that variant before.

But I tried it now and result is the same: E_SERVICE_UNAVAILABLE

Thanks for you response anyway

Alex Dem

Hi,
just fyi:
I just have renamed appID (without) and for M0 I have got  for M1 device I have got  E_SYSTEM error. But I did not perform Push Service Request (but per my opinion in case of successful feedback after request - it should be enough).
Possibly I ll try to check it later (with Push Service Request).
Alexey.

Mark as answer
Boris Tsarev

I tried to use push notifications every day. And today it suddenly started to work.

It seems to me that it was problem with Tizen push servers.

Alex Ashirov

Hi,

Good news! Probably it requires some time from app registration. But this is just my hypothesis:)

Alex Ashirov

Hi,

We registered new application for the Push service 2 days ago and we are still receiving E_SERVICE_UNAVAILABLE. How many days it took from your registration request was approved to it started to work?

Alex Ashirov

It has started to work today. So, it took 3 days from registration (Tuesday).