2017-04-03 41 views
0

我必须将truecalled SDK引入我的应用程序 这将验证用户,我将得到我必须在整个应用程序中使用的truecaller的响应。TrueCaller SDK到iOS

我从

https://developer.truecaller.com/ 

下载SDK,并融入了我的代码。 我可以使用truecaller进行登录,并要求获得许可。 如果我点击确定, 它打开浏览器,并显示一些JSON,

喜欢通过SDK提供的这个

{"code":404, "message":"HTTP 404 not found"} 

我已经使用相同的URL,

https://si568c53146f0a4130bf723b62d52361b6.truecallerdevs.com 

以下是屏幕截图显示流程

enter image description here

enter image description here

回答

0

是否遵循此步骤:

添加条目truesdk下LSApplicationQueriesSchemes在进入你的Info.plist文件

<key>LSApplicationQueriesSchemes</key> 
<array> 
<string>truesdk</string> 
</array> 

enter image description here

加入由Truecaller提供的相关领域(例如applinks:si44524554ef8e45b5aa83ced4e96d5xxx.truecallerdevs.com)在您的项目 - >功能>关联域。通用链接需要使用前缀'applinks:'才能正常工作。

重要提示:将提供的应用链接中的“https://”部分替换为“applinks:”。即https://si44524554ef8e45b5aa83ced4e96d5xxx.truecallerdevs.com应该成为applinks:si44524554ef8e45b5aa83ced4e96d5xxx.truecallerdevs.com,同时添加到权利。

(注意,没有http://或https://开头的前缀建立applinks :)

+0

我已经按照这些步骤时,他们提供这种他们的文档都在太..还是没有用的 – Sagar

+0

已解决? – SSR