Questions tagged [cordova]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
37 views

MarketingCloud Cordova plugin not working [closed]

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, ...
0
votes
1answer
34 views

Ionic Cordova windows 10 app with SalesforceMobileSDK

I am creating a hybrid app for Windows 10 using Ionic, Cordova and SalesforceMobileSDK-CordovaPlugin. I followed below steps - created ionic-cordova app: ionic start helloWorld sidemenu --type=ionic-...
0
votes
0answers
33 views

Cordova Plugin crashes the app on launch

I'm having some problems with MC-Cordova-Plugin. When I install it, it crashes the app. Whithout it the app runs seamlessly. With the plugin installed, I can build it with no problems, but when I try ...
0
votes
1answer
30 views

Marketing Cloud Cordova Plugin - iOS Push Notifications - entitlements required?

We are using Cordova for our mobile apps and hence we are in process of integrating Marketing Cloud Cordova Plugin with our cordova app. I had a question do we have to set aps-environment entitlement ...
1
vote
1answer
99 views

MC Cordova Plugin sfmc_setContactKey

We are using latest version v6 of https://github.com/salesforce-marketingcloud/MC-Cordova-Plugin. But when trying to create a contact, we don't see it in push contacts on Marketing Cloud. It looks as ...
4
votes
1answer
70 views

NSDictionary representing Inbox Message Structure

What is the structure of the NSDictionaries representing Inbox messages that are returned in an Array by sfmc_getAllMessages? I'm trying to access the objects in each NSDictionary and need to know ...
1
vote
1answer
118 views

Missing required properties: notificationCustomizationOptions error when using MC-Cordova-Plugin on Android

I am implementing the MC-Cordova-Plugin into an app. I am able to create an android build but when running it on a device, I receive this error. I have set this preference inside the android ...
0
votes
0answers
27 views

TLS MarketingCloud upgrade required or not?

I'm currently running MC-Cordova-Plugin 1.0.2, according to documentation (https://help.salesforce.com/articleView?id=000270626&type=1) only Android 20 aka Android 4.4 and below requires an ...
2
votes
1answer
174 views

Problems deeplinking out of the Salesforce App on Android

I have an Cordova mobile app that I want to be able to deeplink to from the Salesforce App. I am currently using Branch.io for the deeplinking. The problem is that when I click the deeplink from ...
0
votes
1answer
75 views

Marketing Cloud Cordova Plugin - Crash on iPhone 5 OS 10.3

I am developing an application using MCCordovaPlugin and just updated to v.1.0.3. All of the functions work well, but there is a problem : if using this updated MCCordovaPlugin, the app will crash on ...
2
votes
1answer
191 views

Marketing Cloud - Push Notification iOS Title Not Set

Currently I made an application with push notification function from Marketing Cloud. I used MCCordovaPlugin (https://github.com/salesforce-marketingcloud/MC-Cordova-Plugin) to get the push ...
1
vote
1answer
226 views

Marketing Cloud Cordova Plugin SetAttribute and clearAttribute - Intermittent Value Update

I've implemented MC Cordova Plugin (https://github.com/salesforce-marketingcloud/MC-Cordova-Plugin) for push notification through Marketing Cloud for hybrid mobile app, but encountering problems to ...
1
vote
2answers
416 views

Marketing Cloud cordova plugin error can not enablePush - iOS

so i wanted to create a cordova hybrid app using SalesforceMobileSDK alongside MarketingCloud plugin for push notification. I've added SalesforceMobileSDK cordova plugin and so far it runs perfectly. ...
0
votes
2answers
610 views

Marketing Cloud Cordova Plugin Push Notification Issue - iOS and Android

I've implemented MC Cordova Plugin (https://github.com/salesforce-marketingcloud/MC-Cordova-Plugin) for push notification through Marketing Cloud for hybrid mobile app, but encountering problems. On ...
0
votes
1answer
336 views

Cannot receive push notification in iOS device

I am using this plugin : https://github.com/salesforce-marketingcloud/MC-Cordova-Plugin and I want to send push notification to both iOS and Android devices. The scenario is this : I open the app ...
0
votes
2answers
438 views

salesforce-marketingcloud android push no

I'm trying to integrate salesforce-marketingcloud Cordova plugin with an existing hybrid mobile application. I've created firebase account and all required details for android and ios and did all the ...
1
vote
2answers
478 views

Cannot send push notification to iOS device

I have a Cordova app with the Marketing Cloud cordova plugin (https://github.com/salesforce-marketingcloud/MC-Cordova-Plugin). Although I had some difficulty to make it work on android (cf What is ...
0
votes
2answers
207 views

MCCordovaPLugin - Package R does not exist

I'm traying integrate Marketing Cloud Push Notifications using MCCordovaPlugin with Ionic 3, in iOS works fine, but when I compile for Android, console sends Error: Package R does not exist ...
0
votes
1answer
195 views

What is the minimum version of Cordova required to use the Marketing Cloud Cordova plugin?

I want to integrate this plugin : https://github.com/salesforce-marketingcloud/MC-Cordova-Plugin into an already existing app that run Cordova 5.4.1. I can install the plugin but when I try to build ...
2
votes
0answers
95 views

Hybrid Remote on Mobile SDK 5+: how to handle cordova.js on iOS?

I'm currently making the move from MobileSDK 4.x to 5.2 for a hybrid remote app with Android and iOS builds, and I need some help on using cordova.js on iOS. I'm observing that cordova.js is not ...
0
votes
1answer
64 views

Salesforce Mobile SDK error when fetch plugin SalesforceMobileSDK

I've been trying to create a hybrid application with sdk but at a point of creation it gives me the following error: Error: Failed to fetch plugin https://github.com/forcedotcom/SalesforceMobileSDK-...
2
votes
2answers
342 views

Why do we need the com.salesforce plugin for cordova apps?

I have a lingering question. For Hybrid Salesforce Apps, why do we need the 'com.salesforce' cordova plugin? We are able to fetch the Salesforce data using the ForceJS library as it is? :)
1
vote
0answers
99 views

Ionic2 & SalesforceMobileSDK-CordovaPlugin not working toghter

did any of you succeeded in impl ionic2 (3.0.0) & SalesforceMobileSDK plugin?? i just want the OAuth2 flow (login screen etc..). i saw this tutorial http://coenraets.org/blog/2016/12/sample-...
0
votes
1answer
147 views

SalesforceMobileSDK-CordovaPlugin iOS Unable To Launch the Startpage

cordova create cd npm init npm install shelljs@0.7.0 --save cordova plugin add phonegap-plugin-barcodescanner cordova plugin add https://github.com/forcedotcom/...
2
votes
2answers
282 views

salesforce mobile sdk 5.0 CORS error while rest api using force.js

I'm getting the CORS error while doing REST api call on Salesforce using the new force.js library. I've also added question on Salesforce Dev Forum: https://developer.salesforce.com/forums/ForumsMain?...
1
vote
1answer
559 views

Android Hybrid Remote App - On clicking Push notification open a specific app Page instead of Landing Page

I have implemented a hybrid remote app for our Salesforce Community and also activated Push notifications for same. By default, whenever you gets a push notification, tapping on it opens the app with ...
0
votes
1answer
1k views

Salesforce Hybrid app crashing in Android studio with error: Session 'android': Error Launching activity

I am building a hybrid android app using Salesforce mobile sdk and Cordova. I am following the tutorial given in this PDF of https://bitly.com/1vwq1rL at link https://developer.salesforce.com/...
1
vote
0answers
38 views

ERROR Cordova Salesforce andoidSDK app

I successfully create application using command line. forcedroid create Enter your application type: hybrid_local Enter your application name: myApp Enter the target directory of your app : Provided ...
3
votes
0answers
333 views

Cordova.js include in visualforce page

Incuding cordova.js in my visualforce page <apex:includeScript value="{!URLFOR($Resource.BPMobile, 'BPMobile/cordova/cordova.js')}" /> Getting the following in chrome console: Mixed ...
4
votes
0answers
74 views

Cordova/iOS Capabilities

I tried searching for answers to my questions but I was unable to find any. I want to develop a native iOS application using cordova and I was wondering if it was possible to: Create a custom login ...
1
vote
0answers
146 views

Customer Portal + Auth Provider + Connected App + Facebook Login + SalesforceMobileSDK-CordovaPlugin

When we login using Facebook it successfully redirects to the Facebook login page and if login username and password are correct then shows the authorisation of the Facebook developer app. when you ...
1
vote
1answer
492 views

Not redirecting to Salesforce login page while opening the app

forcedroid version 4.0.0 cordova version 5.4.1 phonegap version 5.3.9 cordova platform version android 5.0.0 mac OS X Yosemite 10.10.5 I followed the below steps to create a new app, $ forcedroid ...
0
votes
1answer
240 views

Cordova SalesforceSDK - Icons & splash screens not working

I am developing a hybrid android mobile application using Phonegap/Cordova and Salesforce mobile SDK. I am trying to change the icon and splash screen but it is not working as expected. Reference ...
1
vote
0answers
51 views

Unable to run sample sales-force contact explorer application in Cordova project in Visual Studio 2015

In visual studio 2015 When I try to run the sample sales-force contactexplorer application , I got the following error: Here is my method: function onDeviceReady() { cordova.require("com.salesforce....
1
vote
0answers
49 views

Forceios App not loging out the community app

I tried to create a Salesforce community remote hybrid app using the forceios. I have set all the configuration for the same. I am now able to login to the app. But when I hit logout and exit the app; ...
1
vote
1answer
257 views

Cordova.JS in Visualforce Page running on force.com site for hybrid app

i did the following steps. But cordova plugin for android doesnt seem to work for me in force.com site Steps followed for Cordova 1.Cordova create appname. (cd appname) 2.cordova plugin add org....
1
vote
0answers
169 views

ETPush.registerForNotifications() method in JB4A SDK Cordova Plugin, callback not working

I've created a Github issue for this as well, find it here: https://github.com/ExactTarget/JB4A-SDK-CordovaPlugin/issues/3. The Github issue has images and code to review. For a quick summary, the ...
0
votes
1answer
641 views

Mobile SDK - Android aapt error

I'm trying to package an android hybrid app using the steps here https://github.com/forcedotcom/SalesforceMobileSDK-CordovaPlugin. This all runs fine and the app seems to be good, but when I try to ...
1
vote
3answers
4k views

Error creating hybrid app mobile salesforce sdk [closed]

I have been struggling for a couple of days creating an hybrid app with salesforce mobile sdk. I managed to execute some samples app in by cloning the saleseforce mobile sdk git repo and following ...
6
votes
1answer
453 views

Mobile SDK 3.x - Cordova Bug - Dialer Returns error for hybrid apps

I've come across a fairly serious issue which relates to Mobile SDK 3.x - While it was good to move to Cordova 3.7, it introduces a rather unwanted bug which is also mentioned on other Stackoverflow ...
1
vote
0answers
411 views

Android ionic hybrid app missing SalesforceOAuthPlugin

I'm trying to buid a simple android SFDC app using Ionic, I used this https://github.com/driftyco/ionic-starter-salesforce when I try it in the browser using ForceServer it works fine but when I try ...
3
votes
1answer
238 views

Salesforce Polymer Mobile UI on Android Chrome gives blank page

I saw this article Secure, Offline, Cross-Platform Apps with Salesforce Mobile SDK and Web Components and found it very interesting, when I try the sample application Heroku Hosted Version of the ...
0
votes
0answers
481 views

How to access cordova in visualforce page directly using static resources

I am trying to access camera from my visualforce page . For that i downloaded cordova library and referenced into my script path . i added camera plugins into my script but still i am unable to access ...
0
votes
1answer
222 views

Phonegap + Windows 8: X-Frame-options

I have OAuth set up for portal users as shown here: https://developer.salesforce.com/blogs/developer-relations/2013/02/oauth-for-portal-users.html App works fine in iOS and Android but in Windows 8 ...
0
votes
1answer
199 views

Unable to detect Wifi but no internet connection

I have developed a sencha touch based application using salesoforce mobile sdk 2.2.1. I am using cordova's following inbuild function for network state change https://cordova.apache.org/docs/en/2.3.0/...
1
vote
1answer
183 views

Mobile SDK - whitelist URLs cordova 2.3.0

I need to download some files with cordova with the mobile SDK. Apparently I need to allow the remote origin to download the file because I keep on getting http status 401 when I use the FileTrasnfer. ...