Coder Social home page Coder Social logo

salesforcemobilesdk-ios-hybrid's Introduction

CircleCI

Hybrid library / sample apps and tests for Salesforce.com Mobile SDK on iOS

You have arrived at the source repository for the Hybrid library of the Salesforce Mobile SDK on iOS. Welcome!

  • If you'd like to work with the source code of the SDK itself, you've come to the right place! You can browse sample app source code and debug down through the layers to get a feel for how everything works under the covers. Read on for instructions on how to get started with the SDK in your development environment.
  • If you're just eager to start developing your own new application, the quickest way is to use our npm binary distribution package, called forcehybrid, which is hosted on npmjs.org. Getting started is as simple as installing the npm package and launching your template app. You'll find more details on the forcehybrid package page.

Installation (do this first - really)

Working with this repository requires working with git. Any workflow that leaves you with a functioning git clone of this repository should set you up for success. Downloading the ZIP file from GitHub, on the other hand, is likely to put you at a dead end.

Setting up the repo

First, clone the repo:

  • Open the Terminal App
  • cd to the parent directory where the repo directory will live
  • git clone https://github.com/forcedotcom/SalesforceMobileSDK-iOS-Hybrid.git

After cloning the repo:

  • cd SalesforceMobileSDK-iOS-Hybrid
  • ./install.sh

This script pulls the submodule dependencies from GitHub, to finalize setup of the workspace. You can then work with the Mobile SDK by opening SalesforceMobileSDK-Hybrid.xcworkspace from Xcode.

The Salesforce Mobile SDK for iOS requires iOS 11.0 or greater. The install.sh script checks for this, and aborts if the configured SDK version is incorrect. Building from the command line has been tested using ant 1.8. Older versions might work, but we recommend using the latest version of ant.

Introduction

What's New in 7.1

Version Updates

  • Cordova for iOS: 5.0.0
  • SQLCipher: 4.0.1

Documentation

Discussion

If you would like to make suggestions, have questions, or encounter any issues, we'd love to hear from you. Post any feedback you have on Salesforce StackExchange.

salesforcemobilesdk-ios-hybrid's People

Contributors

bbirman avatar bhariharan avatar brandonpage avatar dependabot[bot] avatar liguopku avatar ssraza avatar svc-scm avatar tysonbunch avatar wmathurin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

salesforcemobilesdk-ios-hybrid's Issues

allOrNone parameter for composite request

Hello!

Currently, we need to use allOrNone parameter for composite request for Batch sync up request that is available for Salesforce REST API 49.0.
But it is not possible to specify it for the request because it is hardcoded in the SFBatchSyncUpTarget.m line 158.
When it will be available for specifying for the SFBatchSyncUpTarget and for SFParentChildrenSyncUpTarget?

Thank you

SalesforceMobileSDK-Hybrid Start Page redirect issue

As of Spring 23' Release version, we've been experiencing issue on re-direct to home page on both Android and iOS devices.

salesforce-mobilesdk-cordova-plugin: 9.1.1 / 10.2.0


We've tried isolating the issue by creating from the sample app and did the following steps:

  1. Install any sample app following the instructions: https://developer.salesforce.com/docs/atlas.en-us.mobile_sdk.meta/mobile_sdk/hybrid_samples_build.htm

  2. Update "Consumer Key" in bootconfig.json (using the key from XXXX_app connected app)

  3. Build the app and run it

  4. Login using system admin account in Sandbox

  5. Observe redirect behavior


Observation:

iOS: The page will be blank after login and shows timeout error in the log when accessing "https://XXXXX--XXXX.sandbox.file.force.com/secur/contentDoor?"

Android: The page is redirected slowly, takes around ~30 seconds
We're originally building the app using SF Mobile SDK 9.1.1 version, but has also tried replicating the issue using 10.2.0 version. To narrow down the issue, we've tried connecting the app to the Non-preview sandbox and was not able to replicate this issue on the non-preview sandbox.

ParentChild targets for multiple objects relationships

Hello,
According the doc it is possible to upload Parent and Child records using ParentChild sync up/down targets. But there is no info how it is possible to upload several levels of objects using this target, like Account -> Contact -> Address.

How is it possible using existing and how usersyncs.json should be modified on the Ionic app side?
Or should we use use custom target to upload/download the data using composite request and work with SmartStore manually?

Thank you!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.