We are trying to implement Marketing Cloud Mobile Push in our hybrid remote app. We have installed the MC-Cordova-Plugin. Included the generated js file into the remote visualforce page but calling the methods has no effect. Is it possible to have Mobile Push work with hybrid remote apps?
There are a few things I don't understand about your environment yet. I don't know what you're doing in the "remote visualforce page" nor do I know what platforms you are trying to support. I'm assuming you are downloading and installing the latest plugin from the public repo https://github.com/salesforce-marketingcloud/MC-Cordova-Plugin. That being said your best bet is to understand what is going on in the "CLI Workflow" section of our docs.
This section assumes that you have an existing app set-up with notifications, provisioned and turned on with bundleid set, etc; Those steps are commented to help give a bit of an understanding as to why we are copying your original project files, backing them up and then replacing the auto-generated ones created with the Cordova prepare command later. It does sound like you're integrating into an existing app. I'm also assuming the generated JS file you are referring to is our "MCCordovaPlugin.js" file correct?
- What platforms are you supporting?
- Have you been able to execute any of the build commands like "cordova plugin add", "cordova prepare"?
- What do you mean by your question... "Is it possible to have Mobile Push work with hybrid remote apps?" The Cordova repo is a hybrid platform and does support mobile push SDK. At least the features supported in the ReadMe.
If you are in need of more in-depth support or a walkthrough, if you could contact your SF support rep, we would be happy to get you where you need to be.