在 phone 间隔内进行和监控 phone 呼叫
Making and monitoring phone call within phonegap
我正在考虑构建一个 PhoneGap 应用程序,它可以通过网络套接字与我的网络应用程序一起使用。它会收到指令拨打phone号码,运行在后台进行phone呼叫时,检测phone呼叫何时接听以及何时呼叫挂机,然后恢复,这样通话信息通过ajax.
发回
这可以在 PhoneGap 中完成吗? iOS 可以批准吗?
注意:这是一个可行性问题,不是给我代码的问题。
Can this be done in PhoneGap?
不,您必须为每个平台开发一个插件。
Can this be approved for iOS?
我发现的所有类似问题的示例都使用已弃用的 API,所以可能不是。
我不是 ios 开发人员,这就是我不确定的原因。此处有更多信息 Detecting the call events in ios
我知道这在 Android 上是可能的,请参阅 How to detect incoming calls, in an Android device?
无法在 Windows phone 上查看 Is there any way to monitor phone call info on Windows Phone 7?
用于使用任何本机功能,如定位、通话等;开发人员必须创建插件。对于 iOS 10 和即将发布的版本,苹果推出了 callkit framework which allows you to programmatic access to VoIP functionality
, as well as call blocking and identification. Prior to iOS 10, I have used twilio API ,它的功能与您的问题中提到的相同。
- 是的,可以在 phonegap 中使用自定义插件。
- 是,申请将在 iOS 后获得批准。
我正在考虑构建一个 PhoneGap 应用程序,它可以通过网络套接字与我的网络应用程序一起使用。它会收到指令拨打phone号码,运行在后台进行phone呼叫时,检测phone呼叫何时接听以及何时呼叫挂机,然后恢复,这样通话信息通过ajax.
发回这可以在 PhoneGap 中完成吗? iOS 可以批准吗?
注意:这是一个可行性问题,不是给我代码的问题。
Can this be done in PhoneGap?
不,您必须为每个平台开发一个插件。
Can this be approved for iOS?
我发现的所有类似问题的示例都使用已弃用的 API,所以可能不是。 我不是 ios 开发人员,这就是我不确定的原因。此处有更多信息 Detecting the call events in ios
我知道这在 Android 上是可能的,请参阅 How to detect incoming calls, in an Android device?
无法在 Windows phone 上查看 Is there any way to monitor phone call info on Windows Phone 7?
用于使用任何本机功能,如定位、通话等;开发人员必须创建插件。对于 iOS 10 和即将发布的版本,苹果推出了 callkit framework which allows you to programmatic access to VoIP functionality
, as well as call blocking and identification. Prior to iOS 10, I have used twilio API ,它的功能与您的问题中提到的相同。
- 是的,可以在 phonegap 中使用自定义插件。
- 是,申请将在 iOS 后获得批准。