Skip to content

Vonage-Community/sample-client_sdk-android-connection_service

Repository files navigation

Android Client SDK Push Notifications ConnectionService Sample

This is an Android Kotlin project that using the Client SDK to receive inbound calls from a phone with a ConnectionService integration for push notifications.

Welcome to Vonage

If you're new to Vonage, you can sign up for a Vonage API account and get some free credit to get you started.

Running the project

The push notifications in the project require set up with your Firebase account and your Vonage API account. See the docs for more information.

Clone the project to your computer, using the terminal:

git clone git@github.com:Vonage-Community/sample-client_sdk-android-connection_service.git

Open the project in Android studio and rename the app package. This is required for you to successfully register the app with Firebase.

Then follow the steps in the docs to get your application registered with Firebase and Vonage.

Add your JWT to the ClientManager class then run the app. Click the button to enable the telecom permissions for this app:

Enable the telecom permissions

When you call your Vonage number you will see a banner if the device is unlocked:

Incoming call banner

When answer is clicked it will bring up the system UI:

System UI

Getting Help

We love to hear from you so if you have questions, comments or find a bug in the project, let us know! You can either:

Further Reading

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages