Questions tagged [cordova]

The tag has no usage guidance.

23 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
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 ...
3
votes
0answers
348 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 ...
3
votes
1answer
240 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 ...
2
votes
0answers
102 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 ...
1
vote
1answer
118 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 ...
1
vote
2answers
446 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. ...
1
vote
0answers
102 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-...
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 ...
1
vote
0answers
150 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
0answers
52 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
50 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
0answers
170 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 ...
1
vote
0answers
413 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 ...
0
votes
1answer
25 views

MCCordovaPlugin, getting Push Notifications only when contactKey is set to my phone number?

I don't remember if my phone number is somehow tied to sending push notifications or not. At this point, I am always able to successfully send and receive outbound push notifications if i ...
0
votes
1answer
27 views

Salesforce Marketing Cloud - MobilePush - Cordova Plugin Android integration Issue

I am trying to integrate Salesforce Marketing Cloud SDK with Android using Cordova Plugin. But I am getting gradle build issues. Below is the Error: ERROR: Unable to resolve dependency for ':app@...
0
votes
0answers
17 views

Users are intermittently getting salesforce login page instead of custom login screen

We are using Cordova Salesforce Mobile sdk in one of our client application. We have upgraded our mobile sdk plugin to V7.0.0 recently and from then users are intermittently getting the Salesforce ...
0
votes
0answers
47 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
36 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 ...
0
votes
1answer
400 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
230 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
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/...
0
votes
0answers
489 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
232 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 ...