Skip to main content
15 events
when toggle format what by license comment
Mar 8, 2018 at 23:25 comment added Serge Tk I haven't used this plugin before .... I tried it on 3 different machines 2macs and 1 windows.... only older mac successfully tried to execute hook script (but failed due to another plugin overwriting the same tag).
Mar 8, 2018 at 20:07 comment added Tom Brooks Serge Tk... Have you seen issues before with the hooks not firing? I saw this a couple months ago and we do have a workaround, however after trying to reproduce the hooks not functioning bug, I now cannot reproduce it and in fact the hooks are working on our Marketing Cloud Cordova Plugin 1.0.2 latest and even our develop branches.
Mar 1, 2018 at 19:59 comment added Serge Tk another interesting observation..... so the issue is hooking not firing ......
Feb 28, 2018 at 20:42 comment added Serge Tk Looks like I figured out the issue, the android post_prepare hook doesn't fire....... which means MCCordovaPlugingApplication.java never added to Android manifest file and never called... I've created hello world app in Cordova and if I manually add android:name="com.salesforce.marketingcloud.cordovaplugin.MCCordovaPlugingApplication.java" my debug point will get hit.
Feb 27, 2018 at 12:55 review Low quality posts
Feb 27, 2018 at 13:39
Feb 18, 2018 at 22:35 comment added Serge Tk Turns out 1.8 is a requirement to install a plugin so my theory it could've been java version goes out of the window.
Feb 15, 2018 at 19:52 comment added Serge Tk Does anyone know if this plugin actually works with java 1.8?
Feb 15, 2018 at 1:59 comment added Serge Tk Hello. I'm running on both emulator (Nexus 5x API24) and device (Samsung SM-G900I(Android 6.0.1, API 23 ).
Feb 15, 2018 at 1:37 comment added Tom Brooks Are you running this on an emulator and if so which device type and API?
Feb 15, 2018 at 1:34 comment added Tom Brooks ok... yes that error with "missing R.class" is often because there are no inserted values which makes sense if you're not even executing code MCCordovaPluginApplication.java file. So a couple things. 1. I'm going to assume your add plugin command is running successfully, or there would be issues with the iOS platform as well. So when you run the gradle sync in Android Studio what happens? 2. If you get no errors can you verify the package path looks good and agrees with dir structure? package com.salesforce.marketingcloud.cordovaplugin;
Feb 14, 2018 at 23:51 comment added Serge Tk I've put breakpoints into MCCordovaPlugingApplication.java and none of them got hit. I've also put breakpoints into MCCordovaPlugin.java and I hit my breakpoint..... It looks like onCreate() inside MCCordovaPluginApplication.java never called.
Feb 14, 2018 at 21:10 comment added Serge Tk Also yes I'm using Android Studio and I do have errors with missing R.class but I can get around it by adding import package.name.R; and it fixes that issue and I'm able to build and run the application.
Feb 14, 2018 at 19:59 comment added Serge Tk Thank you for you suggestion I will try increasing logging level...
Feb 14, 2018 at 17:37 history edited Tom Brooks CC BY-SA 3.0
added 4 characters in body
Feb 14, 2018 at 16:40 history answered Tom Brooks CC BY-SA 3.0