<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Problem with onIncomingCall function   service SDK 6.0.2 Android -Kotlin in Discussion Forum</title>
    <link>https://community.sinch.com/t5/Discussion-Forum/Problem-with-onIncomingCall-function-service-SDK-6-0-2-Android/m-p/11269#M131</link>
    <description>&lt;P&gt;I've been update my sdk sinch to 6.0.2&amp;nbsp; but i have a problem with the&amp;nbsp; onIncomingCall function it is not replying whereby i can not&amp;nbsp;receive video calls , i did it update base on documentation&amp;nbsp; &lt;A href="https://developers.sinch.com/docs/in-app-calling/getting-started/android/create-app/" target="_blank" rel="noopener"&gt;https://developers.sinch.com/docs/in-app-calling/getting-started/android/create-app/&lt;/A&gt; , &amp;nbsp;I have all the same construction&lt;/P&gt;
&lt;P&gt;Note: I am working with &amp;nbsp;Android-Kotlin , I show my main activity…&lt;/P&gt;
&lt;PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;var &lt;/SPAN&gt;&lt;SPAN&gt;serviceBinder&lt;/SPAN&gt;: &lt;SPAN&gt;SinchService&lt;/SPAN&gt;.&lt;SPAN&gt;SinchServiceBinder&lt;/SPAN&gt;? = &lt;SPAN&gt;null&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt; private fun &lt;/SPAN&gt;&lt;SPAN&gt;setSinchService&lt;/SPAN&gt;(){&lt;BR /&gt;     &lt;SPAN&gt;val &lt;/SPAN&gt;&lt;SPAN&gt;user &lt;/SPAN&gt;=  &lt;SPAN&gt;SessionHelper&lt;/SPAN&gt;.getUserId(&lt;SPAN&gt;this&lt;/SPAN&gt;)&lt;BR /&gt;     &lt;SPAN&gt;serviceBinder&lt;/SPAN&gt;?.start(&lt;SPAN&gt;user&lt;/SPAN&gt;.toString())&lt;BR /&gt; }&lt;BR /&gt;&lt;BR /&gt; &lt;SPAN&gt;override fun &lt;/SPAN&gt;&lt;SPAN&gt;onServiceConnected&lt;/SPAN&gt;(&lt;BR /&gt;     componentName: &lt;SPAN&gt;ComponentName&lt;/SPAN&gt;?,&lt;BR /&gt;     binder: &lt;SPAN&gt;IBinder&lt;/SPAN&gt;?,&lt;BR /&gt; ) {&lt;BR /&gt;     &lt;SPAN&gt;serviceBinder &lt;/SPAN&gt;= binder &lt;SPAN&gt;as &lt;/SPAN&gt;&lt;SPAN&gt;SinchService&lt;/SPAN&gt;.&lt;SPAN&gt;SinchServiceBinder&lt;/SPAN&gt;?&lt;BR /&gt;     &lt;SPAN&gt;serviceBinder&lt;/SPAN&gt;?.setClientInitializationListener(&lt;SPAN&gt;this&lt;/SPAN&gt;)&lt;BR /&gt;     setSinchService()&lt;BR /&gt;     &lt;SPAN&gt;serviceBinder&lt;/SPAN&gt;?.addCallControllerListener(&lt;SPAN&gt;this&lt;/SPAN&gt;)&lt;BR /&gt;&lt;BR /&gt; }&lt;BR /&gt; &lt;SPAN&gt;override fun &lt;/SPAN&gt;&lt;SPAN&gt;onStartedSuccessfully&lt;/SPAN&gt;() {&lt;BR /&gt;     &lt;SPAN&gt;Log&lt;/SPAN&gt;.d(&lt;SPAN&gt;"Prueba-Conexion"&lt;/SPAN&gt;, &lt;SPAN&gt;"onStartedSuccessfully"&lt;/SPAN&gt;)&lt;BR /&gt; }&lt;BR /&gt;&lt;BR /&gt; &lt;SPAN&gt;override fun &lt;/SPAN&gt;&lt;SPAN&gt;onFailed&lt;/SPAN&gt;(error: &lt;SPAN&gt;SinchError&lt;/SPAN&gt;) {&lt;BR /&gt;     &lt;SPAN&gt;Log&lt;/SPAN&gt;.e(&lt;SPAN&gt;"Prueba-Conexion"&lt;/SPAN&gt;, &lt;SPAN&gt;"SinchClientInitializationListener error &lt;/SPAN&gt;&lt;SPAN&gt;$&lt;/SPAN&gt;error&lt;SPAN&gt;"&lt;/SPAN&gt;)&lt;BR /&gt; }&lt;/PRE&gt;
&lt;P&gt;My&amp;nbsp;c&lt;SPAN&gt;onnection&lt;/SPAN&gt; with my class SinchService&amp;nbsp; to main activity is&amp;nbsp;successfully&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2023-03-28 15:01:24.805 15855-15855 Prueba-Conexion com...alsoftm.gs_app_express_dating D onStartedSuccessfully&lt;/P&gt;
&lt;P&gt;I hope that your can help me&lt;/P&gt;</description>
    <pubDate>Thu, 30 Mar 2023 08:45:19 GMT</pubDate>
    <dc:creator>Jeims</dc:creator>
    <dc:date>2023-03-30T08:45:19Z</dc:date>
    <item>
      <title>Problem with onIncomingCall function   service SDK 6.0.2 Android -Kotlin</title>
      <link>https://community.sinch.com/t5/Discussion-Forum/Problem-with-onIncomingCall-function-service-SDK-6-0-2-Android/m-p/11269#M131</link>
      <description>&lt;P&gt;I've been update my sdk sinch to 6.0.2&amp;nbsp; but i have a problem with the&amp;nbsp; onIncomingCall function it is not replying whereby i can not&amp;nbsp;receive video calls , i did it update base on documentation&amp;nbsp; &lt;A href="https://developers.sinch.com/docs/in-app-calling/getting-started/android/create-app/" target="_blank" rel="noopener"&gt;https://developers.sinch.com/docs/in-app-calling/getting-started/android/create-app/&lt;/A&gt; , &amp;nbsp;I have all the same construction&lt;/P&gt;
&lt;P&gt;Note: I am working with &amp;nbsp;Android-Kotlin , I show my main activity…&lt;/P&gt;
&lt;PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;var &lt;/SPAN&gt;&lt;SPAN&gt;serviceBinder&lt;/SPAN&gt;: &lt;SPAN&gt;SinchService&lt;/SPAN&gt;.&lt;SPAN&gt;SinchServiceBinder&lt;/SPAN&gt;? = &lt;SPAN&gt;null&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt; private fun &lt;/SPAN&gt;&lt;SPAN&gt;setSinchService&lt;/SPAN&gt;(){&lt;BR /&gt;     &lt;SPAN&gt;val &lt;/SPAN&gt;&lt;SPAN&gt;user &lt;/SPAN&gt;=  &lt;SPAN&gt;SessionHelper&lt;/SPAN&gt;.getUserId(&lt;SPAN&gt;this&lt;/SPAN&gt;)&lt;BR /&gt;     &lt;SPAN&gt;serviceBinder&lt;/SPAN&gt;?.start(&lt;SPAN&gt;user&lt;/SPAN&gt;.toString())&lt;BR /&gt; }&lt;BR /&gt;&lt;BR /&gt; &lt;SPAN&gt;override fun &lt;/SPAN&gt;&lt;SPAN&gt;onServiceConnected&lt;/SPAN&gt;(&lt;BR /&gt;     componentName: &lt;SPAN&gt;ComponentName&lt;/SPAN&gt;?,&lt;BR /&gt;     binder: &lt;SPAN&gt;IBinder&lt;/SPAN&gt;?,&lt;BR /&gt; ) {&lt;BR /&gt;     &lt;SPAN&gt;serviceBinder &lt;/SPAN&gt;= binder &lt;SPAN&gt;as &lt;/SPAN&gt;&lt;SPAN&gt;SinchService&lt;/SPAN&gt;.&lt;SPAN&gt;SinchServiceBinder&lt;/SPAN&gt;?&lt;BR /&gt;     &lt;SPAN&gt;serviceBinder&lt;/SPAN&gt;?.setClientInitializationListener(&lt;SPAN&gt;this&lt;/SPAN&gt;)&lt;BR /&gt;     setSinchService()&lt;BR /&gt;     &lt;SPAN&gt;serviceBinder&lt;/SPAN&gt;?.addCallControllerListener(&lt;SPAN&gt;this&lt;/SPAN&gt;)&lt;BR /&gt;&lt;BR /&gt; }&lt;BR /&gt; &lt;SPAN&gt;override fun &lt;/SPAN&gt;&lt;SPAN&gt;onStartedSuccessfully&lt;/SPAN&gt;() {&lt;BR /&gt;     &lt;SPAN&gt;Log&lt;/SPAN&gt;.d(&lt;SPAN&gt;"Prueba-Conexion"&lt;/SPAN&gt;, &lt;SPAN&gt;"onStartedSuccessfully"&lt;/SPAN&gt;)&lt;BR /&gt; }&lt;BR /&gt;&lt;BR /&gt; &lt;SPAN&gt;override fun &lt;/SPAN&gt;&lt;SPAN&gt;onFailed&lt;/SPAN&gt;(error: &lt;SPAN&gt;SinchError&lt;/SPAN&gt;) {&lt;BR /&gt;     &lt;SPAN&gt;Log&lt;/SPAN&gt;.e(&lt;SPAN&gt;"Prueba-Conexion"&lt;/SPAN&gt;, &lt;SPAN&gt;"SinchClientInitializationListener error &lt;/SPAN&gt;&lt;SPAN&gt;$&lt;/SPAN&gt;error&lt;SPAN&gt;"&lt;/SPAN&gt;)&lt;BR /&gt; }&lt;/PRE&gt;
&lt;P&gt;My&amp;nbsp;c&lt;SPAN&gt;onnection&lt;/SPAN&gt; with my class SinchService&amp;nbsp; to main activity is&amp;nbsp;successfully&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2023-03-28 15:01:24.805 15855-15855 Prueba-Conexion com...alsoftm.gs_app_express_dating D onStartedSuccessfully&lt;/P&gt;
&lt;P&gt;I hope that your can help me&lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2023 08:45:19 GMT</pubDate>
      <guid>https://community.sinch.com/t5/Discussion-Forum/Problem-with-onIncomingCall-function-service-SDK-6-0-2-Android/m-p/11269#M131</guid>
      <dc:creator>Jeims</dc:creator>
      <dc:date>2023-03-30T08:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with onIncomingCall function   service SDK 6.0.2 Android -Kotlin</title>
      <link>https://community.sinch.com/t5/Discussion-Forum/Problem-with-onIncomingCall-function-service-SDK-6-0-2-Android/m-p/11271#M132</link>
      <description>&lt;P&gt;Hi Jeims,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry to hear you are having issues, looking at your code it seems to deviate from the tutorial, I&amp;nbsp;think the best thing here is to try here is to build the sinch-rtc-sample-video-push in Kotlin packaged with the SDK and try to make and receive a video call using this sample.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We package the following set of samples with the SDK:&lt;/P&gt;
&lt;PRE&gt;├── sinch-rtc-sample-hms-push&lt;BR /&gt;├── sinch-rtc-sample-pstn&lt;BR /&gt;├── sinch-rtc-sample-push&lt;BR /&gt;└── sinch-rtc-sample-video-push&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;Also please remember to set up the&amp;nbsp; Push infrastructure before attempting a call also:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://developers.sinch.com/docs/in-app-calling/android/push-notifications/" target="_blank"&gt;https://developers.sinch.com/docs/in-app-calling/android/push-notifications/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Check the logcat output in Android studio for initiating a call and receiving a call and it is preferable to test with actual handsets and not using emulators.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Roland-Ian&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2023 12:51:29 GMT</pubDate>
      <guid>https://community.sinch.com/t5/Discussion-Forum/Problem-with-onIncomingCall-function-service-SDK-6-0-2-Android/m-p/11271#M132</guid>
      <dc:creator>Roland_Ian</dc:creator>
      <dc:date>2023-03-29T12:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with onIncomingCall function   service SDK 6.0.2 Android -Kotlin</title>
      <link>https://community.sinch.com/t5/Discussion-Forum/Problem-with-onIncomingCall-function-service-SDK-6-0-2-Android/m-p/11275#M134</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi Jeims,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If the above information helped you solve your issue - please mark the response above as an Accepted Solution by clicking the&amp;nbsp;&lt;STRONG&gt;Accept as Solution&lt;/STRONG&gt;&amp;nbsp;button below the above post.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks and kind regards,&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2023 17:03:47 GMT</pubDate>
      <guid>https://community.sinch.com/t5/Discussion-Forum/Problem-with-onIncomingCall-function-service-SDK-6-0-2-Android/m-p/11275#M134</guid>
      <dc:creator>Shahzad_Ismail</dc:creator>
      <dc:date>2023-03-30T17:03:47Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with onIncomingCall function   service SDK 6.0.2 Android -Kotlin</title>
      <link>https://community.sinch.com/t5/Discussion-Forum/Problem-with-onIncomingCall-function-service-SDK-6-0-2-Android/m-p/11276#M135</link>
      <description>&lt;P&gt;Hi Shahzad_Ismail&lt;/P&gt;&lt;P&gt;Thanks so much for you attention , i have revied your answer , I don't have implemented&amp;nbsp;&amp;nbsp;set up the&amp;nbsp; Push&amp;nbsp; so I will&amp;nbsp;do set up&amp;nbsp;the&amp;nbsp; Push infrastructure&amp;nbsp; if this solve my isuue ,&amp;nbsp;i will mark my post please&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;greetings&lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2023 15:09:10 GMT</pubDate>
      <guid>https://community.sinch.com/t5/Discussion-Forum/Problem-with-onIncomingCall-function-service-SDK-6-0-2-Android/m-p/11276#M135</guid>
      <dc:creator>Jeims</dc:creator>
      <dc:date>2023-03-30T15:09:10Z</dc:date>
    </item>
  </channel>
</rss>

