I have set up the Cordova plugin for Marketing Cloud but in Chrome Debugger console for my Android device, I can't see any call to Marketing Cloud servers.

I have set the app_id, the access_token, the tenant_specific_endpoint and the notification_small_icon.

I call the methods MCCordovaPlugin.enablePush() and MCCordovaPlugin.setContactKey() with the appropriate contactKey, and no error nor warning appear in JS console.

My cordova-android version is 7.1.0 and the plugin version is 6.2.2.

What could I have forgotten?

  • Turn on logging github.com/salesforce-marketingcloud/… then post more details. – Bill Mote Jun 3 '19 at 18:22
  • 1
    I think the reason this post was closed is it lacks a code example to demonstrate/reproduce the problem. Would it be possible to edit your post to include at least a pseudo-code version of what you are doing? – Adrian Larson Jun 3 '19 at 19:03