【问题标题】:Titanium - know if a contact have my app installedTitanium - 知道联系人是否安装了我的应用程序
【发布时间】:2013-02-19 19:26:35
【问题描述】:

我在我的应用程序中使用 Chat ACS Titanium http://cloud.appcelerator.com/docs/api/v1/chats/create。 我需要知道我的通讯录中是否有人安装了我的应用程序(例如 whatsapp o viber)。 有可能吗?

【问题讨论】:

    标签: android ios titanium contacts acs


    【解决方案1】:

    您可以从通讯录中获取所有电子邮件地址或电话号码或类似信息,然后运行查询以查找所有匹配的用户(提示:您将使用 email: { $in: [ 'all', 'the', 'emails' ] })。

    http://cloud.appcelerator.com/docs/api/v1/users/query

    【讨论】:

    • 感谢 Dawson,这样一通电话我就能得到所有结果 :-)
    猜你喜欢
    • 2014-02-20
    • 1970-01-01
    • 2012-08-26
    • 1970-01-01
    • 2011-05-18
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-02-06
    相关资源
    最近更新 更多