Questions tagged [salesforce-sdk-hybrid]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
70 views

How to get mobilesync syncUp to properly work with the mobilesync plugin without the mobilesync.js library on cordova hybrid app?

I have been working on trying to get syncUp to work on a cordova hybrid app using the mobilesync plugin (and not the mobilesync.js library). There are no Github examples I could find that only use the ...
0
votes
0answers
22 views

Connection token for push notification get deleted from Salesforce

We have a hybrid app using Salesforce Mobile SDK (v8.0) where push notification is implemented as described in the docs here. The push notifications are received on the device. But the problem we have ...
0
votes
0answers
28 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
92 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
25 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, ...
1
vote
0answers
97 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
275 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
58 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
2k 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
231 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
250 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
137 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
351 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
401 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
751 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
337 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
191 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
646 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
518 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
263 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
278 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
221 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
305 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
205 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 ...