Task: **Register device for push notifications**

Mission: PUSH COMMANDER
Task: Register device for push notifications

Please, describe your problem here.
Hi dear Backendless team,

Some how I’m stuck with this task since more than a week and I’m struggling to progress any further!! Here is what I have done:
1- Configured Android Studio project
2- Configured Firebase project

Any guidance or help will be much appreciated.

Thanks
Yaser

Hello @Yaser_Bukhamseen,

Could you please provide more details about the specific issue you’re experiencing? This will help us understand the situation better and provide you with the most effective assistance. We’re happy to help!

Looking forward to your response.

Hi dear,

I’m not able to configure backendless in the Android studio build.gradle as it is giving me errors.

Here is a loom shot of the issue,

Hoping for your guidance as I would love to progress on my learning path.

Thanks
Yaser

Hi Yaser,

Are you following the instructions from the documentation?

The push notification setup doc is here:

Push Notification Setup (Android) - Backendless SDK for Android/Java API Documentation

Step 1 in this section, points to the process of adding the Backendless dependency.

Hope this helps.

Mark

Hi dear Mark,

Every time I try to put add this statement into android studio gradle it gives me an error with red line on the first line:

Dependencies {
implementation group: ‘com.backendless’, name: ‘backendless’, version: ‘7.0.9’

could it be that this type of code is no longer supported by the android version im using?

Android
Studio Koala | 2024.1.1 Patch 2
Build #AI-241.18034.62.2411.12169540, built on August 1, 2024
Runtime version: 17.0.11+0-17.0.11b1207.24-11852314 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 12.7.6
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 4
Metal Rendering is ON
Registry:
ide.experimental.ui=true

Where did you get that 7.0.9 from?

Please follow the instructions from the documentation I referenced. Specifically here:
https://backendless.com/docs/android/setup.html

Hi dear Mark,

I followed the instructions but still not working!! :disappointed_relieved:

Looks like I need special help… I’m really eager to progress in my journey with Backendless so I appreciate your great help.
Thanks in advance
Yaser

What did you end up putting into the configuration?

Hi Mr Mark,

Here is a loom video regarding what I have done on this task,

Hope this is clear, would love to hear from you soon.

Thanks
Yaser

Hello, @Yaser_Bukhamseen.

I think you need this implementation:
implementation group: 'com.backendless', name: 'android-client-sdk', version: '7.0.9'

Regards, Nikita.

Hi dear Nikita,

Thanks dear, I’ll try it and let you know :rose:

Hi dear,

Still giving me same error which could be related to the use of the word group!!

You are using kotlin… In kts files correct raw looks like this:
implementation(“com.backendless:android-client-sdk:7.0.9”)