Replace outgoing call screen in objective C iOS - ios

I am trying to override the default outgoing call screen with my own custom screen in objective C. I have tried it for last 2 days, but in all forum i was seeing negative answer like it was not possible in Objective C.
But i saw a app called Rebtel which achieved the same functionality of replacing the default outgoing call screen(in Local minutes mode). Could anyone here give an idea of how we do that?
I have also attached rebtel screenshot for your reference.

It's not possible to replace the outgoing call screen, this could potentially create a privacy issues.
Also the app you mention is 100% voip app, I've installed the app turn off my WiFi and cellular data. And the app stop working:
If you have a internet connection an the choose not to user VOIP then the normal dialer is presented:

Related

How to get connected/disconnected information for the apps with Xamarin.Android and WearOs?

I am trying to implement communication between WearOs watch and Android phone Apps. Here is the key point is between Apps, not between Devices because for me important is that, i can get the information about if the watch app is connected with the Phone app and vice versa. But it seems that On Android and WearOs, it happens on device level.
I have implemented WearableListenerService on both side and works perfectly fine. OnCapabilityChanged is fired as well but problem with the OnCapabilityChanged method is only fired if connection is lost and connected again. It is not fired when phone and watch are already connected and when I start the app on the phone, I am not able to know if there is already connection.
OnPeerConnected seems to be a good candidate in this sense but it is deprecated and never fired.
What is the best way to get this information? I have tried also Activity level CapabilityClient.IOnCapabilityChangedListener on MainActivity but OnCapabilityChanged behavior seems to be exactly the same. It is not called when the activity is started.
I have tried to implement code below also in OnResume but it returns always null.
var capabilityInfo = capabilityClient
.GetCapability(capability_wear, CapabilityClient.FilterReachable);
capabilityInfo.AddOnSuccessListener(this);
public async void OnSuccess(Java.Lang.Object capabilityInfo)
{
}
Beside this question, related question, is it even possible to disconnect phone app to watch apps?
I have had similar experience on Tizen watches and There is a SocketService with Connect and Close endpoints implements. Simply can be connected between Apps. But here on WearOs, it seems to happen on Device level only.
What's your definition of "watch app is connected"?
The Node (device) is connected and the app is installed? Or do you mean the app is running.
If you just mean app installed and device connected, then your code should work. Are you using a custom capability that your app declares? That should prove it is your app installed and not just the device connected.
File a bug using a reproduction in the https://github.com/android/wear-os-samples/tree/main/DataLayer project. https://issuetracker.google.com/issues/new?component=1065087&template=1592236
https://developer.android.com/training/wearables/data/data-layer
The CapabilityClient provides information on which Nodes on the Wear OS network support which custom app capabilities.
If you mean connected as in both running simultaneously then you would probably use ChannelClient, MessageClient, or DataClient to send observable updates. But this should generally be careful how you do that as you shouldn't try to maintain a live connection, say using the ChannelClient, between your watch and mobile apps. It will waste battery on both sides and there are hopefully more efficient patterns to achieve whatever you are trying to do.

iOS send sms in background or call phone without dialog clicking

I was asked to create functionality to iOS app which will sent SMS or dial number if worker doesn't push button after some time period in app. App work completely without internet connection (in deep forest, badly covered area without internet connection or something like this). But I was searching possibilities whole day but nothing.
So, is there some solution how to do this or it is impossible?
In short IMPOSSIBLE in IOS; without voip (mean no internet).
IOS does not allow to override default Dial UI methods. or any changes.
So these functionalities cannot be implemented.
You can use your separate application, but VOIP for calling and some api for messaging.

iOS: How to avoid/disable default call alert?

I am developing an iOS app with swift, I will explain how my App works.
The app will connect to a PC client With TCP/IP
And will receive a phone number to dial
When I am trying to send The number to the app to make a call the phone showing an Alert with 2 buttons Call and Cancel.
Is there any way to avoid/disable default call alert?
Note: the User know that's my app will make a call and I will have an
agreement from the user
Is there any way to avoid/disable the default call alerts?
Unfortunately, There is no provision to avoid/disable it. We can not control the
system generated alert. I tried the same thing a few months back
but no luck. Still, there is no solution to avoid it.
Thanks

Is it possible to interact with ios devices even though app killed?

Is it possible to create an app where the message is automatically sent from one device to another when both the devices are in the same geo-location in predefined range or in the wireless points like Bluetooth?
I think there must be some way to do this. Please let me know if you have any idea about the same.
In peer-peer connection, It is not possible. When the user terminates the app everything goes with it.
But if you connect it with server, you could try to implement the behavior you are looking for with a push notification with content available, which gives you some time awake to download content in the background.

Callkit present Application UI instead of native UI

I want to use Callkit framework to present iOS native UI in incoming call for my voip app when smartphone is locked (more efficient than a simple notification), but after answering I would like to go to my app UI instead of one provided by callkit.
Preferentially I would like go immediately after answering the call, 2nd option would be a option in callkit UI to move to my app.
Any idea if that is possible? Didn't figure out any solution till now.
Thank you
Jose
CallKit provides the calling interface
https://developer.apple.com/documentation/callkit
Unfortunately there is no way to control calling interface for an incoming call.
When the device is locked, user will see native call UI after answering the call. If they wish to move to your app, they will have to tap corresponding button ("Messenger" button on the screenshot below):
When the device is unlocked, however, user will be redirected straight to your app automatically once they accept the call, so there is that.

Resources