I'm implementing a basic native Android push notification application using the official tutorial almost without changes: http://pushwoosh.readme.io/docs/native-android-sdk

When I reinstall the application to the device (remove it completely in Android settings, then install using adb or manually from file), sometimes I see that in logs:

01-14 14:20:52.524 5090 5120 W Pushwoosh: [DeviceRegistrar] Registering for pushes 01-14 14:20:52.531 5090 5090 V Perf : com.pushwoosh.GCMRegistrationService@a15d497 onDestroy, 0ms 01-14 14:20:53.300 5427 5527 E Pushwoosh: [RequestManager] ERROR: {"status_code":210,"status_message":"Application not found","response":null}. Response = {"status_code":210,"status_message":"Application not found","response":null} 01-14 14:20:53.300 5427 5527 E Pushwoosh: java.lang.Exception: {"status_code":210,"status_message":"Application not found","response":null} 01-14 14:20:53.300 5427 5527 E Pushwoosh: at com.pushwoosh.internal.request.RequestManager.sendRequestSync(Unknown Source) 01-14 14:20:53.300 5427 5527 E Pushwoosh: at com.pushwoosh.internal.request.RequestManager$1.run(Unknown Source)

This message appears randomly, sometimes even when application is removed.

Code showMessage("register"); is executed on first start, so it looks like the application has been successfully registered, but API says the device is unknown. I tried to wait for a minute - do not help. If I close the application and start it again, everything works fine, notifications work now.

I've set PW_APPID and PW_PROJECT_ID in AndroidManifest, and they are correct, because notifications work fine after app restart.

Android version: 6.0

What can be wrong?

asked 14 Jan '16, 15:36
Anton%20Kirilenko's gravatar image

Anton Kirilenko
113

edited 14 Jan '16, 16:10

Well, it happens (error message in logs) even with empty application, without pushwoosh activity. So, the problem is in one of the services that you configure in AndroidManifest. PW Manifest validator says everything's fine.

permanent link
answered 14 Jan '16, 18:00
Anton%20Kirilenko's gravatar image

Anton Kirilenko
113

One more thing: I had two more application with PushWoosh installed. I do not know how exactly they used pushwoosh. Once my application is the only one using PW - everything works fine.

And once I install the application (Yandex.Music) back, it start failing again. Maybe you can fix PushWoosh Android SDK, so it will not fail to register applications, having one misconfigured application on phone.

permanent link
answered 14 Jan '16, 18:32
Anton%20Kirilenko's gravatar image

Anton Kirilenko
113

edited 14 Jan '16, 18:40

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×446
×120
×4

question asked: 14 Jan '16, 15:36

question was seen: 1,176 times

last updated: 14 Jan '16, 18:40