Support Topics Documentation Slack YouTube Blog

Crush after register device for push notification


(Valeria Bommi) #1

Hi, Backendless team!
I have made a push notification setup by the tutorial. the device has been added to the console.
but there is an error just after few seconds after success device registration.
Error code - https://pastebin.com/QeNWdMxV
Service code - https://pastebin.com/g96Y1hzs
Receiver code - https://pastebin.com/y0b339ee
Manifest code - https://pastebin.com/AqjXwmY0
APPLICATION_ID = “2CEC20A1-02B5-A560-FF49-5C61744C7F00”;
http://support.backendless.com/public/attachments/54f76b090cf412e6a9a9ae02f61b9809.png</img>

android {
 compileSdkVersion 27
 buildToolsVersion "27.0.3"
 defaultConfig {
 applicationId "app.vindict"
 minSdkVersion 16
 targetSdkVersion 27
 versionCode 1
 versionName "1.0"
 renderscriptTargetApi 21
 multiDexEnabled true
 renderscriptSupportModeEnabled true
 testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
 }
 buildTypes {
 release {
 minifyEnabled false
 proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
 }
 }
 compileOptions {
 sourceCompatibility JavaVersion.VERSION_1_8
 targetCompatibility JavaVersion.VERSION_1_8
 }
}


(Anton Govorushkin) #2

Hi Valeria!

What version of backendless Android SDK are you using?

Anton


(Valeria Bommi) #3

Hi, Anton!

I have added the dependency in build.gradle like this

implementation group: 'com.backendless', name: 'backendless', version: '4.4.1'

(Valeria Bommi) #4

Hi, Anton!

version: ‘4.4.1’


(Anton Govorushkin) #5

This issue is also known, id - BKNDLSS-16717. As a temporary workaround you may rollback to 4.4.0 version of SDK. We’ll release 4.4.2 this week and will notify you as soon as it’s available in maven central

Best regards,
Anton


(Valeria Bommi) #6

I’ve got it!
Thank you, Anton!:slight_smile:

Best regards,
Valeria