private void processInboxResponse(final JSONObject response){
        if(getConfig().isAnalyticsOnly()){
            getConfigLogger().verbose(getAccountId(),"CleverTap instance is configured to analytics only, not processing inbox messages");
            return;
        }

        getConfigLogger().verbose(getAccountId(),"Inbox: Processing response");

        if (!response.has("inbox_notifs")) {
            getConfigLogger().verbose(getAccountId(),"Inbox: Response JSON object doesn't contain the inbox key");
            return;
        }
        try {
            _processInboxMessages(response.getJSONArray("inbox_notifs"));
        } catch (Throwable t){
            getConfigLogger().verbose(getAccountId(),"InboxResponse: Failed to parse response", t);
        }
    }
private void processInboxResponse ( final JSONObject response ) { if ( getConfig ( ) . isAnalyticsOnly ( ) ) { getConfigLogger ( ) . verbose ( getAccountId ( ) , "CleverTap instance is configured to analytics only, not processing inbox messages" ) ; return ; } getConfigLogger ( ) . verbose ( getAccountId ( ) , "Inbox: Processing response" ) ; if ( ! response . has ( "inbox_notifs" ) ) { getConfigLogger ( ) . verbose ( getAccountId ( ) , "Inbox: Response JSON object doesn't contain the inbox key" ) ; return ; } try { _processInboxMessages ( response . getJSONArray ( "inbox_notifs" ) ) ; } catch ( Throwable t ) { getConfigLogger ( ) . verbose ( getAccountId ( ) , "InboxResponse: Failed to parse response" , t ) ; } }
NotificationInbox