Giter VIP home page Giter VIP logo

tiintercomandroid's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

tiintercomandroid's Issues

3.0 Upgrade

Hi @minhnc . Would you be available to upgrade this module to the latest Intercom SDK? We would be happy to compensate you for your time to help.

  • Jerod

Problem running the module

Hi Centrogram,

I have an issue running this module. I get the following error:


Unable to find explicit activity class (com.myapp/io.intercom.android.sdk.activities.MainActivity); have you declared this activity in your AndroidManifest.xml?

Source: TiIntercom.presentConversaionList();

I'm not sure if this helps, but I definitely can't get this to work: http://stackoverflow.com/questions/3433778/android-content-activitynotfoundexception

Do I need to put anything else in an AndroidManifest.xml inside my App itself? Also I assume I have to include the resources in /platform/android?

TiIntercom.setDeviceToken fails with `intercom-sdk-gcm module not found. Please add it to your build.gradle.`

First, thanks for creating maintaining this module. It's saved me soooo much time.

Everything is working great except for Push notifications.

After retrieving (via Ti.Cloudpush) a GCM token, calling TiIntercom.setDeviceToken(token, icon) fails with intercom-sdk-gcm module not found. Please add it to your build.gradle.

See below.

I can easily get my hands on Intercom's copy of its intercom-sdk-gcm, but I'm not at all sure where to put it or how to refer to it once I've put it somewhere...

Let me know if there's any info you need, debug or otherwise, or anything you'd like me to try and report to you.

Code

OF.log("XXX require(ti.cloudpush)");
var CloudPush = require('ti.cloudpush');

OF.log("XXX CloudPush.retrieveDeviceToken");
CloudPush.retrieveDeviceToken({
    success : function(e) { 
        OF.log("XXX TiIntercom.setDeviceToken: " + e.deviceToken); 
        TiIntercom.setDeviceToken:(e.deviceToken, Ti.App.Android.R.drawable.appicon);
        OF.log("XXX Done with TiIntercom.setDeviceToken: " + e.deviceToken); 
    },
    error   : function(e) { OF.log("error CloudPush.retrieveDeviceToken: " + e.error); } 
});

Adb output

05-16 14:25:18.312 27305 27327 I TiAPI   :  14:25:18 XXX require(ti.cloudpush)
05-16 14:25:18.375 27305 27327 I TiAPI   :  14:25:18 XXX CloudPush.retrieveDeviceToken
05-16 14:25:18.396 27305 27327 I TiAPI   :  14:25:18 XXX TiIntercom.setDeviceToken: XXXXXXXXXXXXXXXXXXXXXXXX
05-16 14:25:18.399 27305 27327 E Intercom-Android: ERROR: intercom-sdk-gcm module not found. Please add it to your build.gradle
05-16 14:25:18.399 27305 27327 D TiintercomandroidModule: (KrollRuntimeThread) [739,1255] Intercom : setDeviceToken()
05-16 14:25:18.399 27305 27327 I TiAPI   :  14:25:18 XXX Done with TiIntercom.setDeviceToken: XXXXXXXXXXXXXXXXXXXXXXXX

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.