Skip to content
This repository has been archived by the owner on Sep 4, 2019. It is now read-only.

ServerNotifyService - 10.2 Channel is not being created #22

Open
shikhirsingh opened this issue Dec 30, 2014 · 1 comment
Open

ServerNotifyService - 10.2 Channel is not being created #22

shikhirsingh opened this issue Dec 30, 2014 · 1 comment
Assignees
Labels

Comments

@shikhirsingh
Copy link

There is either a bug or a lot of unnecessary code in the 10.2.1 Client headless service -

The channel is not being created due to line 52 (service.cpp).
m_shouldChannelBeCreated = false;

This means that the pushService is not being registered on line 179.

Either line 52 should be set to true, OR the functions createChannelCompleted and createSessionCompleted are redundant and can be completely removed. I suspect line 52 should be set to true.

Also, following the instructions to import the app and compile it does not lead to a .bar files being created. It creates .so files.

@bthornton32
Copy link
Contributor

This is just instantiating a variable. Check out like 104 for where the variable is set (on app start). The reason for this is because you only need to create a channel if one doesn't exist already (usually only once, but they can become stale). You could create one every time if you wanted to I suppose.

As for the compile - this should create a bar file. Does a target exist in your environment? Are you exporting or Run/Debugging?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants