-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
App example request for income and outgoing calls #194
Comments
Have you followed the needs and permissions for android? Also for registering token is should indicate which platform with client id. Specially in android , It has a lot of permission to allow used native incoming call. |
i have added these permissions i just used the example provided in github repo |
|
Hmm, I have considered providing a sample Android & iOS app to the relevant appstores but don't have any plans to do so short-term.
|
hi @cybex-dev glad to see your response.. could you please tell me the possible reason why your given example is not working for android |
With regards to the example app, some light customization would be required to setup tokens, ids, and recipient information based on your needs, see this for more info. Could you please clarify, how you are access the twilio voice example application. Is this via the browser on Android (be it an installed or web page) or is this a native Android app? |
I'd require more information from your side, how are you running (native or web or web pwa), OS version, etc. |
i just downloaded the zip code and run your example project. i provide the identity and accessToken (provided by my backend developer - laravel). i run your example project on flutter web . After registering for calls it printed on the console "device ready fot voip call " . but i did not see any message like this on my android 12 redme phone. When i try to place call it navigate to the native call log of my device. |
I see, there are several permissions you need to grant prior to being able to receive calls. This includes:
and finally,
You can review these permission in Android Setup with a more detailed discussion in Notes - Android. These permissions are all visible on the mobile app, see here for code reference. |
Thank you for being so coporative..
i have added all these permission and also enable calling account |
Hmm, my next best guess is Redmi doesn't like Calling Accounts or something inbetween. Could you grab the stack trace from when the call is expected to come through and post it here - might hint at what's causing the problem. |
ok i will try on some other devices with some more solutions... thank you for beign coporative |
I tested this on:
Could we use Emulators as a reference point? |
|
Assuming this is a stock standard twilio_voice_example app:
|
OS version android 11 --- > before i provider id and token : --- > after i provided id and token : |
@Muhammadjaved7209 this is the flutter log I need the adb log. |
sorry to say i dont know what is adb log |
Please click on the link I added in "adb log". This is Android system's log. Flutter log comes from |
Am sharing my some of code on how i can make sure am receiving calls on android and logs am doing. I hope this helps @Muhammadjaved7209 On my Android manifest i do have this permissions
Then as my twilio side am using getx for the mean time as an easy example
then call either wait maybe we can find something to this. I hope this helps to find some problem Note should also consider allowing the |
According to Android docs, MANAGE_OWN_CALLS permission isn't necessary for system-managed calls. I'll be adding this nontheless for Android 13 and lower devices as it seems to be required for atleast Android 13. |
@cybex-dev how much time i have to wait for your app example ??? |
thank you for help... i have tried everything but all in vain |
Well in my case on the error log it showing that it require the app to have that permission, And yes it Android 13 and above. Havent tried on lower ones. |
@Erchil66 how can i contact you on any other platform other than git |
We can talk it here btw hahaha, It’s better we involve @cybex-dev on the conversation also |
here i cant show my whole app code haha |
and you know am also using getx in my project |
Ive backread to this but i havent seen a FCM registered successfully on this log, Did you check the token on this? On your logs? |
I do not intend to provide a native Android & iOS example app any time soon. With regards to your issue, please see my earlier comment, without which progress we cannot progress further to resolve your issue. Ref: #194 (comment) TL;DR - I need your ADB log. |
when connected real device and see adb logs. adb logs were too long |
W/ple.twillio_ap(14057): Long monitor contention with owner WebSocketConnectReadThread-161 (14849) at void com.android.org.conscrypt.ConscryptEngineSocket.startHandshake()(ConscryptEngineSocket.java:219) waiters=0 in void com.android.org.conscrypt.ConscryptEngineSocket.startHandshake() for 285ms |
Did you see my comment: #194 (comment)? I referred to this line to configure your application with token & Id, etc. |
yes i provide id and token... this is my func for registration " void register() async {
}" |
I think better to give adb.log or logcat from android studio. To follow up the reason why since it have pront debug from native which is errors showing. Here’snmy whatsapp +63 9303772046 |
ok am providing |
add me on whatsapp ao i can guid you where to find it, Edit yes thats the one Find the latest error there when trying to receive call |
@Muhammadjaved7209 am pasting here the link Thats the thing lacking from your acess token @cybex-dev as i though the acess token was lacking some info. I think is should known as solve. |
@Muhammadjaved7209 @Erchil66 can I mark this issue as resolved? |
Closing for now. |
@Muhammadjaved7209 Hi, Incoming calls are not working even got the log FCM is successfully registered. Unable to identify issue. Anybody can help me figure out this issue |
i have used your web example and it is working fine on web ...
but it is not working when i run on the mobile phone i.e app
it is requested to provide and example of android app as you provided the example of web
The text was updated successfully, but these errors were encountered: