Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,11 @@ private static void registerOnBackendless( final Context appContext, String devi
public void handleResponse( String registrationInfo )
{
Log.d( TAG, "Registered on Backendless." );
Map<String, String> channelRegistrations = processRegistrationPayload( appContext, registrationInfo );
try
{
if( callback != null )
{
Map<String, String> channelRegistrations = processRegistrationPayload( appContext, registrationInfo );
callback.handleResponse( devRegResult.setChannelRegistrations( channelRegistrations ) );
}
}
catch( Exception e )
{
Expand All @@ -100,9 +98,9 @@ public void handleResponse( String registrationInfo )
@Override
public void handleFault( BackendlessFault fault )
{
Log.d( TAG, "Could not register device on Backendless server: " + fault.toString() );
Log.d( TAG, "Could not register device on Backendless server: " + fault );
if( callback != null )
callback.handleFault( new BackendlessFault( "Could not register device on Backendless server: " + fault.toString() ) );
callback.handleFault( new BackendlessFault( "Could not register device on Backendless server: " + fault ) );
}
} );
}
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ android.disableAutomaticComponentCreation=true

version.java-sdk-common = 7.0.7
version.java-client-sdk = 7.0.7
version.android-client-sdk = 7.0.7
version.android-client-sdk = 7.0.8
version.backendless-commons = 6.7.5.0
version.weborbclient = 5.2.0.8
version.io-socket-client = 2.1.0
Expand Down