Using Android SDK version : Backendless SDK v1.10 for Android, released 08.11.2014,
Using the following sync subscribe methods we don’t get an exception but we aren’t able to receive any Push Messages. The async methods all work with no problems.
Sync methods not receiving any messages:
Subscription subscribe( AsyncCallback<List<Message>> subscriptionResponder ) throws BackendlessException
Subscription subscribe( String channelName, AsyncCallback<List<Message>> subscriptionResponder ) throws BackendlessException
Subscription subscribe( int pollingInterval, AsyncCallback<List<Message>> subscriptionResponder ) throws BackendlessException
Subscription subscribe( String channelName, int pollingInterval, AsyncCallback<List<Message>> subscriptionResponder ) throws BackendlessException
Subscription subscribe( AsyncCallback<List<Message>> subscriptionResponder, SubscriptionOptions subscriptionOptions ) throws BackendlessException
Subscription subscribe( String channelName, AsyncCallback<List<Message>> subscriptionResponder, SubscriptionOptions subscriptionOptions ) throws BackendlessException
Subscription subscribe( String channelName, AsyncCallback<List<Message>> subscriptionResponder, SubscriptionOptions subscriptionOptions,int pollingInterval ) throws BackendlessException
Async methods working okay:
void subscribe( AsyncCallback<List<Message>> subscriptionResponder, AsyncCallback<Subscription> responder )
void subscribe( String channelName, AsyncCallback<List<Message>> subscriptionResponder, AsyncCallback<Subscription> responder )
void subscribe( int pollingInterval, AsyncCallback<List<Message>> subscriptionResponder, AsyncCallback<Subscription> responder )
void subscribe( String channelName, int pollingInterval, AsyncCallback<List<Message>> subscriptionResponder, AsyncCallback<Subscription> responder )
void subscribe( AsyncCallback<List<Message>> subscriptionResponder, SubscriptionOptions subscriptionOptions, AsyncCallback<Subscription> responder )
void subscribe( String channelName, AsyncCallback<List<Message>> subscriptionResponder, SubscriptionOptions subscriptionOptions, AsyncCallback<Subscription> responder )
void subscribe( final String channelName, final AsyncCallback<List<Message>> subscriptionResponder, SubscriptionOptions subscriptionOptions, final int pollingInterval,final AsyncCallback<Subscription> responder )