Skip to content

Conversation

VZaphod
Copy link

@VZaphod VZaphod commented Jun 27, 2025

No description provided.

@@ -0,0 +1 @@
/build No newline at end of file

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not needed, already ignored in parent gitignore.
you could remove this file

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After ignoring the /build I see a problems-report-html of the build folder. It may be better to leave it?

<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.CALL_PHONE" />
<uses-permission android:name="android.permission.MANAGE_OWN_CALLS" />
<!--<uses-permission android:name="android.permission.BIND_TELECOM_CONNECTION_SERVICE" />-->

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could be removed?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed

}

override fun onError(publisherKit: PublisherKit, opentokError: OpentokError) {
//callback?.onError("PublisherKit onError: " + opentokError.message)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we add basic error handling?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added error handling

@VZaphod
Copy link
Author

VZaphod commented Jun 30, 2025

Fixed issues

@VZaphod VZaphod changed the title ConnectionServices Kotlin sample VIDCS-3882: ConnectionServices Kotlin sample Jun 30, 2025
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_PHONE_CALL" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_MICROPHONE" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_CAMERA" />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let;s also add Bluetooth permission

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have just checked and with the current foreground permissions bluetooth audio devices keep connected and working in the background.

Manifest.permission.MANAGE_OWN_CALLS
)
else -> arrayOf(
Manifest.permission.INTERNET,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bluetooth permission can also be for versions below tiramisu

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated permission request with customized request for each version range

@goncalocostamendes
Copy link
Contributor

Please add a workflow for both connection services samples https://github.com/opentok/opentok-android-sdk-samples/tree/main/.github/workflows. It will just build the project so that we are at least aware it does not brake with future changes

@VZaphod
Copy link
Author

VZaphod commented Jul 1, 2025

Please add a workflow for both connection services samples https://github.com/opentok/opentok-android-sdk-samples/tree/main/.github/workflows. It will just build the project so that we are at least aware it does not brake with future changes

Added!

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this file is already added in the java sample PR .github/workflows/build-basic-video-chat-connectionservice-java.yml

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, deleted!

@joliveraortega
Copy link
Contributor

@VZaphod 2.31.0 is out. We can go ahead and finish with this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants