Page 1 of 1

automatic device registration - optional parameters

Posted: Mon May 25, 2015 11:11 am
by hawadi

Hello,

When I start my app as a new user, it automatically registers the applications device ID in my appery database. Of course only the device id, token and timezone get registrered. Is there a way to also register default channels on first start up?

I don't want to update the device in the database AFTER startup, because that wont work good. I want to set default channels with registration.

Thank you!


automatic device registration - optional parameters

Posted: Mon May 25, 2015 11:31 am
by Serhii Kulibaba

Hello,

Automatically appery.io just registers device, without any additional values. You can check current device in DB if your optional parameter is empty - fill it (update collection)


automatic device registration - optional parameters

Posted: Mon May 25, 2015 12:39 pm
by hawadi

Sergiy,

That's the whole point: I don't want that.

So:

  1. Is there a way to cancel the automatic registration done by appery?
    OR

  2. Can I add additional parameters?

    I can do an update with the additional parameter, that's no problem. But I don't want that, I want it to be done ONLY the first time.


automatic device registration - optional parameters

Posted: Mon May 25, 2015 7:16 pm
by Illya Stepanov

Hello -

No, you can't.