Hello. I think official guide lacks information how EXACTLY should the registration flow look like when using Remote API.

I see sections /registerDevice, /unregisterDevice but where do I take all these needed values from if I want to let the backend handle the registration process?

My mobile app is a cross-platform one utilising Cordova. I see that platform has methods like registerDevice, unregisterDevice, getPushToken, getPushwooshHWID - does this mean registration can be done single-handedly by the mobile app? Do I need to send all this data to my backend to register device (I mean: sending proper JSON with data obtained from mobile app to /registerDevice)? Or should I just call these methods (client side) and then store pushToken and HWID in database (server side) in case I want to select the recipients of the push - without any additional registering on backend?

asked 22 Apr '16, 01:01
spoko22's gravatar image

spoko22
112

edited 22 Apr '16, 01:03

Be the first one to answer this question!
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:

×190
×83
×76

question asked: 22 Apr '16, 01:01

question was seen: 899 times

last updated: 22 Apr '16, 01:03