标签: applozic

在Ionic 2中集成JavaScript Web插件

我试图将Applozic聊天平台集成到我的Ionic 2项目中,我希望将其导出到Web,Android和iOS.使用示例作为基础并为Javascript集成过程创建applozic.d.ts和applozichv.js.

applozic.d.ts

interface AppLozicStatic {
    initPlugin(): any;
}

declare var AppLozic : AppLozicStatic;
export = AppLozic;
Run Code Online (Sandbox Code Playgroud)

applozichv.js

(function () {
    var root = this;

    var AppLozic = function (obj) {
        if (obj instanceof AppLozic) return obj;
        if (!(this instanceof AppLozic)) return new AppLozic(obj);
        // this.EXIFwrapped = obj;
    };

    if (typeof exports !== 'undefined') {
        if (typeof module !== 'undefined' && module.exports) {
            exports = module.exports = AppLozic;
        }
        exports.AppLozic = AppLozic;
    } else …
Run Code Online (Sandbox Code Playgroud)

javascript jquery applozic ionic2

13
推荐指数
1
解决办法
291
查看次数

比较Layer,Applozic,Quickblox和SendBird,以便在Android应用中快速发送WhatsApp消息

我们Wishbook有一个B2B移动应用程序(Android和iPhone),我们正在寻求实现文本和照片通信 - 在用户1对1之间,或从用户到他的买家组.我们热衷于能够尽快加快速度,提供良好支持,成熟的库/服务器以及电池友好的东西.

我们现在在Layer,Applozic,QuickBlox和SendBird之间进行比较.谁用过它们?他们使用什么协议(XMPP/MQTT/custom/other)?使用它的经验 - 稳定的代码库等等?此外 - 我们更喜欢开源和口袋友好的产品.

谢谢,Arvind

android layer quickblox applozic sendbird

9
推荐指数
1
解决办法
2628
查看次数

Applozic Ionic为用户获取最后一条消息

在Applozic/Ionic集成应用程序中,我需要为用户或组获取最后的消息和聊天时间

我已经阅读了Applozic - Ionic集成的文档,但还没有找到上面的解决方案.它只在下面提到

//Get Total Unread Count
applozic.getUnreadCount(function(response){
     var count = response;
    },
    function(error){alert(error)
   });
   
//Get Unread count per user
   var userId = 'USER_ID'; //pass UserId with which unread count 
   applozic.getUnreadCountForUser(userId,function(response){
     var count = response;
    },
    function(error){alert(error)
   });
   
 //Get unread count per group
   var groupId = 'GROUP_ID'; // pass groupId in which unreadcount required

  applozic.getUnreadCountForGroup(groupId,function(response){
       var count = response;
    },
     function(error){
    });
Run Code Online (Sandbox Code Playgroud)

chat applozic ionic2 ionic3

2
推荐指数
1
解决办法
480
查看次数

标签 统计

applozic ×3

ionic2 ×2

android ×1

chat ×1

ionic3 ×1

javascript ×1

jquery ×1

layer ×1

quickblox ×1

sendbird ×1