iPhone App: "Inject" audio files into phone conversation - ios

After Googleing and looking through StackOverflow, I haven't found a suitable solution to "inject audio from an iPhone app into an ongoing phone conversation."
As an iPhone app dev newbie, I found Intercepting phone call - iPhone (correct method to hook in CoreTelephony), but I don't want to do ant jailbreaking. I want my iPhone app to insert pre-recorded phrases and noise effects into an ongoing phone conversation.
Can anyone tell me where I would start with that? Any hints, links or just some "general direction" advice would be much appreciated.

The iOS security sandbox actively prevents any (non-Apple) app from injecting audio into another app, such as the Phone app, where inter-app audio is not explicitly supported.

Related

How to fix App Store connect demo video error?

I’m trying to upload an speedometer app to apple App Store. But I get this error message from apple:
Does your app interact with hardware, and if so please provide a link to a demo video that demonstrates the current version of your app in use on a physical iOS device, which shows the initial pairing process and entire app workflow with the designated hardware.
I have sent them an video of the whole app but don’t accept it. Does anyone know how to fix this issue?
In the video, make sure you demonstrate the pairing of the "physical iOS device" and other hardware(BLE device?).
I think there is no other way to make your app approved.
With another phone take a video of your iPhone using the app physically.
For example: while walking record yourself holding the phone and the speedometer changing.
Also, tell Apple that your app does not interact with external hardware.

Can I make a purely voice driven app in Expo?

I want to create an Expo app for ios that will say something, and wait for my reply, via headphones. The headphones part is immaterial but it indicates what I want... which is for this to run while my phone is locked and in my pocket. Once I have replied, the app would proceed. I have built Expo apps but I am unsure of whether an app can still interact with me via audio and the microphone in this way while the phone is locked. Also, I don't know if Expo has introduced this sort of capability. I also don't know if React Native (i.e. ejected Expo apps) can do this sort of thing. The lack of apps that truly interact in this way (not via Siri etc) are far and few between so I'm assuming it's a hard problem to solve. I would be just as happy if I could have a browser page running on the device do the same thing, but I'm pretty sure webpages can't play audio and wait for replies when a phone is locked. Is any of this possible at this point?
I did research this online, just to be clear. I wasn't able to find an answer so I came here. I mention this because this whole post does have that 'can you research this for me' vibe. I'm just hoping someone has knowledge of what is possible.
There is a page in the expo documentation that says when not to use expo, and the following is in there:
The SDK doesn't support all types of background code execution
Background execution is the ability to run code when the app is not foregrounded or the device is sleeping. We support background geolocation (including geofencing) and background fetch, but we do not yet support background audio with the operating-system playback controls and you cannot handle push notifications in the background. This is a work in progress.
You can take a look at it here.
I think you can do it in React Native though, however I can't say if there is a library to do it, so you can try creating your own with native code. You can see how here for android and here for ios.

How to skip ads in youtube iOS app automatically when video is playing?

We want to develop and iOS app which can be able to skip YouTube ads while YouTube video is playing in iOS APP. This app runs in background while video is playing. Our Android team develop this app because android gives them a system level permission to skip ads. Is there any OS level permission in iOS to skip ads?
Unfortunately I don’t think that’s actually possible.
In order to have an app run in the background like that, you would probably have to be jailbroken or have root access. To skip a youtube ad as well as that, that sounds impossible, unless Youtube has some sort of system in place allowing other apps to add functionality to the Youtube app.
There are apps that connect with the Safari app and block certain things on webpages, but none skip youtube ads, they just block them.
With a jailbroken iOS device, I have seen many tweaks which do things similar to this, but I haven’t yet seen a tweak which actually skips the ad the way you want.
Considering this, your request may be impossible with the current nature of iOS.
Anybody please correct me if I’m wrong about any of this.

Can we open an App in iOS using voice?

Basically I would like to turn on my app when in a certain environment(club scene), can an app be turned on in iOS using an algorithm?
Regards,
Feras A.
iOS is not in favor of keeping the mic open all the time to record everything. So I dont see this is possible anytime soon.
You have to have an app that records the voice all the time and does a lot of FFT in order to determine what kind of scene you are in.
Unless your app is a music streaming app unfortunately app will be suspended by OS sooner or later so you cannot listen all the time.

How to get audio from AppleWatch like Shazam does?

Recently I have realized that Shazam has developed an AppleWatch application but in many questions and answers in StackOverflow, we have talked about the no possibility of recording audio directly from your watch.
Does a new way exist to do it?
The Shazam app simply activates the app on your phone. The WatchKit SDK doesn't allow access to the mic. They mention this in their marketing materials and such.

Resources