Questions tagged [salesforce-sdk-hybrid]
The salesforce-sdk-hybrid tag has no usage guidance.
28
questions
0
votes
0answers
26 views
Switch user method switchToUser() fails to switch the user in Cordova hybrid IOS app
Version of Mobile SDK Used: 8.2.0
Version of Cordova ios: 5.1.1.
Issue found in Native App or Hybrid App: Hybrid iOS app
OS Version: 13.5
Device: iPhone SE
Assume we have two userid's
UserA :user_id ...
0
votes
1answer
61 views
Calling REST APIs without storing SF credentials on the client side
I have 5 orgs that I want to be linked to my web server. My server gets POST calls from different Facebook accounts. These then have to be routed to Salesforce orgs according to the business that ...
1
vote
0answers
22 views
Information about Salesforce Mobile SDK
Every time, i try to run the 'forcehybrid create' command for building a hybrid app, the command fails as it tries to connect to GitHub and we have a restriction to access GitHub. Is there any way, ...
0
votes
0answers
12 views
forcehybrid command returns npm is required but could not be found
1
I am doing a POC for implementing Salesforce Hybrid App. I am working on Windows Server2012R2. I installed the Node js required for it. But, when i run the 'npm' command it throws 'npm' is not ...
1
vote
0answers
69 views
Migration of existing forcehybrid apps from AngularJS to Angular
We have an existing app running on Cordova 9.0.0, forcehybrid CLI 7.3.0 and Salesforce SDK 7.2.0 which is built using AngularJS v1.7.5.
As it is known that AngularJS is deprecated and is not actively ...
1
vote
1answer
229 views
Unable to register device token to Salesforce user - iOS Hybrid app
I am trying to send a message from Salesforce to iOS Mobile Device, for this I have chosen the Push Notification feature.
My application developed in the Hybrid Application(Cordova, Ionic, Angular).
...
0
votes
1answer
55 views
Hybrid MCCordovaPlugin not compatible Android 4.4 to 6.0
We are building an application with Ionic 4 and Angular , we are trying to implement MCCordovaPlugin in our application,
but we have some issues with it. We want our application to work on Android 4.4 ...
0
votes
1answer
1k views
REST API Call - Request Timeout
Hybrid Mobile App
Cordova 8.0.0
Angular 1.7.5
Salesforce MobileSDK 6.2
Method - force.apexrest
Issue - Salesforce REST API Call - Request Timeout (20%).
Details - When the mobile app is hitting ...
2
votes
1answer
189 views
SDK SmartStore Soup Limit
For a proof of concept using Salesforce Mobile SDK, one major requirement is to be load 50k records from Salesforce and store locally offline.
After understanding the SmartStore function and ...
1
vote
0answers
234 views
Embed Visualforce Page into Native Mobile app as Hybrid page
We have developed a native iOS mobile app that connects to Salesforce, users login through this native app using OAuth user-agent flow and a connected App.
This all works fine.
We are now trying to ...
1
vote
0answers
125 views
Salesforce Mobile SDK Setting shouldAuthenticate to false returns exception
Version of Mobile SDK Used: 5.1.0
Hybrid remote app
Create project with usual steps and in bootconfig.json, set shouldAuthenticate to false and startPage is a public page in Salesforce community:
{ "...
2
votes
1answer
340 views
Cordova Hybrid app using Salesforce mobile SDK with Community and custom VF login page - Issue with login from mobile app
I am trying to add a custom Visualforce login page to my hybrid app, which is connected to a SF community. What I have done is, created a Visualforce page, which collects the User's username and ...
2
votes
2answers
363 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
732 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 ...
4
votes
3answers
317 views
Hybrid iOS app using Mobile SDK - Defer login screen until triggered
We have a hybrid app which is prompting the user to login or register when the app is started (it's the standard Community login page on the Salesforce instance).
We don't want to trigger this login ...
2
votes
1answer
2k views
Cannot find module 'forcejs'. while using angular 2 in ionic 2
I am working as a noob on my ionic 2 / ang 2 application. I am trying to set it up to use forcejs auth implementation.
Now I create a basic app following the ionic 2 tutorial here - http://...
0
votes
2answers
189 views
Using ngforce for logging out user
I am using force ng library for one of my hybrid apps, but issue is I cannot find any method to log out users so that different credentials can be used.
Any idea? Thanks
2
votes
0answers
644 views
Create custom Salesforce Login Page in iOS/Android while using the SDK [closed]
Currently when we use the salesforce SDK it opens up a default page from
https://test.salesforce.com
or
https://login.salesforce.com
The design of these two pages is of salesforce default login ...
1
vote
1answer
134 views
Salesforce Connected App - Push Messaging Android GCM API Key
I am trying to enable the push messaging in a connected app. Can someone explain me what is this API Key and how do I get the androidPushNotificationClientId?
API Key - https://developer.salesforce....
1
vote
1answer
513 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
258 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 ...
6
votes
1answer
256 views
Join Queries in a Hybrid App (Salesforce SDK / Smartstore)
I'm trying to retrieve some data from the local database using SmartStore and join queries. Let's say I have the following query:
SELECT * FROM {PricebookEntry}, {Product}, {Pricebook} WHERE {...
2
votes
0answers
206 views
Index.html not found in Cordova #SalesforceHybridRemoteApps
I followed the steps necessary for creating a hybrid remote app in Cordova. But once I build and run the emulator I am getting error index.html is missing.
Cordova create xxxx
cd xxxx
forcedroid ...
2
votes
1answer
287 views
How to delete a specific record from soups?
I want to delete a specific record from soups, can anyone help me to achive this. I tried with the destroy function but it removes the record from both soups and salesforce in online mode and in ...
1
vote
0answers
60 views
Using Social Authentication with Mobile SDK
I have a hybrid mobile app that logs into a customer community. The Community has a custom login page the provides the sso links to 3 Auth Providers i've configured (FB, Google, LinkedIn). If the ...
1
vote
0answers
202 views
How to recover Hybrid Remote app from Bootstrap Error? (iOS)
When an iOS Hybrid Remote app built using the Salesforce Mobile SDK launches, if it cannot connect to the network, it will generate a "Bootstrap Error Page" like the one below:
Although it doesn't ...
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 ...
2
votes
2answers
1k views
How to Switch login server(sandbox/other) in Salesforce Hybrid Mobile SDK on Android device without hardware menu button?
Using Salesforce Hybrid Mobile SDK, I am able to OAuth easily to production on Android devices.
I am trying to change login server to sandbox, which works fine on Android devices, where a hardware ...