Questions tagged [salesforce-mobile-sdk]

The Salesforce Mobile SDK is an open-source suite of familiar technologies that let you rapidly build HTML5, native and hybrid mobile apps that connect to the Salesforce Platform.

The Salesforce Mobile SDK is an open-source suite of familiar technologies that let you rapidly build HTML5, native and hybrid mobile apps that connect to the Salesforce Platform. Using the SDK, you can develop cross-platform HTML5 web apps, native iOS apps using Objective-C, or Android apps written with Java. You can also create HTML5-based hybrid apps using the SDK’s Mobile container, a wrapper based on Apache Cordova (PhoneGap) that enables HTML5-based applications to leverage device features like the camera and microphone. Additionally, the SDK provides libraries for key enterprise requirements, such as authentication and secure offline storage, effectively providing an enterprise-ready mobile application container.

22 questions
3
votes
0 answers

iPhone Device token not getting pushed to salesforce through SalesforceMobileSDK for CORDOVA

I am trying to implement Apple Push Notification through SalesforceMobileSDK for a Hybrid mobile app (IONIC, Cordova). The problem is that the device token is not getting registered to Salesforce user. When I use the below-mentioned code suggested…
2
votes
1 answer

How to pass oAuth session token to react-native webview from salesforce react native app?

We are planning to develop a custom react-native mobile app where we need to display lightning app pages in mobile webview through lightningout.js. We created a react-native app using forcereact (Salesforce mobile sdk), and we can successfully login…
2
votes
0 answers

salesforce mobile sdk access to UserInfo class

I have created a mobile app in Android and iOS using the Salesforce SDK. I want to add functionality of multi currency by using isMultiCurrencyOrganization() method from the UserInfo class. Now I am quite new to Salesforce mobile SDK so I don't know…
1
vote
1 answer

Creating a Generic Mobile App for Salesforce Org Connection

I'm currently working on developing a mobile app that connect to my own Salesforce organizations. I have created the application using forcereact as mentioned in their Official Documentation:…
1
vote
2 answers

React Native Error - The native part of Reanimated doesn't seem to be initialized

I am working on a new React Native project and am trying to get Drawer Navigation configured in the app. I've followed the installation steps as per the documentation: Installed react-navigation/drawer, react-native-gesture-handler &…
1
vote
0 answers

forcehybrid command returns npm is required but could not be found

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 recognized as an internal or external command,operable…
Pavan
  • 11
  • 1
1
vote
0 answers

Cordova 'NSInvalidArgumentException', reason: '-[SFHybridViewController setEnabledAutorotation:]

I am trying to upgrade the plugins in my Ionic Cordova app and I keep getting an error in iOS (it's fine on Android). I click the app, and it loads with the splash screen but gets stuck there. I get the following error in XCode: *** Terminating app…
Rozgonyi
  • 1,027
  • 13
  • 27
1
vote
0 answers

Over Salesforce Marketing Cloud, How to create contact under the list?

Tried adding contact for Mobile Push channel in Marketing cloud through REST API(create_contact) and it is working but not able to add contacts within the specific contact list. I created a contact list from the dashboard(MobilePush -> AddContact ->…
1
vote
0 answers

Salesforce Mobile SDK sync limitations

I am developing native android mobile application using Salesforce Mobile SDK. Is there any limitations to sync the records from/to server. It will reflect in salesforce Rest API limitations ? Help please.
0
votes
0 answers

Need help to sync object with Briefcase SyncDown target which are shared by backend later

Briefcase sync down target is not able to sync object whose access is granted by salesforce backend much later after their creation. I am facing issue in below scenario, Account related to ServiceAppointment are shared to ServiceResource by our…
0
votes
0 answers

Salesforce Mobile SDK: Make sure you're running a packager server or have included a .jsbundle file in your application bundle

I am trying to build a release ipa file for iOS (no problem when I edit scheme to Debug). And I got this error like image below: My project is monorepo project, using Salesforce Mobile SDK with TypeScript. Solutions I've tried: Run the command…
Tran Tai
  • 33
  • 1
  • 9
0
votes
0 answers

Is it possible to use Appium for Salesforce mobile app automation?

I have use case where we are trying to automate Salesforce mobile application for the functionality we building in it. I don't see many articles and solutions over use of Appium with Salesforce mobile application, so is this even supported in fist…
0
votes
0 answers

How to Subscribe to Platform Event Notifications with React Native

I am developing a mobile application with React Native. With this application, I connect to salesforce and make transactions. I created Platform Events on Salesforce side and I want React Native Component to subscribe to it. I can't use…
Fırat DİKMEN
  • 479
  • 5
  • 8
0
votes
0 answers

How to update a salesforce Mobile SDK app developed in swift

I have an old project integrated salesforce Mobile SDK (version 4.3.1), which is working fine on Xcode 8.1. Now I want to update to make it working on Xcode 13 (or Xcode 10.1). When I'm updating pods it is throwing more than 500 errors. Any help or…
iOS dev
  • 1
  • 2
0
votes
0 answers

Error during FCM registration. Please set your project ID

I'm building a salesforce android kotlin mobile app and I'm currently implementing the push notifications feature. I have started my project from the forcedroid create template. I have added all necessary classpath and dependencies in project and…
1
2