Comments (5)
Apologies, this is a non-issue, the call to registerClient
(Android) executed as follows:
...
if (call.method.equals("registerClient")) {
String id = call.argument("id");
String name = call.argument("name");
boolean contains = pSharedPref.contains(id);
if (id != null && name != null && !contains) {
sendPhoneCallEvents("LOG|Registering client " + id + ":" + name);
SharedPreferences.Editor edit = pSharedPref.edit();
edit.putString(id, name);
edit.apply();
} else {
Log.e(TAG, "onMethodCall: Failed to register user");
Log.e(TAG, "onMethodCall: id = " + (id == null ? "ID is null" : id));
Log.e(TAG, "onMethodCall: name = " + (name == null ? "name is null" : name));
Log.e(TAG, "onMethodCall: shared prefs contains id? = " + (contains ? "yes" : "no"));
}
} ,
..
Had the following console output:
E/TwilioVoicePlugin( 1346): onMethodCall: Failed to register user
E/TwilioVoicePlugin( 1346): onMethodCall: id = oJXmE0xlwiVoRICPAFdEQq2E4qk2
E/TwilioVoicePlugin( 1346): onMethodCall: name = Test User
E/TwilioVoicePlugin( 1346): onMethodCall: shared prefs contains id? = yes
Suggestion:
Maybe an alteration to return a true
/false
should clear this up as not returning is a little confusing.
from twilio_voice.
The hanging can be resulted by adding a result.success(boolean)
for android (will create PR for this)
This doesn't resolve the issue of having a call name being shown instead of a call ID like a firebase ID (at the moment, a firebase ID is being shown instead of a call name, after registering a client with said firebase ID)
from twilio_voice.
Hello, did this got resolved with your PR? or is this still an ongoing issue?
from twilio_voice.
@diegogarciar I have not addressed this, but is also has a duplicate issue referenced here in #51
from twilio_voice.
@diegogarciar please see this comment
from twilio_voice.
Related Issues (20)
- Receiving incoming call even after logout from the app - IOS
- Native Call Screen UI on iOS
- TwilioVoice.instance.callEventsListener is not called in incomming call android Flutter HOT 2
- How to terminate Native Call Ui When Create Make Call
- Native Ui Accept and Decline Button Not Work
- In Android App is not working in release mode but wotking fine in dubug mode HOT 2
- Unregistering a Twilio instance does not end active calls on it. HOT 1
- [Android] Can't run project in flutter 3.19.0 HOT 7
- customParams field in Active Call is null on Answer event.
- [Question] Is Windows platform supported? HOT 3
- [iOS] Poor call quality on iOS with a lot of jittery HOT 4
- not compatible with latest android gradle plugin (>= 8.x.x) HOT 1
- Is their any method of this package which is through can i direct connect to the Twilio? HOT 1
- Direct Connect Flutter To Twilio HOT 1
- [IOS] Not receiving calls if App is not opened for few days HOT 2
- unregister a user and register again - calls will not comes (Failed to report incoming call successfully: The operation couldn’t be completed.)(com.apple.CallKit.error.incomingcall error 3.)
- Invalid argument(s): DEVICETOKEN is not a valid CallState.
- Android app crashes when an Incoming Call is answered with java.lang.SecurityException: Requires the RECORD_AUDIO permission HOT 4
- Answer and HangUp do not work for ringing Incoming Call on iOS.
- _prettyPrintNumber is US-only?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from twilio_voice.