简体   繁体   English

如何在本机 ios 设备中读取通话记录或通话记录?

[英]How to read call logs or call history in react native ios device?

I was trying to read call logs from android and ios both, for android I was able to get the call logs using https://www.npmjs.com/package/react-native-call-log but for ios I am unable to do because it is only available for Android.我试图从 android 和 ios 读取通话记录,对于 android,我能够使用https://www.npmjs.com/package/react-native-call-log获取通话记录,但对于 ios 我无法因为它仅适用于Android。

I have tried searching for the solution everywhere but there is no library created for ios.我试过到处寻找解决方案,但没有为 ios 创建的库。 I also found an answer on StackOverflow where someone created his own library using java and bind it.我还在 StackOverflow 上找到了一个答案,其中有人使用 java 创建了自己的库并绑定了它。 I don't know java, Is there any way I can read ios call logs using javascript?我不知道 java,有什么办法可以使用 javascript 读取 ios 通话记录吗?

You can only get state of Call like incoming and outgoing.您只能获取呼叫状态,例如传入和传出。 But you can't get call log because of the Security concern.但是由于安全问题,您无法获取通话记录。 Apple don't allow to access its application to third party app like call log and messages. Apple 不允许将其应用程序访问到第三方应用程序,例如通话记录和消息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM