├── .codecov.yml ├── .github ├── DangerFiles │ ├── Gemfile │ ├── Gemfile.lock │ ├── StaticAnalysis.rb │ └── TestOrchestrator.rb ├── ISSUE_TEMPLATE └── workflows │ ├── nightly.yaml │ ├── pr.yaml │ └── reusable-workflow.yaml ├── .gitignore ├── .gitmodules ├── CODEOWNERS ├── CODE_OF_CONDUCT.md ├── LICENSE.md ├── MobileSync.podspec ├── SECURITY.md ├── SalesforceAnalytics.podspec ├── SalesforceMobileSDK.xcworkspace ├── contents.xcworkspacedata └── xcshareddata │ ├── IDETemplateMacros.plist │ └── xcschemes │ ├── Everything.xcscheme │ └── UnitTests.xcscheme ├── SalesforceSDKCommon.podspec ├── SalesforceSDKCore.podspec ├── SmartStore.podspec ├── UPGRADE.md ├── build ├── build_doc.xml └── pre-build ├── configuration ├── Common-iOS.xcconfig ├── Common.xcconfig ├── Configuration-Debug.xcconfig ├── Configuration-Release.xcconfig ├── Packaging-Dynamic.xcconfig └── Version.xcconfig ├── docs └── generate_docs.sh ├── external └── ThirdPartyDependencies │ └── sqlcipher │ ├── Info.plist │ ├── LICENSE │ ├── SALESFORCE_README │ ├── SQLCipher.xcframework │ ├── Info.plist │ ├── ios-arm64_arm64e │ │ └── libsqlcipher-iphoneos.a │ ├── ios-arm64_x86_64-maccatalyst │ │ └── libsqlcipher-catalyst.a │ ├── ios-arm64_x86_64-simulator │ │ └── libsqlcipher-iphonesimulator.a │ ├── xros-arm64 │ │ └── libsqlcipher-xros.a │ └── xros-arm64_x86_64-simulator │ │ └── libsqlcipher-xrsimulator.a │ └── sqlite3.h ├── install.sh ├── libs ├── MobileSync │ ├── Configuration │ │ ├── MobileSync-Common.xcconfig │ │ ├── MobileSync-Dynamic-iOS-Debug.xcconfig │ │ ├── MobileSync-Dynamic-iOS-Release.xcconfig │ │ └── MobileSync-Test.xcconfig │ ├── MobileSync.xcodeproj │ │ ├── project.pbxproj │ │ └── xcshareddata │ │ │ └── xcschemes │ │ │ ├── Documentation.xcscheme │ │ │ ├── MobileSync.xcscheme │ │ │ └── MobileSyncTestApp.xcscheme │ ├── MobileSync │ │ ├── Classes │ │ │ ├── BatchSyncUpTarget.swift │ │ │ ├── CollectionSyncUpTarget.swift │ │ │ ├── Config │ │ │ │ ├── SFSDKSyncsConfig.h │ │ │ │ └── SFSDKSyncsConfig.m │ │ │ ├── Extensions │ │ │ │ └── MobileSync.swift │ │ │ ├── Instrumentation │ │ │ │ ├── SFMobileSyncSyncManager+Instrumentation.h │ │ │ │ └── SFMobileSyncSyncManager+Instrumentation.m │ │ │ ├── Manager │ │ │ │ ├── MobileSyncSDKManager.h │ │ │ │ ├── MobileSyncSDKManager.m │ │ │ │ ├── SFAdvancedSyncUpTask.h │ │ │ │ ├── SFAdvancedSyncUpTask.m │ │ │ │ ├── SFCleanSyncGhostsTask.h │ │ │ │ ├── SFCleanSyncGhostsTask.m │ │ │ │ ├── SFLayoutSyncManager.h │ │ │ │ ├── SFLayoutSyncManager.m │ │ │ │ ├── SFMetadataSyncManager.h │ │ │ │ ├── SFMetadataSyncManager.m │ │ │ │ ├── SFMobileSyncSyncManager+SFSyncTask.h │ │ │ │ ├── SFMobileSyncSyncManager.h │ │ │ │ ├── SFMobileSyncSyncManager.m │ │ │ │ ├── SFSyncDownTask.h │ │ │ │ ├── SFSyncDownTask.m │ │ │ │ ├── SFSyncTask.h │ │ │ │ ├── SFSyncTask.m │ │ │ │ ├── SFSyncUpTask.h │ │ │ │ └── SFSyncUpTask.m │ │ │ ├── Model │ │ │ │ ├── SFLayout.h │ │ │ │ ├── SFLayout.m │ │ │ │ ├── SFMetadata.h │ │ │ │ ├── SFMetadata.m │ │ │ │ ├── SFMobileSyncPersistableObject+Internal.h │ │ │ │ ├── SFMobileSyncPersistableObject.h │ │ │ │ ├── SFMobileSyncPersistableObject.m │ │ │ │ ├── SFObject+Internal.h │ │ │ │ ├── SFObject.h │ │ │ │ └── SFObject.m │ │ │ ├── SyncTarget.swift │ │ │ ├── Target │ │ │ │ ├── BriefcaseSyncDownTarget.swift │ │ │ │ ├── SFAdvancedSyncUpTarget.h │ │ │ │ ├── SFBatchSyncUpTarget.h │ │ │ │ ├── SFBatchSyncUpTarget.m │ │ │ │ ├── SFLayoutSyncDownTarget.h │ │ │ │ ├── SFLayoutSyncDownTarget.m │ │ │ │ ├── SFMetadataSyncDownTarget.h │ │ │ │ ├── SFMetadataSyncDownTarget.m │ │ │ │ ├── SFMruSyncDownTarget.h │ │ │ │ ├── SFMruSyncDownTarget.m │ │ │ │ ├── SFParentChildrenSyncDownTarget.h │ │ │ │ ├── SFParentChildrenSyncDownTarget.m │ │ │ │ ├── SFParentChildrenSyncUpTarget.h │ │ │ │ ├── SFParentChildrenSyncUpTarget.m │ │ │ │ ├── SFRefreshSyncDownTarget.h │ │ │ │ ├── SFRefreshSyncDownTarget.m │ │ │ │ ├── SFSoqlSyncDownTarget+Internal.h │ │ │ │ ├── SFSoqlSyncDownTarget.h │ │ │ │ ├── SFSoqlSyncDownTarget.m │ │ │ │ ├── SFSoslSyncDownTarget.h │ │ │ │ ├── SFSoslSyncDownTarget.m │ │ │ │ ├── SFSyncDownTarget+Internal.h │ │ │ │ ├── SFSyncDownTarget.h │ │ │ │ ├── SFSyncDownTarget.m │ │ │ │ ├── SFSyncTarget+Internal.h │ │ │ │ ├── SFSyncTarget.h │ │ │ │ ├── SFSyncTarget.m │ │ │ │ ├── SFSyncUpTarget+Internal.h │ │ │ │ ├── SFSyncUpTarget.h │ │ │ │ └── SFSyncUpTarget.m │ │ │ └── Util │ │ │ │ ├── BriefcaseObjectInfo.swift │ │ │ │ ├── CompositeRequestHelper.swift │ │ │ │ ├── SFChildrenInfo.h │ │ │ │ ├── SFChildrenInfo.m │ │ │ │ ├── SFCompositeRequestHelper.h │ │ │ │ ├── SFMobileSyncConstants.h │ │ │ │ ├── SFMobileSyncConstants.m │ │ │ │ ├── SFMobileSyncNetworkUtils.h │ │ │ │ ├── SFMobileSyncNetworkUtils.m │ │ │ │ ├── SFMobileSyncObjectUtils.h │ │ │ │ ├── SFMobileSyncObjectUtils.m │ │ │ │ ├── SFParentChildrenSyncHelper.h │ │ │ │ ├── SFParentChildrenSyncHelper.m │ │ │ │ ├── SFParentInfo.h │ │ │ │ ├── SFParentInfo.m │ │ │ │ ├── SFSDKMobileSyncLogger.h │ │ │ │ ├── SFSDKMobileSyncLogger.m │ │ │ │ ├── SFSDKSoqlMutator.h │ │ │ │ ├── SFSDKSoqlMutator.m │ │ │ │ ├── SFSDKSoqlTokenizer.h │ │ │ │ ├── SFSDKSoqlTokenizer.m │ │ │ │ ├── SFSyncOptions.h │ │ │ │ ├── SFSyncOptions.m │ │ │ │ ├── SFSyncState.h │ │ │ │ └── SFSyncState.m │ │ ├── Info.plist │ │ ├── MobileSync-Prefix.pch │ │ ├── MobileSync.h │ │ └── PrivacyInfo.xcprivacy │ ├── MobileSyncTestApp │ │ ├── AppDelegate.h │ │ ├── AppDelegate.m │ │ ├── Assets.xcassets │ │ │ └── AppIcon.appiconset │ │ │ │ └── Contents.json │ │ ├── Base.lproj │ │ │ ├── LaunchScreen.storyboard │ │ │ └── Main.storyboard │ │ ├── Info.plist │ │ ├── MobileSyncTestApp.entitlements │ │ ├── ViewController.h │ │ ├── ViewController.m │ │ ├── globalsyncs.json │ │ ├── main.m │ │ └── usersyncs.json │ └── MobileSyncTests │ │ ├── BatchSyncUpTargetTests.h │ │ ├── BatchSyncUpTests.m │ │ ├── BriefcaseSyncDownTests.swift │ │ ├── CollectionSyncUpTargetTests.m │ │ ├── MobileSyncTests-Bridging-Header.h │ │ ├── MobileSyncTests-Info.plist │ │ ├── ParentChildrenSyncTests.m │ │ ├── SFLayoutSyncManagerTests.m │ │ ├── SFMetadataSyncManagerTests.m │ │ ├── SFSDKSoqlMutatorTests.m │ │ ├── SFSDKSyncsConfigTests.m │ │ ├── SFSyncUpdateCallbackQueue.h │ │ ├── SFSyncUpdateCallbackQueue.m │ │ ├── SyncManagerTestCase.h │ │ ├── SyncManagerTestCase.m │ │ ├── SyncManagerTests.m │ │ ├── SyncStateTests.m │ │ ├── SyncUpTargetTests.h │ │ ├── SyncUpTargetTests.m │ │ ├── Targets │ │ ├── TestSyncDownTarget.h │ │ ├── TestSyncDownTarget.m │ │ ├── TestSyncUpTarget.h │ │ └── TestSyncUpTarget.m │ │ └── en.lproj │ │ └── InfoPlist.strings ├── SalesforceAnalytics │ ├── Configuration │ │ ├── SalesforceAnalytics-Common-Dynamic.xcconfig │ │ ├── SalesforceAnalytics-Common.xcconfig │ │ ├── SalesforceAnalytics-Dynamic-iOS-Debug.xcconfig │ │ ├── SalesforceAnalytics-Dynamic-iOS-Release.xcconfig │ │ └── SalesforceAnalytics-Test.xcconfig │ ├── SalesforceAnalytics.xcodeproj │ │ ├── project.pbxproj │ │ └── xcshareddata │ │ │ └── xcschemes │ │ │ ├── Documentation.xcscheme │ │ │ ├── SalesforceAnalytics.xcscheme │ │ │ └── SalesforceAnalyticsTestApp.xcscheme │ ├── SalesforceAnalytics │ │ ├── Classes │ │ │ ├── Manager │ │ │ │ ├── SFSDKAnalyticsManager+Internal.h │ │ │ │ ├── SFSDKAnalyticsManager.h │ │ │ │ └── SFSDKAnalyticsManager.m │ │ │ ├── Model │ │ │ │ ├── SFSDKDeviceAppAttributes.h │ │ │ │ ├── SFSDKDeviceAppAttributes.m │ │ │ │ ├── SFSDKInstrumentationEvent+Internal.h │ │ │ │ ├── SFSDKInstrumentationEvent.h │ │ │ │ ├── SFSDKInstrumentationEvent.m │ │ │ │ ├── SFSDKInstrumentationEventBuilder.h │ │ │ │ └── SFSDKInstrumentationEventBuilder.m │ │ │ ├── Store │ │ │ │ ├── SFSDKEventStoreManager.h │ │ │ │ └── SFSDKEventStoreManager.m │ │ │ ├── Transform │ │ │ │ ├── SFSDKAILTNTransform.h │ │ │ │ ├── SFSDKAILTNTransform.m │ │ │ │ └── SFSDKTransform.h │ │ │ └── Util │ │ │ │ ├── SFSDKAnalyticsLogger.h │ │ │ │ └── SFSDKAnalyticsLogger.m │ │ ├── PrivacyInfo.xcprivacy │ │ ├── SalesforceAnalytics.h │ │ └── Supporting Files │ │ │ ├── Info.plist │ │ │ └── SalesforceAnalytics-Prefix.pch │ ├── SalesforceAnalyticsTestApp │ │ ├── AppDelegate.h │ │ ├── AppDelegate.m │ │ ├── Assets.xcassets │ │ │ └── AppIcon.appiconset │ │ │ │ └── Contents.json │ │ ├── Base.lproj │ │ │ ├── Main_iPad.storyboard │ │ │ └── Main_iPhone.storyboard │ │ ├── SalesforceAnalyticsTestApp-Info.plist │ │ ├── SalesforceAnalyticsTestApp-Prefix.pch │ │ ├── SalesforceAnalyticsTestApp.entitlements │ │ ├── ViewController.h │ │ ├── ViewController.m │ │ ├── en.lproj │ │ │ └── InfoPlist.strings │ │ └── main.m │ └── SalesforceAnalyticsTests │ │ ├── AnalyticsTestUtil.h │ │ ├── AnalyticsTestUtil.m │ │ ├── EventStoreManagerTests.m │ │ └── InstrumentationEventBuilderTests.m ├── SalesforceSDKCommon │ ├── SalesforceSDKCommon.xcodeproj │ │ ├── project.pbxproj │ │ └── xcshareddata │ │ │ └── xcschemes │ │ │ ├── SalesforceSDKCommon.xcscheme │ │ │ └── SalesforceSDKCommonTestApp.xcscheme │ ├── SalesforceSDKCommon │ │ ├── Classes │ │ │ ├── Keychain │ │ │ │ ├── GenericPasswordItemQuery.swift │ │ │ │ ├── KeychainHelper.swift │ │ │ │ └── KeychainItemManager.swift │ │ │ ├── Logger │ │ │ │ ├── SFDefaultLogger.h │ │ │ │ ├── SFDefaultLogger.m │ │ │ │ ├── SFLogger.h │ │ │ │ ├── SFLogger.m │ │ │ │ ├── SalesforceLogReceiver.swift │ │ │ │ └── SalesforceLogReceiverFactory.swift │ │ │ └── Util │ │ │ │ ├── NSUserDefaults+SFAdditions.h │ │ │ │ ├── NSUserDefaults+SFAdditions.m │ │ │ │ ├── SFFileProtectionHelper.h │ │ │ │ ├── SFFileProtectionHelper.m │ │ │ │ ├── SFJsonUtils.h │ │ │ │ ├── SFJsonUtils.m │ │ │ │ ├── SFPathUtil.h │ │ │ │ ├── SFPathUtil.m │ │ │ │ ├── SFSDKDatasharingHelper.h │ │ │ │ ├── SFSDKDatasharingHelper.m │ │ │ │ ├── SFSDKReachability.h │ │ │ │ ├── SFSDKReachability.m │ │ │ │ ├── SFSDKSafeMutableArray.h │ │ │ │ ├── SFSDKSafeMutableArray.m │ │ │ │ ├── SFSDKSafeMutableDictionary.h │ │ │ │ ├── SFSDKSafeMutableDictionary.m │ │ │ │ ├── SFSDKSafeMutableSet.h │ │ │ │ ├── SFSDKSafeMutableSet.m │ │ │ │ ├── SFSwiftDetectUtil.h │ │ │ │ ├── SFSwiftDetectUtil.m │ │ │ │ ├── SFTestContext.h │ │ │ │ └── SFTestContext.m │ │ ├── Info.plist │ │ ├── PrivacyInfo.xcprivacy │ │ └── SalesforceSDKCommon.h │ ├── SalesforceSDKCommonTestApp │ │ ├── Assets.xcassets │ │ │ ├── AccentColor.colorset │ │ │ │ └── Contents.json │ │ │ ├── AppIcon.appiconset │ │ │ │ └── Contents.json │ │ │ └── Contents.json │ │ ├── ContentView.swift │ │ ├── Preview Content │ │ │ └── Preview Assets.xcassets │ │ │ │ └── Contents.json │ │ └── SalesforceSDKCommonTestApp.swift │ └── SalesforceSDKCommonTests │ │ ├── Info.plist │ │ ├── KeychainHelperTests.swift │ │ ├── SFLoggerTests.m │ │ ├── SFSDKSafeMutableArrayTests.m │ │ ├── SFSDKSafeMutableDictionaryTests.m │ │ └── SFSDKSafeMutableSetTests.m ├── SalesforceSDKCore │ ├── Configuration │ │ ├── SalesforceSDKCore-Common-Dynamic.xcconfig │ │ ├── SalesforceSDKCore-Common.xcconfig │ │ ├── SalesforceSDKCore-Dynamic-iOS-Debug.xcconfig │ │ ├── SalesforceSDKCore-Dynamic-iOS-Release.xcconfig │ │ └── SalesforceSDKCore-Test.xcconfig │ ├── SalesforceSDKCore.xcodeproj │ │ ├── project.pbxproj │ │ └── xcshareddata │ │ │ └── xcschemes │ │ │ ├── Documentation.xcscheme │ │ │ ├── SalesforceSDKCore.xcscheme │ │ │ └── SalesforceSDKCoreTestApp.xcscheme │ ├── SalesforceSDKCore │ │ ├── Classes │ │ │ ├── Analytics │ │ │ │ ├── SFSDKAILTNPublisher.h │ │ │ │ ├── SFSDKAILTNPublisher.m │ │ │ │ ├── SFSDKAnalyticsPublisher.h │ │ │ │ ├── SFSDKEventBuilderHelper.h │ │ │ │ ├── SFSDKEventBuilderHelper.m │ │ │ │ ├── SFSDKSalesforceAnalyticsManager+Internal.h │ │ │ │ ├── SFSDKSalesforceAnalyticsManager.h │ │ │ │ └── SFSDKSalesforceAnalyticsManager.m │ │ │ ├── Common │ │ │ │ ├── NSData+SFAdditions.h │ │ │ │ ├── NSData+SFAdditions.m │ │ │ │ ├── NSData+SFSDKUtils.h │ │ │ │ ├── NSData+SFSDKUtils.m │ │ │ │ ├── NSData+SFSDKUtils_Internal.h │ │ │ │ ├── NSDictionary+SFAdditions.h │ │ │ │ ├── NSDictionary+SFAdditions.m │ │ │ │ ├── NSString+SFAdditions.h │ │ │ │ ├── NSString+SFAdditions.m │ │ │ │ ├── NSURL+SFAdditions.h │ │ │ │ ├── NSURL+SFAdditions.m │ │ │ │ ├── NSURLResponse+SFAdditions.h │ │ │ │ ├── NSURLResponse+SFAdditions.m │ │ │ │ ├── SFFormatUtils.h │ │ │ │ ├── SFFormatUtils.m │ │ │ │ ├── SFSDKAppConfig.h │ │ │ │ ├── SFSDKAppConfig.m │ │ │ │ ├── SFSDKAppFeatureMarkers.h │ │ │ │ ├── SFSDKAppFeatureMarkers.m │ │ │ │ ├── SFSDKSalesforceSDKUpgradeManager.h │ │ │ │ ├── SFSDKSalesforceSDKUpgradeManager.m │ │ │ │ ├── SFSDKWebViewStateManager.h │ │ │ │ ├── SFSDKWebViewStateManager.m │ │ │ │ ├── SalesforceSDKConstants.h │ │ │ │ ├── SalesforceSDKManager+Internal.h │ │ │ │ ├── SalesforceSDKManager.h │ │ │ │ ├── SalesforceSDKManager.m │ │ │ │ ├── UIDevice+SFHardware.h │ │ │ │ ├── UIDevice+SFHardware.m │ │ │ │ ├── UIScreen+SFAdditions.h │ │ │ │ ├── UIScreen+SFAdditions.m │ │ │ │ └── WebViewStateManager.swift │ │ │ ├── Extensions │ │ │ │ ├── PushNotificationManager+ActionableNotifications.swift │ │ │ │ ├── RestClient+Blocks.swift │ │ │ │ ├── RestClient.swift │ │ │ │ ├── URLRequest+RestRequest.swift │ │ │ │ └── UserAccountManager.swift │ │ │ ├── IDP │ │ │ │ ├── Commands │ │ │ │ │ ├── SFSDKAuthCommand+Internal.h │ │ │ │ │ ├── SFSDKAuthCommand.h │ │ │ │ │ ├── SFSDKAuthCommand.m │ │ │ │ │ ├── SFSDKAuthErrorCommand.h │ │ │ │ │ ├── SFSDKAuthErrorCommand.m │ │ │ │ │ ├── SFSDKIDPAuthCodeLoginRequestCommand.h │ │ │ │ │ ├── SFSDKIDPAuthCodeLoginRequestCommand.m │ │ │ │ │ ├── SFSDKIDPLoginRequestCommand.h │ │ │ │ │ ├── SFSDKIDPLoginRequestCommand.m │ │ │ │ │ ├── SFSDKSPLoginRequestCommand.h │ │ │ │ │ ├── SFSDKSPLoginRequestCommand.m │ │ │ │ │ ├── SFSDKSPLoginResponseCommand.h │ │ │ │ │ └── SFSDKSPLoginResponseCommand.m │ │ │ │ ├── SFSDKIDPAuthHelper.h │ │ │ │ ├── SFSDKIDPAuthHelper.m │ │ │ │ ├── SFSDKIDPConstants.h │ │ │ │ ├── SFSDKIDPConstants.m │ │ │ │ ├── SFSDKLoginFlowSelectionView.h │ │ │ │ ├── SFSDKLoginFlowSelectionViewController.h │ │ │ │ ├── SFSDKLoginFlowSelectionViewController.m │ │ │ │ ├── SFSDKUITableViewCell.h │ │ │ │ ├── SFSDKUITableViewCell.m │ │ │ │ ├── SFSDKUserSelectionNavViewController.h │ │ │ │ ├── SFSDKUserSelectionNavViewController.m │ │ │ │ ├── SFSDKUserSelectionTableViewController.h │ │ │ │ ├── SFSDKUserSelectionTableViewController.m │ │ │ │ ├── SFSDKUserSelectionView.h │ │ │ │ ├── SFUserAccountManager+URLHandlers.h │ │ │ │ ├── SFUserAccountManager+URLHandlers.m │ │ │ │ ├── SPConfig.swift │ │ │ │ ├── UIFont+SFSDKIDP.h │ │ │ │ └── UIFont+SFSDKIDP.m │ │ │ ├── Identity │ │ │ │ ├── SFIdentityCoordinator+Internal.h │ │ │ │ ├── SFIdentityCoordinator.h │ │ │ │ ├── SFIdentityCoordinator.m │ │ │ │ ├── SFIdentityData+Internal.h │ │ │ │ ├── SFIdentityData.h │ │ │ │ └── SFIdentityData.m │ │ │ ├── Instrumentation │ │ │ │ ├── SFInstrumentation.h │ │ │ │ ├── SFInstrumentation.m │ │ │ │ ├── SFMethodInterceptor.h │ │ │ │ ├── SFMethodInterceptor.m │ │ │ │ ├── SFRestAPI+Instrumentation.h │ │ │ │ ├── SFRestAPI+Instrumentation.m │ │ │ │ ├── SFSDKInstrumentationHelper.h │ │ │ │ ├── SFSDKInstrumentationHelper.m │ │ │ │ ├── SFUserAccountManager+Instrumentation.h │ │ │ │ └── SFUserAccountManager+Instrumentation.m │ │ │ ├── Login │ │ │ │ ├── LoginHost │ │ │ │ │ ├── NewLoginHostView.swift │ │ │ │ │ ├── SFSDKLoginHost.h │ │ │ │ │ ├── SFSDKLoginHost.m │ │ │ │ │ ├── SFSDKLoginHostDelegate.h │ │ │ │ │ ├── SFSDKLoginHostListViewController.h │ │ │ │ │ ├── SFSDKLoginHostListViewController.m │ │ │ │ │ ├── SFSDKLoginHostStorage.h │ │ │ │ │ ├── SFSDKLoginHostStorage.m │ │ │ │ │ ├── SFSDKTextFieldTableViewCell.h │ │ │ │ │ └── SFSDKTextFieldTableViewCell.m │ │ │ │ ├── NativeLoginManager.swift │ │ │ │ ├── NativeLoginManagerInternal.swift │ │ │ │ ├── SFLoginViewController+Deep-Linking.swift │ │ │ │ ├── SFLoginViewController+QrCodeLogin.swift │ │ │ │ ├── SFLoginViewController.h │ │ │ │ ├── SFLoginViewController.m │ │ │ │ ├── SFSDKLoginViewControllerConfig.h │ │ │ │ └── SFSDKLoginViewControllerConfig.m │ │ │ ├── OAuth │ │ │ │ ├── JwtAccessToken.swift │ │ │ │ ├── SFOAuthCoordinator+Internal.h │ │ │ │ ├── SFOAuthCoordinator.h │ │ │ │ ├── SFOAuthCoordinator.m │ │ │ │ ├── SFOAuthCredentials+Internal.h │ │ │ │ ├── SFOAuthCredentials.h │ │ │ │ ├── SFOAuthCredentials.m │ │ │ │ ├── SFOAuthInfo.h │ │ │ │ ├── SFOAuthInfo.m │ │ │ │ ├── SFOAuthKeychainCredentials.h │ │ │ │ ├── SFOAuthKeychainCredentials.m │ │ │ │ ├── SFOAuthOrgAuthConfiguration.h │ │ │ │ ├── SFOAuthOrgAuthConfiguration.m │ │ │ │ ├── SFOAuthSessionRefresher+Internal.h │ │ │ │ ├── SFOAuthSessionRefresher.h │ │ │ │ ├── SFOAuthSessionRefresher.m │ │ │ │ ├── SFSDKAuthPreferences.h │ │ │ │ ├── SFSDKAuthPreferences.m │ │ │ │ ├── SFSDKAuthRequest.h │ │ │ │ ├── SFSDKAuthRequest.m │ │ │ │ ├── SFSDKAuthRootController.h │ │ │ │ ├── SFSDKAuthRootController.m │ │ │ │ ├── SFSDKAuthSession.h │ │ │ │ ├── SFSDKAuthSession.m │ │ │ │ ├── SFSDKAuthViewHandler.h │ │ │ │ └── SFSDKAuthViewHandler.m │ │ │ ├── PushNotification │ │ │ │ ├── NotificationCategoryFactory.swift │ │ │ │ ├── NotificationType.swift │ │ │ │ ├── PushNotificationManager.swift │ │ │ │ ├── RemoteNotificationRegistering.swift │ │ │ │ ├── SFSDKPushNotificationDecryption+Internal.h │ │ │ │ ├── SFSDKPushNotificationDecryption.h │ │ │ │ ├── SFSDKPushNotificationDecryption.m │ │ │ │ ├── SFSDKPushNotificationEncryptionConstants.h │ │ │ │ ├── SFSDKPushNotificationError.h │ │ │ │ ├── SFSDKPushNotificationError.m │ │ │ │ └── SFSDKPushNotificationFieldsConstants.h │ │ │ ├── RestAPI │ │ │ │ ├── SFAPAPI │ │ │ │ │ ├── ChatGenerationsRequestBody.swift │ │ │ │ │ ├── ChatGenerationsResponseBody.swift │ │ │ │ │ ├── EmbeddingsRequestBody.swift │ │ │ │ │ ├── EmbeddingsResponseBody.swift │ │ │ │ │ ├── FeedbackRequestBody.swift │ │ │ │ │ ├── FeedbackResponseBody.swift │ │ │ │ │ ├── GenerationsRequestBody.swift │ │ │ │ │ └── GenerationsResponseBody.swift │ │ │ │ ├── SFNetwork.h │ │ │ │ ├── SFNetwork.m │ │ │ │ ├── SFRestAPI+Blocks.h │ │ │ │ ├── SFRestAPI+Files.h │ │ │ │ ├── SFRestAPI+Files.m │ │ │ │ ├── SFRestAPI+Internal.h │ │ │ │ ├── SFRestAPI+Notifications.h │ │ │ │ ├── SFRestAPI+Notifications.m │ │ │ │ ├── SFRestAPI+QueryBuilder.h │ │ │ │ ├── SFRestAPI+QueryBuilder.m │ │ │ │ ├── SFRestAPI.h │ │ │ │ ├── SFRestAPI.m │ │ │ │ ├── SFRestRequest+Internal.h │ │ │ │ ├── SFRestRequest.h │ │ │ │ ├── SFRestRequest.m │ │ │ │ ├── SFSDKBatchRequest.h │ │ │ │ ├── SFSDKBatchRequest.m │ │ │ │ ├── SFSDKBatchResponse.h │ │ │ │ ├── SFSDKBatchResponse.m │ │ │ │ ├── SFSDKCollectionResponse.h │ │ │ │ ├── SFSDKCollectionResponse.m │ │ │ │ ├── SFSDKCompositeRequest+Internal.h │ │ │ │ ├── SFSDKCompositeRequest.h │ │ │ │ ├── SFSDKCompositeRequest.m │ │ │ │ ├── SFSDKCompositeResponse+Internal.h │ │ │ │ ├── SFSDKCompositeResponse.h │ │ │ │ ├── SFSDKCompositeResponse.m │ │ │ │ ├── SFSDKEncryptedURLCache.h │ │ │ │ ├── SFSDKEncryptedURLCache.m │ │ │ │ ├── SFSDKNullURLCache.h │ │ │ │ ├── SFSDKNullURLCache.m │ │ │ │ ├── SFSDKPrimingRecordsResponse.h │ │ │ │ ├── SFSDKPrimingRecordsResponse.m │ │ │ │ ├── SFSObjectTree.h │ │ │ │ ├── SFSObjectTree.m │ │ │ │ └── SfapAPI │ │ │ │ │ ├── SfapClient.swift │ │ │ │ │ ├── SfapError.swift │ │ │ │ │ └── SfapErrorResponseBody.swift │ │ │ ├── Security │ │ │ │ ├── BiometricAuthentication │ │ │ │ │ ├── BiometricAuthenticationManager.swift │ │ │ │ │ └── BiometricAuthenticationManagerInternal.swift │ │ │ │ ├── CryptoUtils.swift │ │ │ │ ├── DecryptStream.swift │ │ │ │ ├── EncryptStream.swift │ │ │ │ ├── Encryptor.swift │ │ │ │ ├── SFEncryptionKey.h │ │ │ │ ├── SFEncryptionKey.m │ │ │ │ ├── SFSDKCryptoUtils.h │ │ │ │ ├── SFSDKCryptoUtils.m │ │ │ │ └── ScreenLock │ │ │ │ │ ├── ScreenLockManager.swift │ │ │ │ │ ├── ScreenLockManagerInternal.swift │ │ │ │ │ └── ScreenLockUIView.swift │ │ │ ├── Storage │ │ │ │ ├── KeyValueEncryptedFileStore.swift │ │ │ │ ├── KeyValueEncryptedFileStoreInspector.swift │ │ │ │ └── KeyValueEncryptedFileStoreViewController.swift │ │ │ ├── Test │ │ │ │ ├── SFSDKAsyncProcessListener.h │ │ │ │ ├── SFSDKAsyncProcessListener.m │ │ │ │ ├── SFSDKTestCredentialsData.h │ │ │ │ ├── SFSDKTestCredentialsData.m │ │ │ │ ├── SFSDKTestRequestListener.h │ │ │ │ ├── SFSDKTestRequestListener.m │ │ │ │ ├── TestSetupUtils.h │ │ │ │ └── TestSetupUtils.m │ │ │ ├── URLHandlers │ │ │ │ ├── SFSDKAdvancedAuthURLHandler.h │ │ │ │ ├── SFSDKAdvancedAuthURLHandler.m │ │ │ │ ├── SFSDKIDPAuthCodeLoginRequestHandler.h │ │ │ │ ├── SFSDKIDPAuthCodeLoginRequestHandler.m │ │ │ │ ├── SFSDKIDPErrorHandler.h │ │ │ │ ├── SFSDKIDPErrorHandler.m │ │ │ │ ├── SFSDKIDPLoginRequestHandler.h │ │ │ │ ├── SFSDKIDPLoginRequestHandler.m │ │ │ │ ├── SFSDKIDPRequestHandler.h │ │ │ │ ├── SFSDKIDPRequestHandler.m │ │ │ │ ├── SFSDKSPLoginResponseHandler.h │ │ │ │ ├── SFSDKSPLoginResponseHandler.m │ │ │ │ ├── SFSDKStartURLHandler.h │ │ │ │ ├── SFSDKStartURLHandler.m │ │ │ │ ├── SFSDKURLHandler.h │ │ │ │ ├── SFSDKURLHandlerManager.h │ │ │ │ └── SFSDKURLHandlerManager.m │ │ │ ├── UserAccount │ │ │ │ ├── SFAuthErrorHandler.h │ │ │ │ ├── SFAuthErrorHandler.m │ │ │ │ ├── SFAuthErrorHandlerList.h │ │ │ │ ├── SFAuthErrorHandlerList.m │ │ │ │ ├── SFDefaultUserAccountPersister.h │ │ │ │ ├── SFDefaultUserAccountPersister.m │ │ │ │ ├── SFSDKAuthErrorManager.h │ │ │ │ ├── SFSDKAuthErrorManager.m │ │ │ │ ├── SFUserAccount+Internal.h │ │ │ │ ├── SFUserAccount.h │ │ │ │ ├── SFUserAccount.m │ │ │ │ ├── SFUserAccountConstants.h │ │ │ │ ├── SFUserAccountIdentity+Internal.h │ │ │ │ ├── SFUserAccountIdentity.h │ │ │ │ ├── SFUserAccountIdentity.m │ │ │ │ ├── SFUserAccountManager+Internal.h │ │ │ │ ├── SFUserAccountManager.h │ │ │ │ ├── SFUserAccountManager.m │ │ │ │ └── ViewControllers │ │ │ │ │ ├── SFDefaultUserManagementDetailViewController.h │ │ │ │ │ ├── SFDefaultUserManagementDetailViewController.m │ │ │ │ │ ├── SFDefaultUserManagementListViewController.h │ │ │ │ │ ├── SFDefaultUserManagementListViewController.m │ │ │ │ │ ├── SFDefaultUserManagementViewController+Internal.h │ │ │ │ │ ├── SFDefaultUserManagementViewController.h │ │ │ │ │ └── SFDefaultUserManagementViewController.m │ │ │ ├── Util │ │ │ │ ├── ColorExtension.swift │ │ │ │ ├── NSURL+SFStringUtils.h │ │ │ │ ├── NSURL+SFStringUtils.m │ │ │ │ ├── SFApplicationHelper.h │ │ │ │ ├── SFApplicationHelper.m │ │ │ │ ├── SFDirectoryManager+Internal.h │ │ │ │ ├── SFDirectoryManager.h │ │ │ │ ├── SFDirectoryManager.m │ │ │ │ ├── SFManagedPreferences.h │ │ │ │ ├── SFManagedPreferences.m │ │ │ │ ├── SFPreferences.h │ │ │ │ ├── SFPreferences.m │ │ │ │ ├── SFSDKAuthConfigUtil.h │ │ │ │ ├── SFSDKAuthConfigUtil.m │ │ │ │ ├── SFSDKAuthHelper.h │ │ │ │ ├── SFSDKAuthHelper.m │ │ │ │ ├── SFSDKCoreLogger.h │ │ │ │ ├── SFSDKCoreLogger.m │ │ │ │ ├── SFSDKMacDetectUtil.h │ │ │ │ ├── SFSDKMacDetectUtil.m │ │ │ │ ├── SFSDKOAuth2+Internal.h │ │ │ │ ├── SFSDKOAuth2.h │ │ │ │ ├── SFSDKOAuth2.m │ │ │ │ ├── SFSDKOAuthConstants.h │ │ │ │ ├── SFSDKResourceUtils.h │ │ │ │ ├── SFSDKResourceUtils.m │ │ │ │ ├── SFSDKSoqlBuilder.h │ │ │ │ ├── SFSDKSoqlBuilder.m │ │ │ │ ├── SFSDKSoslBuilder.h │ │ │ │ ├── SFSDKSoslBuilder.m │ │ │ │ ├── SFSDKSoslReturningBuilder.h │ │ │ │ ├── SFSDKSoslReturningBuilder.m │ │ │ │ ├── SFSDKViewControllerConfig.h │ │ │ │ ├── SFSDKViewControllerConfig.m │ │ │ │ ├── SFSDKViewUtils.h │ │ │ │ ├── SFSDKViewUtils.m │ │ │ │ ├── SFSDKWebUtils.h │ │ │ │ ├── SFSDKWebUtils.m │ │ │ │ ├── SalesforceSDKCoreDefines.h │ │ │ │ ├── SalesforceSDKCoreDefines.m │ │ │ │ ├── UIColor+SFColors.h │ │ │ │ └── UIColor+SFColors.m │ │ │ └── Views │ │ │ │ ├── SFSDKAlertMessage.h │ │ │ │ ├── SFSDKAlertMessage.m │ │ │ │ ├── SFSDKAlertMessageBuilder.h │ │ │ │ ├── SFSDKAlertMessageBuilder.m │ │ │ │ ├── SFSDKAlertView.h │ │ │ │ ├── SFSDKAlertView.m │ │ │ │ ├── SFSDKDevInfoViewController.h │ │ │ │ ├── SFSDKDevInfoViewController.m │ │ │ │ ├── SFSDKNavigationController.h │ │ │ │ ├── SFSDKNavigationController.m │ │ │ │ ├── SFSDKRootController.h │ │ │ │ ├── SFSDKRootController.m │ │ │ │ ├── SFSDKViewController.h │ │ │ │ ├── SFSDKViewController.m │ │ │ │ ├── SFSDKWindowContainer.h │ │ │ │ ├── SFSDKWindowContainer.m │ │ │ │ ├── SFSDKWindowManager+Internal.h │ │ │ │ ├── SFSDKWindowManager.h │ │ │ │ └── SFSDKWindowManager.m │ │ ├── Info.plist │ │ ├── PrivacyInfo.xcprivacy │ │ ├── SFOAuthCredentialsTests.m │ │ ├── SFSDKOAuthTokenEndpointResponseTests.m │ │ ├── SalesforceSDKCore-Prefix.pch │ │ └── SalesforceSDKCore.h │ ├── SalesforceSDKCoreTestApp │ │ ├── AppDelegate.h │ │ ├── AppDelegate.m │ │ ├── Base.lproj │ │ │ ├── Main_iPad.storyboard │ │ │ └── Main_iPhone.storyboard │ │ ├── Images.xcassets │ │ │ ├── AppIcon.appiconset │ │ │ │ └── Contents.json │ │ │ └── LaunchImage.launchimage │ │ │ │ └── Contents.json │ │ ├── SalesforceSDKCoreTestApp-Info.plist │ │ ├── SalesforceSDKCoreTestApp-Prefix.pch │ │ ├── SalesforceSDKCoreTestApp.entitlements │ │ ├── ViewController.h │ │ ├── ViewController.m │ │ ├── en.lproj │ │ │ └── InfoPlist.strings │ │ └── main.m │ └── SalesforceSDKCoreTests │ │ ├── BiometricAuthenticationManagerTests.swift │ │ ├── CryptoUtilsTests.swift │ │ ├── EncryptionTests.swift │ │ ├── JwtAccessTokenTests.swift │ │ ├── Mocks │ │ └── MockRestClient.swift │ │ ├── NSString+SFAdditionsTests.m │ │ ├── NSURL+SFStringUtilsTests.h │ │ ├── NSURL+SFStringUtilsTests.m │ │ ├── NativeLoginManagerTests.swift │ │ ├── NewLoginHostTests.swift │ │ ├── PushNotificationDecryptionTests.swift │ │ ├── PushNotificationManagerTests.swift │ │ ├── RestClientPublisherTests.swift │ │ ├── RestClientTest.swift │ │ ├── SDKCommonNSDataTests.m │ │ ├── SDSDKAlertMessageTest.m │ │ ├── SFCryptoStreamTestUtils.h │ │ ├── SFCryptoStreamTestUtils.m │ │ ├── SFEncryptionKeyTests.m │ │ ├── SFManagedPreferencesTest.m │ │ ├── SFNativeRestRequestListener.h │ │ ├── SFNativeRestRequestListener.m │ │ ├── SFNetworkTests.m │ │ ├── SFOAuthSessionRefresherTests.m │ │ ├── SFOAuthTestFlowCoordinatorDelegate.h │ │ ├── SFOAuthTestFlowCoordinatorDelegate.m │ │ ├── SFPreferencesTests.m │ │ ├── SFPushNotificationManagerTests.m │ │ ├── SFSDKAppFeatureMarkersTests.m │ │ ├── SFSDKAuthConfigUtilTests.m │ │ ├── SFSDKAuthErrorCommandTest.m │ │ ├── SFSDKAuthRequestCommandTest.m │ │ ├── SFSDKAuthUtilTests.swift │ │ ├── SFSDKCryptoUtilsTests.m │ │ ├── SFSDKEncryptedPushNotificationTests.m │ │ ├── SFSDKErrorManagerTests.m │ │ ├── SFSDKIDPAuthCodeLoginRequestCommandTest.m │ │ ├── SFSDKIDPLoginRequestCommandTest.m │ │ ├── SFSDKKeyValueEncryptedFileStoreTests.m │ │ ├── SFSDKLoginHostTests.m │ │ ├── SFSDKLogoutBlocker.h │ │ ├── SFSDKLogoutBlocker.m │ │ ├── SFSDKPushNotificationDataProvider.h │ │ ├── SFSDKPushNotificationDataProvider.m │ │ ├── SFSDKSPLoginResponseCommandTest.m │ │ ├── SFSDKSalesforceAnalyticsManagerTests.m │ │ ├── SFSDKURLCacheTests.m │ │ ├── SFSDKURLHandlerManagerTest.m │ │ ├── SFSDKWindowManagerTests.m │ │ ├── SFTestSDKManagerFlow.h │ │ ├── SFTestSDKManagerFlow.m │ │ ├── SFUserAccountManagerNotificationsTests.m │ │ ├── SFUserAccountManagerPersisterTests.m │ │ ├── SFUserAccountManagerTests.m │ │ ├── SFUserAccountPersisterEphemeral.h │ │ ├── SFUserAccountPersisterEphemeral.m │ │ ├── SFUserAccountPhotoTests.m │ │ ├── SFUserIdUpgradeTests.m │ │ ├── SalesforceOAuthUnitTests.h │ │ ├── SalesforceOAuthUnitTests.m │ │ ├── SalesforceOAuthUnitTestsCoordinatorDelegate.h │ │ ├── SalesforceOAuthUnitTestsCoordinatorDelegate.m │ │ ├── SalesforceRestAPITests.h │ │ ├── SalesforceRestAPITests.m │ │ ├── SalesforceSDKCoreTests-Bridging-Header.h │ │ ├── SalesforceSDKCoreTests-Info.plist │ │ ├── SalesforceSDKIdentityTests.h │ │ ├── SalesforceSDKIdentityTests.m │ │ ├── SalesforceSDKManagerTests.m │ │ ├── ScreenLockManagerTests.m │ │ ├── ScreenLockManagerTests.swift │ │ ├── UIColor+SFColorsTests.m │ │ ├── URLRequest+RestRequestTests.swift │ │ └── WebViewStateManagerTests.swift └── SmartStore │ ├── Configuration │ ├── SmartStore-Common.xcconfig │ ├── SmartStore-Dynamic-iOS-Debug.xcconfig │ ├── SmartStore-Dynamic-iOS-Release.xcconfig │ └── SmartStore-Test.xcconfig │ ├── SmartStore.xcodeproj │ ├── project.pbxproj │ └── xcshareddata │ │ └── xcschemes │ │ ├── Documentation.xcscheme │ │ ├── SmartStore.xcscheme │ │ └── SmartStoreTestApp.xcscheme │ ├── SmartStore │ ├── Classes │ │ ├── Extensions │ │ │ └── SmartStore.swift │ │ ├── Instrumentation │ │ │ ├── SFSmartStore+Instrumentation.h │ │ │ └── SFSmartStore+Instrumentation.m │ │ ├── SFAlterSoupLongOperation.h │ │ ├── SFAlterSoupLongOperation.m │ │ ├── SFQuerySpec.h │ │ ├── SFQuerySpec.m │ │ ├── SFSDKSmartStoreLogger.h │ │ ├── SFSDKSmartStoreLogger.m │ │ ├── SFSDKStoreConfig.h │ │ ├── SFSDKStoreConfig.m │ │ ├── SFSmartSqlCache.h │ │ ├── SFSmartSqlCache.m │ │ ├── SFSmartSqlHelper.h │ │ ├── SFSmartSqlHelper.m │ │ ├── SFSmartStore+Internal.h │ │ ├── SFSmartStore.h │ │ ├── SFSmartStore.m │ │ ├── SFSmartStoreDatabaseManager+Internal.h │ │ ├── SFSmartStoreDatabaseManager.h │ │ ├── SFSmartStoreDatabaseManager.m │ │ ├── SFSmartStoreInspectorViewController.h │ │ ├── SFSmartStoreInspectorViewController.m │ │ ├── SFSmartStoreUtils.h │ │ ├── SFSmartStoreUtils.m │ │ ├── SFSoupIndex.h │ │ ├── SFSoupIndex.m │ │ ├── SFStoreCursor.h │ │ ├── SFStoreCursor.m │ │ ├── SmartStoreSDKManager.h │ │ └── SmartStoreSDKManager.m │ ├── Info.plist │ ├── PrivacyInfo.xcprivacy │ ├── SmartStore-Prefix.pch │ └── SmartStore.h │ ├── SmartStoreTestApp │ ├── AppDelegate.h │ ├── AppDelegate.m │ ├── Assets.xcassets │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── Base.lproj │ │ ├── LaunchScreen.storyboard │ │ └── Main.storyboard │ ├── Info.plist │ ├── SmartStoreTestApp.entitlements │ ├── ViewController.h │ ├── ViewController.m │ ├── globalstore.json │ ├── main.m │ └── userstore.json │ └── SmartStoreTests │ ├── SFMultipleSmartStoresTests.m │ ├── SFQuerySpecTests.m │ ├── SFSDKStoreConfigTests.h │ ├── SFSDKStoreConfigTests.m │ ├── SFSmartSqlCacheTests.m │ ├── SFSmartSqlTests.h │ ├── SFSmartSqlTests.m │ ├── SFSmartStoreAlterTests.m │ ├── SFSmartStoreFullTextSearchSpeedTests.m │ ├── SFSmartStoreFullTextSearchTests.h │ ├── SFSmartStoreFullTextSearchTests.m │ ├── SFSmartStoreLoadTests.m │ ├── SFSmartStoreTestCase.h │ ├── SFSmartStoreTestCase.m │ ├── SFSmartStoreTests.h │ ├── SFSmartStoreTests.m │ ├── SmartStoreTests-Info.plist │ ├── SmartStoreTests.swift │ └── en.lproj │ └── InfoPlist.strings ├── mobilesdk_pods.rb ├── native └── SampleApps │ ├── MobileSyncExplorer │ ├── MobileSyncExplorer.xcodeproj │ │ ├── project.pbxproj │ │ └── xcshareddata │ │ │ └── xcschemes │ │ │ ├── MobileSyncExplorer.xcscheme │ │ │ ├── MobileSyncExplorerCommon.xcscheme │ │ │ └── RecentContactsTodayExtension.xcscheme │ ├── MobileSyncExplorer │ │ ├── Classes │ │ │ ├── ActionsPopupController.h │ │ │ ├── ActionsPopupController.m │ │ │ ├── AppDelegate.h │ │ │ ├── AppDelegate.m │ │ │ ├── ContactDetailViewController.h │ │ │ ├── ContactDetailViewController.m │ │ │ ├── ContactListViewController.h │ │ │ ├── ContactListViewController.m │ │ │ ├── InitialViewController.h │ │ │ └── InitialViewController.m │ │ ├── ImagesMobileSyncExplorer.xcassets │ │ │ ├── Contents.json │ │ │ ├── add.imageset │ │ │ │ ├── Contents.json │ │ │ │ ├── add.png │ │ │ │ └── add@2x.png │ │ │ ├── chevron-right.imageset │ │ │ │ ├── Contents.json │ │ │ │ ├── chevron-right.png │ │ │ │ └── chevron-right@2x.png │ │ │ ├── local-add.imageset │ │ │ │ ├── Contents.json │ │ │ │ ├── local-add.png │ │ │ │ └── local-add@2x.png │ │ │ ├── local-delete.imageset │ │ │ │ ├── Contents.json │ │ │ │ ├── local-delete.png │ │ │ │ └── local-delete@2x.png │ │ │ ├── local-update.imageset │ │ │ │ ├── Contents.json │ │ │ │ ├── local-update.png │ │ │ │ └── local-update@2x.png │ │ │ └── sync.imageset │ │ │ │ ├── Contents.json │ │ │ │ ├── sync.png │ │ │ │ └── sync@2x.png │ │ ├── MobileSyncExplorer-Info.plist │ │ ├── MobileSyncExplorer-Prefix.pch │ │ ├── MobileSyncExplorer.entitlements │ │ ├── MobileSyncExplorerDebug.entitlements │ │ ├── PrivacyInfo.xcprivacy │ │ ├── bootconfig.plist │ │ ├── en.lproj │ │ │ └── InfoPlist.strings │ │ ├── main.m │ │ ├── userstore.json │ │ └── usersyncs.json │ └── MobileSyncExplorerCommon │ │ ├── ContactSObjectData.h │ │ ├── ContactSObjectData.m │ │ ├── ContactSObjectDataSpec.h │ │ ├── ContactSObjectDataSpec.m │ │ ├── Info.plist │ │ ├── MobileSyncExplorerCommon.h │ │ ├── MobileSyncExplorerConfig.h │ │ ├── MobileSyncExplorerConfig.m │ │ ├── SObjectData+Internal.h │ │ ├── SObjectData.h │ │ ├── SObjectData.m │ │ ├── SObjectDataFieldSpec.h │ │ ├── SObjectDataFieldSpec.m │ │ ├── SObjectDataManager.h │ │ ├── SObjectDataManager.m │ │ ├── SObjectDataSpec.h │ │ └── SObjectDataSpec.m │ └── RestAPIExplorer │ ├── RestAPIExplorer.xcodeproj │ ├── project.pbxproj │ └── xcshareddata │ │ └── xcschemes │ │ └── RestAPIExplorer.xcscheme │ └── RestAPIExplorer │ ├── AppDelegate.swift │ ├── Helpers │ ├── UIColors+helper.swift │ └── UIFont+helper.swift │ ├── Info.plist │ ├── Model │ └── Actions.swift │ ├── PrivacyInfo.xcprivacy │ ├── RestAPI.xcassets │ ├── Contents.json │ ├── list.imageset │ │ ├── Contents.json │ │ ├── list.png │ │ ├── list@2x.png │ │ └── list@3x.png │ ├── search.imageset │ │ ├── Contents.json │ │ ├── search.png │ │ ├── search@2x.png │ │ └── search@3x.png │ └── up.imageset │ │ ├── Contents.json │ │ ├── up.png │ │ ├── up@2x.png │ │ └── up@3x.png │ ├── RestAPIExplorer.entitlements │ ├── SceneDelegate.swift │ ├── ViewControllers │ ├── ActionsTableViewController.swift │ ├── IDPLoginNavViewController.swift │ ├── IDPLoginViewController.swift │ ├── InitialViewController.swift │ └── RootViewController.swift │ ├── Views │ └── ActionTableViewCell.swift │ └── bootconfig.plist ├── readme.md ├── setversion.sh └── shared ├── classes └── IDPLoginViewController.xib ├── common └── build │ └── tools │ ├── ant-contrib-1.0b3.jar │ ├── gcovr │ ├── generate_headers.sh │ └── update_podspec_headers.sh ├── resources ├── Images.xcassets │ ├── AppIcon.appiconset │ │ ├── Contents.json │ │ ├── appicon120x120.png │ │ ├── appicon152x152.png │ │ ├── appicon167x167.png │ │ ├── appicon180x180.png │ │ ├── appicon20x20.png │ │ ├── appicon29x29.png │ │ ├── appicon40x40.png │ │ ├── appicon58x58.png │ │ ├── appicon60x60.png │ │ ├── appicon76x76.png │ │ ├── appicon80x80.png │ │ └── appicon87x87.png │ └── Contents.json ├── LaunchScreen.storyboard ├── SalesforceSDKAssets.xcassets │ ├── AppIcon.appiconset │ │ └── Contents.json │ ├── Contents.json │ ├── account-add.imageset │ │ ├── Contents.json │ │ ├── add@1x.png │ │ ├── add@2x.png │ │ └── add@3x.png │ ├── faceId.imageset │ │ ├── Contents.json │ │ ├── faceId-dark.png │ │ ├── faceId-dark@2x.png │ │ ├── faceId-dark@3x.png │ │ ├── faceId.png │ │ ├── faceId@2x.png │ │ └── faceId@3x.png │ ├── globalheader-back-arrow.imageset │ │ ├── Contents.json │ │ ├── globalheader-back-arrow.png │ │ ├── globalheader-back-arrow@2x.png │ │ └── globalheader-back-arrow@3x.png │ ├── login-window-gear.imageset │ │ ├── Contents.json │ │ ├── login-window-gear.png │ │ ├── login-window-gear@2x.png │ │ └── login-window-gear@3x.png │ ├── profile-placeholder.imageset │ │ ├── Contents.json │ │ ├── ios_astro_circle@1x.png │ │ ├── ios_astro_circle@2x.png │ │ └── ios_astro_circle@3x.png │ ├── salesforce-logo.imageset │ │ ├── Contents.json │ │ ├── salesforce-logo1x.png │ │ ├── salesforce-logo2x.png │ │ └── salesforce-logo3x.png │ └── touchId.imageset │ │ ├── Contents.json │ │ ├── touchId-dark.png │ │ ├── touchId-dark@2x.png │ │ ├── touchId-dark@3x.png │ │ ├── touchId.png │ │ ├── touchId@2x.png │ │ └── touchId@3x.png └── SalesforceSDKResources.bundle │ └── en.lproj │ └── Localizable.strings └── test ├── XCUIElement.h ├── XCUITest-Bridging-Header.h └── test_credentials.json.sample /.github/DangerFiles/Gemfile: -------------------------------------------------------------------------------- 1 | source("https://rubygems.org") 2 | 3 | gem 'danger' 4 | gem 'plist' -------------------------------------------------------------------------------- /.github/DangerFiles/Gemfile.lock: -------------------------------------------------------------------------------- 1 | GEM 2 | remote: https://rubygems.org/ 3 | specs: 4 | addressable (2.8.7) 5 | public_suffix (>= 2.0.2, < 7.0) 6 | base64 (0.2.0) 7 | claide (1.1.0) 8 | claide-plugins (0.9.2) 9 | cork 10 | nap 11 | open4 (~> 1.3) 12 | colored2 (3.1.2) 13 | cork (0.3.0) 14 | colored2 (~> 3.1) 15 | danger (9.5.1) 16 | base64 (~> 0.2) 17 | claide (~> 1.0) 18 | claide-plugins (>= 0.9.2) 19 | colored2 (~> 3.1) 20 | cork (~> 0.1) 21 | faraday (>= 0.9.0, < 3.0) 22 | faraday-http-cache (~> 2.0) 23 | git (~> 1.13) 24 | kramdown (~> 2.3) 25 | kramdown-parser-gfm (~> 1.0) 26 | octokit (>= 4.0) 27 | pstore (~> 0.1) 28 | terminal-table (>= 1, < 4) 29 | faraday (2.12.2) 30 | faraday-net_http (>= 2.0, < 3.5) 31 | json 32 | logger 33 | faraday-http-cache (2.5.1) 34 | faraday (>= 0.8) 35 | faraday-net_http (3.4.0) 36 | net-http (>= 0.5.0) 37 | git (1.19.1) 38 | addressable (~> 2.8) 39 | rchardet (~> 1.8) 40 | json (2.9.1) 41 | kramdown (2.5.1) 42 | rexml (>= 3.3.9) 43 | kramdown-parser-gfm (1.1.0) 44 | kramdown (~> 2.0) 45 | logger (1.6.5) 46 | nap (1.1.0) 47 | net-http (0.6.0) 48 | uri 49 | octokit (9.2.0) 50 | faraday (>= 1, < 3) 51 | sawyer (~> 0.9) 52 | open4 (1.3.4) 53 | plist (3.7.2) 54 | pstore (0.1.4) 55 | public_suffix (6.0.1) 56 | rchardet (1.9.0) 57 | rexml (3.4.0) 58 | sawyer (0.9.2) 59 | addressable (>= 2.3.5) 60 | faraday (>= 0.17.3, < 3) 61 | terminal-table (3.0.2) 62 | unicode-display_width (>= 1.1.1, < 3) 63 | unicode-display_width (2.6.0) 64 | uri (1.0.3) 65 | 66 | PLATFORMS 67 | ruby 68 | 69 | DEPENDENCIES 70 | danger 71 | plist 72 | 73 | BUNDLED WITH 74 | 2.5.22 75 | -------------------------------------------------------------------------------- /.github/DangerFiles/TestOrchestrator.rb: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | 3 | # Warn when there is a big PR 4 | warn("Big PR, try to keep changes smaller if you can.", sticky: true) if git.lines_of_code > 1000 5 | 6 | # Redirect contributors to PR to dev. 7 | fail("Please re-submit this PR to the dev branch, we may have already fixed your issue.", sticky: true) if github.branch_for_base != "dev" 8 | 9 | # List of supported xcode schemes for testing 10 | SCHEMES = ['SalesforceSDKCommon', 'SalesforceAnalytics', 'SalesforceSDKCore', 'SmartStore', 'MobileSync'] 11 | 12 | modifed_libs = Set[] 13 | for file in (git.modified_files + git.added_files); 14 | scheme = file.split("libs/").last.split("/").first 15 | if SCHEMES.include?(scheme) 16 | modifed_libs.add(scheme) 17 | end 18 | end 19 | 20 | # Set Github Job output so we know which tests to run 21 | json_libs = modifed_libs.map { |l| "'#{l}'"}.join(", ") 22 | `echo "libs=[#{json_libs}]" >> $GITHUB_OUTPUT` -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE: -------------------------------------------------------------------------------- 1 | Please fill out the following details: 2 | 3 | 1. Version of Mobile SDK Used: 4 | 2. Issue found in Native App or Hybrid App: 5 | 3. OS Version: 6 | 4. Device: 7 | 5. Steps to reproduce: 8 | 6. Actual behavior: 9 | 7. Expected Behavior: 10 | 8. Error Log: 11 | -------------------------------------------------------------------------------- /.github/workflows/nightly.yaml: -------------------------------------------------------------------------------- 1 | name: Nightly Tests 2 | 3 | on: 4 | schedule: 5 | - cron: "0 5 * * 3,5" # cron is UTC, this translates to 10 PM PST Tues and Thur. 6 | # This lets us trigger the workflow from a browser. 7 | workflow_dispatch: 8 | 9 | jobs: 10 | ios-nightly: 11 | strategy: 12 | fail-fast: false 13 | matrix: 14 | lib: [SalesforceSDKCommon, SalesforceAnalytics, SalesforceSDKCore, SmartStore, MobileSync] 15 | ios: [^18, ^17] 16 | macos: [macos-15] 17 | include: 18 | - ios: ^18 19 | xcode: ^16 20 | - ios: ^17 21 | xcode: ^15 22 | uses: ./.github/workflows/reusable-workflow.yaml 23 | with: 24 | lib: ${{ matrix.lib }} 25 | ios: ${{ matrix.ios }} 26 | xcode: ${{ matrix.xcode }} 27 | macos: ${{ matrix.macos }} 28 | secrets: inherit -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | DerivedData 3 | xcuserdata 4 | project.xcworkspace 5 | artifacts 6 | node_modules 7 | shared/test/test_credentials.json 8 | /SalesforceMobileSDK.xcworkspace/xcshareddata/SalesforceMobileSDK.xccheckout 9 | /SalesforceMobileSDK.xcworkspace/xcshareddata/SalesforceMobileSDK.xcscmblueprint 10 | /SalesforceMobileSDK.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist 11 | /hybrid/SampleApps/ContactExplorer/build/ 12 | /hybrid/SampleApps/VFConnector/build/ 13 | /libs/SalesforceHybridSDK/build/ 14 | /libs/SalesforceReact/build/ 15 | /libs/SalesforceSDKCore/build/ 16 | /libs/SalesforceAnalytics/build/ 17 | /libs/SmartStore/build/ 18 | /libs/MobileSync/build/ 19 | /native/SampleApps/RestAPIExplorer/build/ 20 | node_modules/ 21 | .idea/ 22 | package-lock.json 23 | npm-debug.log 24 | index.ios.bundle* 25 | clangReport/ 26 | test_output/ 27 | .circleci/fastlane/README.md 28 | .circleci/fastlane/report.xml 29 | .build -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "external/fmdb"] 2 | path = external/fmdb 3 | url = https://github.com/ccgus/fmdb 4 | -------------------------------------------------------------------------------- /CODEOWNERS: -------------------------------------------------------------------------------- 1 | # Comment line immediately above ownership line is reserved for related gus information. Please be careful while editing. 2 | #ECCN:Open Source 3 | -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- 1 | ## Security 2 | 3 | Please report any security issue to [security@salesforce.com](mailto:security@salesforce.com) 4 | as soon as it is discovered. This library limits its runtime dependencies in 5 | order to reduce the total cost of ownership as much as can be, but all consumers 6 | should remain vigilant and have their security stakeholders review all third-party 7 | products (3PP) like this one and their dependencies. 8 | -------------------------------------------------------------------------------- /UPGRADE.md: -------------------------------------------------------------------------------- 1 | ## Upgrade steps from v. 7.0 to v. 7.1 for Native apps 2 | 3 | To upgrade native apps, we strongly recommend creating a new app from the app templates in [the forceios npm package](https://npmjs.org/package/forceios), then migrating the artifacts specific to your app into the new template. 4 | 5 | For Swift, MobileSync Data Framework requires a few code changes. These changes result from enhanced error handling in some Objective-C methods. Because the Swift methods derive from these new Objective-C versions, they can now throw. Add try statements around calls to these sync methods: 6 | 7 | ``` 8 | open func syncDown(target: SyncDownTarget, options: SyncOptions, soupName: String, syncName: String?, onUpdate updateBlock: *@escaping* SyncUpdateBlock) throws -> SyncState 9 | 10 | open func syncUp(target: SyncUpTarget, options: SyncOptions, soupName: String, syncName: String?, onUpdate updateBlock: *@escaping* SyncUpdateBlock) throws -> SyncState 11 | 12 | open func reSync(id syncId: NSNumber, onUpdate updateBlock: @escaping SyncUpdateBlock) throws -> SyncState 13 | 14 | open func reSync(named syncName: String, onUpdate updateBlock: @escaping SyncUpdateBlock) throws -> SyncState 15 | 16 | open func cleanResyncGhosts(forId syncId: NSNumber, onComplete completionStatusBlock: @escaping SyncCompletionBlock) throws 17 | ``` 18 | 19 | See the [Mobile SDK Development Guide](https://github.com/forcedotcom/SalesforceMobileSDK-Shared/blob/master/doc/mobile_sdk.pdf?raw=true) for more information. 20 | 21 | If you have questions, or encounter any issues, we'd love to hear from you. Post any feedback you have on [Salesforce StackExchange](https://salesforce.stackexchange.com/questions/tagged/mobilesdk). 22 | -------------------------------------------------------------------------------- /build/pre-build: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo ${TEST_CREDENTIALS} > ./shared/test/test_credentials.json -------------------------------------------------------------------------------- /configuration/Common-iOS.xcconfig: -------------------------------------------------------------------------------- 1 | // 2 | // Common-iOS.xcconfig 3 | // 4 | // 5 | // Created by Michael Nachbaur on 2/25/15. 6 | // 7 | // 8 | 9 | #include "Common.xcconfig" 10 | 11 | SDKROOT = iphoneos 12 | TARGETED_DEVICE_FAMILY = 1,2 13 | -------------------------------------------------------------------------------- /configuration/Common.xcconfig: -------------------------------------------------------------------------------- 1 | // 2 | // Common.xcconfig 3 | // 4 | // 5 | // Created by Michael Nachbaur on 2/25/15. 6 | // 7 | // 8 | 9 | ALWAYS_SEARCH_USER_PATHS = NO 10 | OTHER_LDFLAGS = -ObjC -weak_framework Combine 11 | ENABLE_TESTABILITY = YES 12 | 13 | GCC_DYNAMIC_NO_PIC = NO 14 | GCC_SYMBOLS_PRIVATE_EXTERN = NO 15 | CLANG_ENABLE_MODULES = YES 16 | CLANG_ENABLE_OBJC_ARC = YES 17 | ENABLE_STRICT_OBJC_MSGSEND = YES 18 | GCC_C_LANGUAGE_STANDARD = gnu99 19 | CLANG_CXX_LANGUAGE_STANDARD = gnu++0x 20 | CLANG_CXX_LIBRARY = libc++ 21 | 22 | CLANG_WARN_EMPTY_BODY = YES 23 | CLANG_WARN_BOOL_CONVERSION = YES 24 | CLANG_WARN_CONSTANT_CONVERSION = YES 25 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES 26 | CLANG_WARN_ENUM_CONVERSION = YES 27 | CLANG_WARN_INT_CONVERSION = YES 28 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR 29 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE 30 | CLANG_WARN_UNREACHABLE_CODE = YES 31 | GCC_WARN_UNUSED_FUNCTION = YES 32 | GCC_WARN_UNUSED_VARIABLE = YES 33 | 34 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR 35 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES 36 | GCC_WARN_UNDECLARED_SELECTOR = YES 37 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR 38 | 39 | GCC_NO_COMMON_BLOCKS = YES 40 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES 41 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES 42 | -------------------------------------------------------------------------------- /configuration/Configuration-Debug.xcconfig: -------------------------------------------------------------------------------- 1 | // 2 | // Configuration-Debug.xcconfig 3 | // 4 | // 5 | // Created by Michael Nachbaur on 2/25/15. 6 | // 7 | // 8 | 9 | ONLY_ACTIVE_ARCH = YES 10 | COPY_PHASE_STRIP = NO 11 | 12 | GCC_OPTIMIZATION_LEVEL = 0 13 | GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 SIGNPOST_ENABLED=1 $(inherited) 14 | MTL_ENABLE_DEBUG_INFO = YES 15 | -------------------------------------------------------------------------------- /configuration/Configuration-Release.xcconfig: -------------------------------------------------------------------------------- 1 | // 2 | // Configuration-Release.xcconfig 3 | // 4 | // 5 | // Created by Michael Nachbaur on 2/25/15. 6 | // 7 | // 8 | 9 | VALIDATE_PRODUCT = YES 10 | COPY_PHASE_STRIP = YES 11 | 12 | ENABLE_NS_ASSERTIONS = NO 13 | MTL_ENABLE_DEBUG_INFO = NO 14 | CLANG_ENABLE_CODE_COVERAGE = NO 15 | -------------------------------------------------------------------------------- /configuration/Packaging-Dynamic.xcconfig: -------------------------------------------------------------------------------- 1 | // 2 | // Packaging-Dynamic.xcconfig 3 | // 4 | // 5 | // Created by Bharath Hariharan on 12/11/15. 6 | // 7 | // 8 | 9 | IPHONEOS_DEPLOYMENT_TARGET = 17.0 10 | -------------------------------------------------------------------------------- /configuration/Version.xcconfig: -------------------------------------------------------------------------------- 1 | CURRENT_PROJECT_VERSION = 13.1.0 2 | -------------------------------------------------------------------------------- /docs/generate_docs.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # 4 | # Run this script from the root of the repo to generate docs for the libraries in this workspace. 5 | # The generated docs are placed under the 'build/artifacts/doc' folder. 6 | # 7 | 8 | # Generates Obj-C library docs. 9 | ant -buildfile build/build_doc.xml 10 | -------------------------------------------------------------------------------- /external/ThirdPartyDependencies/sqlcipher/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2008, ZETETIC LLC 2 | All rights reserved. 3 | 4 | Redistribution and use in source and binary forms, with or without 5 | modification, are permitted provided that the following conditions are met: 6 | * Redistributions of source code must retain the above copyright 7 | notice, this list of conditions and the following disclaimer. 8 | * Redistributions in binary form must reproduce the above copyright 9 | notice, this list of conditions and the following disclaimer in the 10 | documentation and/or other materials provided with the distribution. 11 | * Neither the name of the ZETETIC LLC nor the 12 | names of its contributors may be used to endorse or promote products 13 | derived from this software without specific prior written permission. 14 | 15 | THIS SOFTWARE IS PROVIDED BY ZETETIC LLC ''AS IS'' AND ANY 16 | EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 17 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 18 | DISCLAIMED. IN NO EVENT SHALL ZETETIC LLC BE LIABLE FOR ANY 19 | DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 20 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 21 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 22 | ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 24 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 | -------------------------------------------------------------------------------- /external/ThirdPartyDependencies/sqlcipher/SALESFORCE_README: -------------------------------------------------------------------------------- 1 | Binary in this folder was compiled with FTS support: 2 | - git clone git://github.com/forcedotcom/sqlcipher.git 3 | - git checkout sdk 4 | - ./build_for_sdk.sh 5 | - copy generated SQLCipher.xcframework here 6 | - copy sqlite3.h here 7 | -------------------------------------------------------------------------------- /external/ThirdPartyDependencies/sqlcipher/SQLCipher.xcframework/ios-arm64_arm64e/libsqlcipher-iphoneos.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/SalesforceMobileSDK-iOS/20594c7d290444f3c098e5f30931247d81d7e3e6/external/ThirdPartyDependencies/sqlcipher/SQLCipher.xcframework/ios-arm64_arm64e/libsqlcipher-iphoneos.a -------------------------------------------------------------------------------- /external/ThirdPartyDependencies/sqlcipher/SQLCipher.xcframework/ios-arm64_x86_64-maccatalyst/libsqlcipher-catalyst.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/SalesforceMobileSDK-iOS/20594c7d290444f3c098e5f30931247d81d7e3e6/external/ThirdPartyDependencies/sqlcipher/SQLCipher.xcframework/ios-arm64_x86_64-maccatalyst/libsqlcipher-catalyst.a -------------------------------------------------------------------------------- /external/ThirdPartyDependencies/sqlcipher/SQLCipher.xcframework/ios-arm64_x86_64-simulator/libsqlcipher-iphonesimulator.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/SalesforceMobileSDK-iOS/20594c7d290444f3c098e5f30931247d81d7e3e6/external/ThirdPartyDependencies/sqlcipher/SQLCipher.xcframework/ios-arm64_x86_64-simulator/libsqlcipher-iphonesimulator.a -------------------------------------------------------------------------------- /external/ThirdPartyDependencies/sqlcipher/SQLCipher.xcframework/xros-arm64/libsqlcipher-xros.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/SalesforceMobileSDK-iOS/20594c7d290444f3c098e5f30931247d81d7e3e6/external/ThirdPartyDependencies/sqlcipher/SQLCipher.xcframework/xros-arm64/libsqlcipher-xros.a -------------------------------------------------------------------------------- /external/ThirdPartyDependencies/sqlcipher/SQLCipher.xcframework/xros-arm64_x86_64-simulator/libsqlcipher-xrsimulator.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/SalesforceMobileSDK-iOS/20594c7d290444f3c098e5f30931247d81d7e3e6/external/ThirdPartyDependencies/sqlcipher/SQLCipher.xcframework/xros-arm64_x86_64-simulator/libsqlcipher-xrsimulator.a -------------------------------------------------------------------------------- /libs/MobileSync/Configuration/MobileSync-Common.xcconfig: -------------------------------------------------------------------------------- 1 | // 2 | // MobileSync-Common.xcconfig 3 | // MobileSync 4 | // 5 | // Created by Bharath Hariharan on 4/7/15. 6 | // Copyright (c) 2015-present, Salesforce Inc. All rights reserved. 7 | // 8 | 9 | #include "../../../configuration/Version.xcconfig" 10 | 11 | GCC_PRECOMPILE_PREFIX_HEADER = YES 12 | GCC_PREFIX_HEADER = $(PROJECT_NAME)/$(PROJECT_NAME)-Prefix.pch 13 | 14 | PRODUCT_NAME = MobileSync 15 | 16 | LIBRARY_SEARCH_PATHS = $(SRCROOT)/../../external/ThirdPartyDependencies/sqlcipher $(inherited) 17 | 18 | // Make sure to use only API that are safe for application extensions 19 | APPLICATION_EXTENSION_API_ONLY = YES 20 | -------------------------------------------------------------------------------- /libs/MobileSync/Configuration/MobileSync-Dynamic-iOS-Debug.xcconfig: -------------------------------------------------------------------------------- 1 | // 2 | // MobileSync-Dynamic-iOS-Debug.xcconfig 3 | // MobileSync 4 | // 5 | // Created by Bharath Hariharan on 12/11/15. 6 | // Copyright © 2015 Salesforce Inc. All rights reserved. 7 | // 8 | 9 | #include "../../../configuration/Common-iOS.xcconfig" 10 | #include "../../../configuration/Packaging-Dynamic.xcconfig" 11 | #include "../../../configuration/Configuration-Debug.xcconfig" 12 | #include "MobileSync-Common.xcconfig" 13 | -------------------------------------------------------------------------------- /libs/MobileSync/Configuration/MobileSync-Dynamic-iOS-Release.xcconfig: -------------------------------------------------------------------------------- 1 | // 2 | // MobileSync-Dynamic-iOS-Release.xcconfig 3 | // MobileSync 4 | // 5 | // Created by Bharath Hariharan on 12/11/15. 6 | // Copyright © 2015 Salesforce Inc. All rights reserved. 7 | // 8 | 9 | #include "../../../configuration/Common-iOS.xcconfig" 10 | #include "../../../configuration/Packaging-Dynamic.xcconfig" 11 | #include "../../../configuration/Configuration-Release.xcconfig" 12 | #include "MobileSync-Common.xcconfig" 13 | -------------------------------------------------------------------------------- /libs/MobileSync/Configuration/MobileSync-Test.xcconfig: -------------------------------------------------------------------------------- 1 | // 2 | // MobileSync-Test.xcconfig 3 | // MobileSync 4 | // 5 | // Created by Bharath Hariharan on 4/7/15. 6 | // Copyright (c) 2015-present, Salesforce Inc. All rights reserved. 7 | // 8 | 9 | #include "MobileSync-Dynamic-iOS-Debug.xcconfig" 10 | -------------------------------------------------------------------------------- /libs/MobileSync/MobileSync/Classes/Manager/SFMobileSyncSyncManager+SFSyncTask.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2019-present, salesforce.com, inc. All rights reserved. 3 | 4 | Redistribution and use of this software in source and binary forms, with or without modification, 5 | are permitted provided that the following conditions are met: 6 | * Redistributions of source code must retain the above copyright notice, this list of conditions 7 | and the following disclaimer. 8 | * Redistributions in binary form must reproduce the above copyright notice, this list of 9 | conditions and the following disclaimer in the documentation and/or other materials provided 10 | with the distribution. 11 | * Neither the name of salesforce.com, inc. nor the names of its contributors may be used to 12 | endorse or promote products derived from this software without specific prior written 13 | permission of salesforce.com, inc. 14 | 15 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR 16 | IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 17 | FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 18 | CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 21 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY 22 | WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 | */ 24 | 25 | #import "SFSyncTask.h" 26 | 27 | @interface SFMobileSyncSyncManager (SFSyncTask) 28 | 29 | - (void) addToActiveSyncs:(SFSyncTask*)syncTask; 30 | - (void) removeFromActiveSyncs:(SFSyncTask*)syncTask; 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /libs/MobileSync/MobileSync/Classes/Model/SFMobileSyncPersistableObject+Internal.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2014-present, salesforce.com, inc. All rights reserved. 3 | 4 | Redistribution and use of this software in source and binary forms, with or without modification, 5 | are permitted provided that the following conditions are met: 6 | * Redistributions of source code must retain the above copyright notice, this list of conditions 7 | and the following disclaimer. 8 | * Redistributions in binary form must reproduce the above copyright notice, this list of 9 | conditions and the following disclaimer in the documentation and/or other materials provided 10 | with the distribution. 11 | * Neither the name of salesforce.com, inc. nor the names of its contributors may be used to 12 | endorse or promote products derived from this software without specific prior written 13 | permission of salesforce.com, inc. 14 | 15 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR 16 | IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 17 | FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 18 | CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 21 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY 22 | WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 | */ 24 | 25 | #import "SFMobileSyncPersistableObject.h" 26 | 27 | @interface SFMobileSyncPersistableObject () 28 | 29 | @property (nonatomic, readwrite, copy) NSString *objectType; 30 | 31 | @end 32 | -------------------------------------------------------------------------------- /libs/MobileSync/MobileSync/Classes/Util/SFCompositeRequestHelper.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2019-present, salesforce.com, inc. All rights reserved. 3 | 4 | Redistribution and use of this software in source and binary forms, with or without modification, 5 | are permitted provided that the following conditions are met: 6 | * Redistributions of source code must retain the above copyright notice, this list of conditions 7 | and the following disclaimer. 8 | * Redistributions in binary form must reproduce the above copyright notice, this list of 9 | conditions and the following disclaimer in the documentation and/or other materials provided 10 | with the distribution. 11 | * Neither the name of salesforce.com, inc. nor the names of its contributors may be used to 12 | endorse or promote products derived from this software without specific prior written 13 | permission of salesforce.com, inc. 14 | 15 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR 16 | IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 17 | FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 18 | CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 21 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY 22 | WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 | */ 24 | 25 | #import 26 | 27 | NS_ASSUME_NONNULL_BEGIN 28 | 29 | typedef void (^SFSendCompositeRequestCompleteBlock)(NSDictionary *refIdToResponses); 30 | 31 | NS_ASSUME_NONNULL_END 32 | -------------------------------------------------------------------------------- /libs/MobileSync/MobileSync/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | $(CURRENT_PROJECT_VERSION) 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | $(CURRENT_PROJECT_VERSION)$(BUILD_VERSION_SUFFIX) 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /libs/MobileSync/MobileSync/MobileSync-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header 3 | // 4 | // The contents of this file are implicitly included at the beginning of every source file. 5 | // 6 | 7 | #ifdef __OBJC__ 8 | #import 9 | #import 10 | #import "SFSDKMobileSyncLogger.h" 11 | #endif 12 | -------------------------------------------------------------------------------- /libs/MobileSync/MobileSyncTestApp/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // MobileSyncTestApp 4 | // 5 | // Created by Wolfgang Mathurin on 1/15/16. 6 | // Copyright © 2016-present Salesforce Inc. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface AppDelegate : UIResponder 12 | 13 | @property (strong, nonatomic) UIWindow *window; 14 | 15 | 16 | @end 17 | 18 | -------------------------------------------------------------------------------- /libs/MobileSync/MobileSyncTestApp/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /libs/MobileSync/MobileSyncTestApp/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /libs/MobileSync/MobileSyncTestApp/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIMainStoryboardFile 28 | Main 29 | UIRequiredDeviceCapabilities 30 | 31 | armv7 32 | 33 | UISupportedInterfaceOrientations 34 | 35 | UIInterfaceOrientationPortrait 36 | UIInterfaceOrientationLandscapeLeft 37 | UIInterfaceOrientationLandscapeRight 38 | 39 | UISupportedInterfaceOrientations~ipad 40 | 41 | UIInterfaceOrientationPortrait 42 | UIInterfaceOrientationPortraitUpsideDown 43 | UIInterfaceOrientationLandscapeLeft 44 | UIInterfaceOrientationLandscapeRight 45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /libs/MobileSync/MobileSyncTestApp/MobileSyncTestApp.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | com.apple.security.app-sandbox 6 | 7 | com.apple.security.network.client 8 | 9 | keychain-access-groups 10 | 11 | $(AppIdentifierPrefix)com.salesforce.MobileSyncTestApp 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /libs/MobileSync/MobileSyncTestApp/ViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.h 3 | // MobileSyncTestApp 4 | // 5 | // Created by Wolfgang Mathurin on 1/15/16. 6 | // Copyright © 2016 Salesforce Inc. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface ViewController : UIViewController 12 | 13 | 14 | @end 15 | 16 | -------------------------------------------------------------------------------- /libs/MobileSync/MobileSyncTestApp/ViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.m 3 | // MobileSyncTestApp 4 | // 5 | // Created by Wolfgang Mathurin on 1/15/16. 6 | // Copyright © 2016 Salesforce Inc. All rights reserved. 7 | // 8 | 9 | #import "ViewController.h" 10 | 11 | @interface ViewController () 12 | 13 | @end 14 | 15 | @implementation ViewController 16 | 17 | - (void)viewDidLoad { 18 | [super viewDidLoad]; 19 | // Do any additional setup after loading the view, typically from a nib. 20 | } 21 | 22 | - (void)didReceiveMemoryWarning { 23 | [super didReceiveMemoryWarning]; 24 | // Dispose of any resources that can be recreated. 25 | } 26 | 27 | @end 28 | -------------------------------------------------------------------------------- /libs/MobileSync/MobileSyncTestApp/globalsyncs.json: -------------------------------------------------------------------------------- 1 | { 2 | "syncs": [ 3 | { 4 | "syncName": "globalSync1", 5 | "syncType": "syncDown", 6 | "soupName": "accounts", 7 | "target": {"type":"soql", "query":"SELECT Id, Name, LastModifiedDate FROM Account"}, 8 | "options": {"mergeMode":"OVERWRITE"} 9 | }, 10 | { 11 | "syncName": "globalSync2", 12 | "syncType": "syncUp", 13 | "soupName": "accounts", 14 | "target": {"createFieldlist":["Name"]}, 15 | "options": {"fieldlist":["Id", "Name", "LastModifiedDate"], "mergeMode":"LEAVE_IF_CHANGED"} 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /libs/MobileSync/MobileSyncTestApp/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // MobileSyncTestApp 4 | // 5 | // Created by Wolfgang Mathurin on 1/15/16. 6 | // Copyright © 2016 Salesforce Inc. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "AppDelegate.h" 11 | 12 | int main(int argc, char * argv[]) { 13 | @autoreleasepool { 14 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /libs/MobileSync/MobileSyncTests/BatchSyncUpTargetTests.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2019-present, salesforce.com, inc. All rights reserved. 3 | 4 | Redistribution and use of this software in source and binary forms, with or without modification, 5 | are permitted provided that the following conditions are met: 6 | * Redistributions of source code must retain the above copyright notice, this list of conditions 7 | and the following disclaimer. 8 | * Redistributions in binary form must reproduce the above copyright notice, this list of 9 | conditions and the following disclaimer in the documentation and/or other materials provided 10 | with the distribution. 11 | * Neither the name of salesforce.com, inc. nor the names of its contributors may be used to 12 | endorse or promote products derived from this software without specific prior written 13 | permission of salesforce.com, inc. 14 | 15 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR 16 | IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 17 | FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 18 | CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 21 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY 22 | WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 | */ 24 | 25 | #import "SyncUpTargetTests.h" 26 | 27 | @interface BatchSyncUpTargetTests : SyncUpTargetTests 28 | 29 | @end 30 | -------------------------------------------------------------------------------- /libs/MobileSync/MobileSyncTests/MobileSyncTests-Bridging-Header.h: -------------------------------------------------------------------------------- 1 | // 2 | // Use this file to import your target's public headers that you would like to expose to Swift. 3 | // 4 | 5 | #import "SyncManagerTestCase.h" 6 | 7 | -------------------------------------------------------------------------------- /libs/MobileSync/MobileSyncTests/MobileSyncTests-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundlePackageType 14 | BNDL 15 | CFBundleShortVersionString 16 | 1.0 17 | CFBundleSignature 18 | ???? 19 | CFBundleVersion 20 | 1 21 | 22 | 23 | -------------------------------------------------------------------------------- /libs/MobileSync/MobileSyncTests/SyncUpTargetTests.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2019-present, salesforce.com, inc. All rights reserved. 3 | 4 | Redistribution and use of this software in source and binary forms, with or without modification, 5 | are permitted provided that the following conditions are met: 6 | * Redistributions of source code must retain the above copyright notice, this list of conditions 7 | and the following disclaimer. 8 | * Redistributions in binary form must reproduce the above copyright notice, this list of 9 | conditions and the following disclaimer in the documentation and/or other materials provided 10 | with the distribution. 11 | * Neither the name of salesforce.com, inc. nor the names of its contributors may be used to 12 | endorse or promote products derived from this software without specific prior written 13 | permission of salesforce.com, inc. 14 | 15 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR 16 | IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 17 | FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 18 | CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 21 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY 22 | WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 | */ 24 | 25 | #import "SyncManagerTestCase.h" 26 | 27 | @interface SyncUpTargetTests : SyncManagerTestCase 28 | 29 | @end 30 | -------------------------------------------------------------------------------- /libs/MobileSync/MobileSyncTests/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /libs/SalesforceAnalytics/Configuration/SalesforceAnalytics-Common-Dynamic.xcconfig: -------------------------------------------------------------------------------- 1 | // 2 | // SalesforceAnalytics-Common-Dynamic.xcconfig 3 | // SalesforceAnalytics 4 | // 5 | // Created by Bharath Hariharan on 05/14/16. 6 | // Copyright © 2016 salesforce.com. All rights reserved. 7 | // 8 | 9 | #include "SalesforceAnalytics-Common.xcconfig" 10 | 11 | INSTALL_PATH = / 12 | SKIP_INSTALL = YES 13 | -------------------------------------------------------------------------------- /libs/SalesforceAnalytics/Configuration/SalesforceAnalytics-Common.xcconfig: -------------------------------------------------------------------------------- 1 | // 2 | // Common.xcconfig 3 | // SalesforceAnalytics 4 | // 5 | // Created by Bharath Hariharan on 05/14/16. 6 | // Copyright © 2016 salesforce.com. All rights reserved. 7 | // 8 | 9 | #include "../../../configuration/Version.xcconfig" 10 | 11 | GCC_PRECOMPILE_PREFIX_HEADER = YES 12 | GCC_PREFIX_HEADER = $(PROJECT_NAME)/$(PROJECT_NAME)-Prefix.pch 13 | 14 | PRODUCT_NAME = SalesforceAnalytics 15 | 16 | LIBRARY_SEARCH_PATHS = $(inherited) 17 | 18 | // Make sure to use only API that are safe for application extensions 19 | APPLICATION_EXTENSION_API_ONLY = YES 20 | -------------------------------------------------------------------------------- /libs/SalesforceAnalytics/Configuration/SalesforceAnalytics-Dynamic-iOS-Debug.xcconfig: -------------------------------------------------------------------------------- 1 | // 2 | // SalesforceAnalytics-Dynamic-iOS-Debug.xcconfig 3 | // SalesforceAnalytics 4 | // 5 | // Created by Bharath Hariharan on 05/14/16. 6 | // Copyright © 2016 salesforce.com. All rights reserved. 7 | // 8 | 9 | #include "../../../configuration/Common-iOS.xcconfig" 10 | #include "../../../configuration/Packaging-Dynamic.xcconfig" 11 | #include "../../../configuration/Configuration-Debug.xcconfig" 12 | #include "SalesforceAnalytics-Common-Dynamic.xcconfig" 13 | -------------------------------------------------------------------------------- /libs/SalesforceAnalytics/Configuration/SalesforceAnalytics-Dynamic-iOS-Release.xcconfig: -------------------------------------------------------------------------------- 1 | // 2 | // SalesforceAnalytics-Dynamic-iOS-Release.xcconfig 3 | // SalesforceAnalytics 4 | // 5 | // Created by Bharath Hariharan on 05/14/16. 6 | // Copyright © 2016 salesforce.com. All rights reserved. 7 | // 8 | 9 | #include "../../../configuration/Common-iOS.xcconfig" 10 | #include "../../../configuration/Packaging-Dynamic.xcconfig" 11 | #include "../../../configuration/Configuration-Release.xcconfig" 12 | #include "SalesforceAnalytics-Common-Dynamic.xcconfig" 13 | -------------------------------------------------------------------------------- /libs/SalesforceAnalytics/Configuration/SalesforceAnalytics-Test.xcconfig: -------------------------------------------------------------------------------- 1 | // 2 | // SalesforceAnalytics-Test.xcconfig 3 | // SalesforceAnalytics 4 | // 5 | // Created by Bharath Hariharan on 05/14/16. 6 | // Copyright © 2016 salesforce.com. All rights reserved. 7 | // 8 | 9 | #include "SalesforceAnalytics-Dynamic-iOS-Debug.xcconfig" 10 | -------------------------------------------------------------------------------- /libs/SalesforceAnalytics/SalesforceAnalytics/Classes/Transform/SFSDKAILTNTransform.h: -------------------------------------------------------------------------------- 1 | /* 2 | AILTNTransform.h 3 | SalesforceAnalytics 4 | 5 | Created by Bharath Hariharan on 6/16/16. 6 | 7 | Copyright (c) 2016-present, salesforce.com, inc. All rights reserved. 8 | 9 | Redistribution and use of this software in source and binary forms, with or without modification, 10 | are permitted provided that the following conditions are met: 11 | * Redistributions of source code must retain the above copyright notice, this list of conditions 12 | and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright notice, this list of 14 | conditions and the following disclaimer in the documentation and/or other materials provided 15 | with the distribution. 16 | * Neither the name of salesforce.com, inc. nor the names of its contributors may be used to 17 | endorse or promote products derived from this software without specific prior written 18 | permission of salesforce.com, inc. 19 | 20 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR 21 | IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 22 | FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 23 | CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 24 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 25 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 26 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY 27 | WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | */ 29 | 30 | #import 31 | 32 | @interface SFSDKAILTNTransform : NSObject 33 | 34 | @end 35 | -------------------------------------------------------------------------------- /libs/SalesforceAnalytics/SalesforceAnalytics/PrivacyInfo.xcprivacy: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NSPrivacyTracking 6 | 7 | NSPrivacyCollectedDataTypes 8 | 9 | 10 | NSPrivacyCollectedDataType 11 | NSPrivacyCollectedDataTypeUserID 12 | NSPrivacyCollectedDataTypeLinked 13 | 14 | NSPrivacyCollectedDataTypeTracking 15 | 16 | NSPrivacyCollectedDataTypePurposes 17 | 18 | NSPrivacyCollectedDataTypePurposeAppFunctionality 19 | 20 | 21 | 22 | NSPrivacyCollectedDataType 23 | NSPrivacyCollectedDataTypeDeviceID 24 | NSPrivacyCollectedDataTypeLinked 25 | 26 | NSPrivacyCollectedDataTypeTracking 27 | 28 | NSPrivacyCollectedDataTypePurposes 29 | 30 | NSPrivacyCollectedDataTypePurposeAnalytics 31 | 32 | 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /libs/SalesforceAnalytics/SalesforceAnalytics/Supporting Files/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | $(CURRENT_PROJECT_VERSION) 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | $(CURRENT_PROJECT_VERSION)$(BUILD_VERSION_SUFFIX) 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /libs/SalesforceAnalytics/SalesforceAnalytics/Supporting Files/SalesforceAnalytics-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header for all source files of the 'SalesforceAnalytics' target in the 'SalesforceAnalytics' project 3 | // 4 | 5 | #ifdef __OBJC__ 6 | #import 7 | #import "SFSDKAnalyticsLogger.h" 8 | #endif 9 | -------------------------------------------------------------------------------- /libs/SalesforceAnalytics/SalesforceAnalyticsTestApp/AppDelegate.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2016-present, salesforce.com, inc. All rights reserved. 3 | 4 | Redistribution and use of this software in source and binary forms, with or without modification, 5 | are permitted provided that the following conditions are met: 6 | * Redistributions of source code must retain the above copyright notice, this list of conditions 7 | and the following disclaimer. 8 | * Redistributions in binary form must reproduce the above copyright notice, this list of 9 | conditions and the following disclaimer in the documentation and/or other materials provided 10 | with the distribution. 11 | * Neither the name of salesforce.com, inc. nor the names of its contributors may be used to 12 | endorse or promote products derived from this software without specific prior written 13 | permission of salesforce.com, inc. 14 | 15 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR 16 | IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 17 | FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 18 | CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 21 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY 22 | WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 | */ 24 | 25 | #import 26 | 27 | @interface AppDelegate : UIResponder 28 | 29 | @property (strong, nonatomic) UIWindow *window; 30 | 31 | @end 32 | -------------------------------------------------------------------------------- /libs/SalesforceAnalytics/SalesforceAnalyticsTestApp/Base.lproj/Main_iPad.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /libs/SalesforceAnalytics/SalesforceAnalyticsTestApp/Base.lproj/Main_iPhone.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /libs/SalesforceAnalytics/SalesforceAnalyticsTestApp/SalesforceAnalyticsTestApp-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | ${PRODUCT_NAME} 9 | CFBundleExecutable 10 | ${EXECUTABLE_NAME} 11 | CFBundleIdentifier 12 | $(PRODUCT_BUNDLE_IDENTIFIER) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | ${PRODUCT_NAME} 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1.0 25 | LSRequiresIPhoneOS 26 | 27 | UIMainStoryboardFile 28 | Main_iPhone 29 | UIMainStoryboardFile~ipad 30 | Main_iPad 31 | UIRequiredDeviceCapabilities 32 | 33 | armv7 34 | 35 | UISupportedInterfaceOrientations 36 | 37 | UIInterfaceOrientationPortrait 38 | UIInterfaceOrientationLandscapeLeft 39 | UIInterfaceOrientationLandscapeRight 40 | 41 | UISupportedInterfaceOrientations~ipad 42 | 43 | UIInterfaceOrientationPortrait 44 | UIInterfaceOrientationPortraitUpsideDown 45 | UIInterfaceOrientationLandscapeLeft 46 | UIInterfaceOrientationLandscapeRight 47 | 48 | 49 | 50 | -------------------------------------------------------------------------------- /libs/SalesforceAnalytics/SalesforceAnalyticsTestApp/SalesforceAnalyticsTestApp-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header 3 | // 4 | // The contents of this file are implicitly included at the beginning of every source file. 5 | // 6 | 7 | #ifdef __OBJC__ 8 | #import 9 | #import 10 | #endif 11 | -------------------------------------------------------------------------------- /libs/SalesforceAnalytics/SalesforceAnalyticsTestApp/SalesforceAnalyticsTestApp.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | keychain-access-groups 6 | 7 | $(AppIdentifierPrefix)com.salesforce.mobilesdk.SalesforceAnalyticsTestApp 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /libs/SalesforceAnalytics/SalesforceAnalyticsTestApp/ViewController.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2016-present, salesforce.com, inc. All rights reserved. 3 | 4 | Redistribution and use of this software in source and binary forms, with or without modification, 5 | are permitted provided that the following conditions are met: 6 | * Redistributions of source code must retain the above copyright notice, this list of conditions 7 | and the following disclaimer. 8 | * Redistributions in binary form must reproduce the above copyright notice, this list of 9 | conditions and the following disclaimer in the documentation and/or other materials provided 10 | with the distribution. 11 | * Neither the name of salesforce.com, inc. nor the names of its contributors may be used to 12 | endorse or promote products derived from this software without specific prior written 13 | permission of salesforce.com, inc. 14 | 15 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR 16 | IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 17 | FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 18 | CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 21 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY 22 | WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 | */ 24 | 25 | #import 26 | 27 | @interface ViewController : UIViewController 28 | 29 | @end 30 | -------------------------------------------------------------------------------- /libs/SalesforceAnalytics/SalesforceAnalyticsTestApp/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /libs/SalesforceAnalytics/SalesforceAnalyticsTestApp/main.m: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2016-present, salesforce.com, inc. All rights reserved. 3 | 4 | Redistribution and use of this software in source and binary forms, with or without modification, 5 | are permitted provided that the following conditions are met: 6 | * Redistributions of source code must retain the above copyright notice, this list of conditions 7 | and the following disclaimer. 8 | * Redistributions in binary form must reproduce the above copyright notice, this list of 9 | conditions and the following disclaimer in the documentation and/or other materials provided 10 | with the distribution. 11 | * Neither the name of salesforce.com, inc. nor the names of its contributors may be used to 12 | endorse or promote products derived from this software without specific prior written 13 | permission of salesforce.com, inc. 14 | 15 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR 16 | IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 17 | FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 18 | CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 21 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY 22 | WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 | */ 24 | 25 | #import 26 | 27 | #import "AppDelegate.h" 28 | 29 | int main(int argc, char * argv[]) 30 | { 31 | @autoreleasepool { 32 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /libs/SalesforceSDKCommon/SalesforceSDKCommon/Classes/Util/SFSwiftDetectUtil.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2012-present, salesforce.com, inc. All rights reserved. 3 | 4 | Redistribution and use of this software in source and binary forms, with or without modification, 5 | are permitted provided that the following conditions are met: 6 | * Redistributions of source code must retain the above copyright notice, this list of conditions 7 | and the following disclaimer. 8 | * Redistributions in binary form must reproduce the above copyright notice, this list of 9 | conditions and the following disclaimer in the documentation and/or other materials provided 10 | with the distribution. 11 | * Neither the name of salesforce.com, inc. nor the names of its contributors may be used to 12 | endorse or promote products derived from this software without specific prior written 13 | permission of salesforce.com, inc. 14 | 15 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR 16 | IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 17 | FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 18 | CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 21 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY 22 | WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 | */ 24 | 25 | #import 26 | 27 | NS_ASSUME_NONNULL_BEGIN 28 | 29 | @interface SFSwiftDetectUtil : NSObject 30 | +(BOOL)isSwiftApp; 31 | @end 32 | 33 | NS_ASSUME_NONNULL_END 34 | -------------------------------------------------------------------------------- /libs/SalesforceSDKCommon/SalesforceSDKCommon/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | $(DEVELOPMENT_LANGUAGE) 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | $(MARKETING_VERSION) 19 | CFBundleVersion 20 | $(CURRENT_PROJECT_VERSION) 21 | 22 | 23 | -------------------------------------------------------------------------------- /libs/SalesforceSDKCommon/SalesforceSDKCommon/PrivacyInfo.xcprivacy: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NSPrivacyAccessedAPITypes 6 | 7 | 8 | NSPrivacyAccessedAPIType 9 | NSPrivacyAccessedAPICategoryUserDefaults 10 | NSPrivacyAccessedAPITypeReasons 11 | 12 | CA92.1 13 | 14 | 15 | 16 | NSPrivacyTracking 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /libs/SalesforceSDKCommon/SalesforceSDKCommonTestApp/Assets.xcassets/AccentColor.colorset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "colors" : [ 3 | { 4 | "idiom" : "universal" 5 | } 6 | ], 7 | "info" : { 8 | "author" : "xcode", 9 | "version" : 1 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /libs/SalesforceSDKCommon/SalesforceSDKCommonTestApp/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "author" : "xcode", 4 | "version" : 1 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /libs/SalesforceSDKCommon/SalesforceSDKCommonTestApp/Preview Content/Preview Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "author" : "xcode", 4 | "version" : 1 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /libs/SalesforceSDKCommon/SalesforceSDKCommonTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | $(DEVELOPMENT_LANGUAGE) 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleVersion 20 | 1 21 | 22 | 23 | -------------------------------------------------------------------------------- /libs/SalesforceSDKCore/Configuration/SalesforceSDKCore-Common-Dynamic.xcconfig: -------------------------------------------------------------------------------- 1 | // 2 | // SalesforceSDKCore-Common-Dynamic.xcconfig 3 | // SalesforceSDKCore 4 | // 5 | // Created by Bharath Hariharan on 12/11/15. 6 | // Copyright © 2015 salesforce.com. All rights reserved. 7 | // 8 | 9 | #include "SalesforceSDKCore-Common.xcconfig" 10 | 11 | INSTALL_PATH = / 12 | SKIP_INSTALL = YES 13 | -------------------------------------------------------------------------------- /libs/SalesforceSDKCore/Configuration/SalesforceSDKCore-Common.xcconfig: -------------------------------------------------------------------------------- 1 | // 2 | // Common.xcconfig 3 | // SalesforceSDKCore 4 | // 5 | // Created by Michael Nachbaur on 2/25/15. 6 | // Copyright (c) 2015-present, salesforce.com. All rights reserved. 7 | // 8 | 9 | #include "../../../configuration/Version.xcconfig" 10 | 11 | GCC_PRECOMPILE_PREFIX_HEADER = YES 12 | GCC_PREFIX_HEADER = $(PROJECT_NAME)/$(PROJECT_NAME)-Prefix.pch 13 | 14 | PRODUCT_NAME = SalesforceSDKCore 15 | 16 | LIBRARY_SEARCH_PATHS = $(inherited) 17 | 18 | // Make sure to use only API that are safe for application extensions 19 | APPLICATION_EXTENSION_API_ONLY = YES 20 | -------------------------------------------------------------------------------- /libs/SalesforceSDKCore/Configuration/SalesforceSDKCore-Dynamic-iOS-Debug.xcconfig: -------------------------------------------------------------------------------- 1 | // 2 | // SalesforceSDKCore-Dynamic-iOS-Debug.xcconfig 3 | // SalesforceSDKCore 4 | // 5 | // Created by Bharath Hariharan on 12/11/15. 6 | // Copyright © 2015 salesforce.com. All rights reserved. 7 | // 8 | 9 | #include "../../../configuration/Common-iOS.xcconfig" 10 | #include "../../../configuration/Packaging-Dynamic.xcconfig" 11 | #include "../../../configuration/Configuration-Debug.xcconfig" 12 | #include "SalesforceSDKCore-Common-Dynamic.xcconfig" 13 | -------------------------------------------------------------------------------- /libs/SalesforceSDKCore/Configuration/SalesforceSDKCore-Dynamic-iOS-Release.xcconfig: -------------------------------------------------------------------------------- 1 | // 2 | // SalesforceSDKCore-Dynamic-iOS-Release.xcconfig 3 | // SalesforceSDKCore 4 | // 5 | // Created by Bharath Hariharan on 12/11/15. 6 | // Copyright © 2015 salesforce.com. All rights reserved. 7 | // 8 | 9 | #include "../../../configuration/Common-iOS.xcconfig" 10 | #include "../../../configuration/Packaging-Dynamic.xcconfig" 11 | #include "../../../configuration/Configuration-Release.xcconfig" 12 | #include "SalesforceSDKCore-Common-Dynamic.xcconfig" 13 | -------------------------------------------------------------------------------- /libs/SalesforceSDKCore/Configuration/SalesforceSDKCore-Test.xcconfig: -------------------------------------------------------------------------------- 1 | // 2 | // SalesforceSDKCore-Test.xcconfig 3 | // SalesforceSDKCore 4 | // 5 | // Created by Michael Nachbaur on 2/25/15. 6 | // Copyright (c) 2015-present, salesforce.com. All rights reserved. 7 | // 8 | 9 | #include "SalesforceSDKCore-Dynamic-iOS-Debug.xcconfig" 10 | -------------------------------------------------------------------------------- /libs/SalesforceSDKCore/SalesforceSDKCore/Classes/Analytics/SFSDKAILTNPublisher.h: -------------------------------------------------------------------------------- 1 | /* 2 | AILTNPublisher.h 3 | SalesforceSDKCore 4 | 5 | Created by Bharath Hariharan on 6/19/16. 6 | 7 | Copyright (c) 2016-present, salesforce.com, inc. All rights reserved. 8 | 9 | Redistribution and use of this software in source and binary forms, with or without modification, 10 | are permitted provided that the following conditions are met: 11 | * Redistributions of source code must retain the above copyright notice, this list of conditions 12 | and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright notice, this list of 14 | conditions and the following disclaimer in the documentation and/or other materials provided 15 | with the distribution. 16 | * Neither the name of salesforce.com, inc. nor the names of its contributors may be used to 17 | endorse or promote products derived from this software without specific prior written 18 | permission of salesforce.com, inc. 19 | 20 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR 21 | IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 22 | FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 23 | CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 24 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 25 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 26 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY 27 | WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | */ 29 | 30 | #import 31 | 32 | @interface SFSDKAILTNPublisher : NSObject 33 | 34 | @end 35 | -------------------------------------------------------------------------------- /libs/SalesforceSDKCore/SalesforceSDKCore/Classes/Common/SalesforceSDKManager+Internal.h: -------------------------------------------------------------------------------- 1 | #import 2 | #import "SalesforceSDKManager.h" 3 | #import "SFUserAccountManager.h" 4 | #import "SFUserAccount.h" 5 | #import "SFSDKAppConfig.h" 6 | 7 | static NSString * _Nonnull const kSFDefaultNativeLoginViewControllerKey = @"defaultKey"; 8 | 9 | @protocol SalesforceSDKManagerFlow 10 | 11 | - (void)handleAppForeground:(nonnull NSNotification *)notification; 12 | - (void)handleAppBackground:(nonnull NSNotification *)notification; 13 | - (void)handleAppTerminate:(nonnull NSNotification *)notification; 14 | - (void)handlePostLogout; 15 | - (void)handleAuthCompleted:(nonnull NSNotification *)notification; 16 | - (void)handleIDPInitiatedAuthCompleted:(nonnull NSNotification *)notification; 17 | - (void)handleUserDidLogout:(nonnull NSNotification *)notification; 18 | 19 | @end 20 | 21 | API_UNAVAILABLE(visionos) 22 | @interface SnapshotViewController : UIViewController 23 | 24 | @end 25 | 26 | @interface SalesforceSDKManager () 27 | 28 | @property (nonatomic, assign) SFAppType appType; 29 | @property (nonatomic, weak, nullable) id sdkManagerFlow; 30 | @property (nonatomic, strong, nonnull) SFSDKSafeMutableDictionary *snapshotViewControllers; 31 | @property (nonatomic, strong, nullable) SFSDKSafeMutableDictionary *nativeLoginViewControllers; 32 | 33 | - (void)presentSnapshot:(nonnull UIScene *)scene API_UNAVAILABLE(visionos); 34 | - (BOOL)isSnapshotPresented:(nonnull UIScene *)scene API_UNAVAILABLE(visionos); 35 | - (void)dismissSnapshot:(nonnull UIScene *)scene completion:(void (^ __nullable)(void))completion API_UNAVAILABLE(visionos); 36 | 37 | @end 38 | -------------------------------------------------------------------------------- /libs/SalesforceSDKCore/SalesforceSDKCore/Classes/IDP/UIFont+SFSDKIDP.h: -------------------------------------------------------------------------------- 1 | /* 2 | SalesforceSDKCore 3 | 4 | Created by Raj Rao on 6/05/18. 5 | 6 | Copyright (c) 2018-present, salesforce.com, inc. All rights reserved. 7 | 8 | Redistribution and use of this software in source and binary forms, with or without modification, 9 | are permitted provided that the following conditions are met: 10 | * Redistributions of source code must retain the above copyright notice, this list of conditions 11 | and the following disclaimer. 12 | * Redistributions in binary form must reproduce the above copyright notice, this list of 13 | conditions and the following disclaimer in the documentation and/or other materials provided 14 | with the distribution. 15 | * Neither the name of salesforce.com, inc. nor the names of its contributors may be used to 16 | endorse or promote products derived from this software without specific prior written 17 | permission of salesforce.com, inc. 18 | 19 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR 20 | IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 21 | FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 22 | CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 23 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 25 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY 26 | WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | */ 28 | 29 | #import 30 | 31 | @interface UIFont (SFSDKIDP) 32 | +(UIFont *)sfsdk_textRegular:(CGFloat)size; 33 | +(UIFont *)sfsdk_textBold:(CGFloat)size; 34 | @end 35 | -------------------------------------------------------------------------------- /libs/SalesforceSDKCore/SalesforceSDKCore/Classes/Instrumentation/SFUserAccountManager+Instrumentation.h: -------------------------------------------------------------------------------- 1 | /* 2 | SFUserAccountManager+Instrumentation.h 3 | SalesforceSDKCore 4 | Created by Raj Rao on 3/7/19. 5 | 6 | Copyright (c) 2019-present, salesforce.com, inc. All rights reserved. 7 | 8 | Redistribution and use of this software in source and binary forms, with or without modification, 9 | are permitted provided that the following conditions are met: 10 | * Redistributions of source code must retain the above copyright notice, this list of conditions 11 | and the following disclaimer. 12 | * Redistributions in binary form must reproduce the above copyright notice, this list of 13 | conditions and the following disclaimer in the documentation and/or other materials provided 14 | with the distribution. 15 | * Neither the name of salesforce.com, inc. nor the names of its contributors may be used to 16 | endorse or promote products derived from this software without specific prior written 17 | permission of salesforce.com, inc. 18 | 19 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR 20 | IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 21 | FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 22 | CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 23 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 25 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY 26 | WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | */ 28 | 29 | #import 30 | 31 | @interface SFUserAccountManager (Instrumentation) 32 | 33 | @end 34 | -------------------------------------------------------------------------------- /libs/SalesforceSDKCore/SalesforceSDKCore/Classes/OAuth/SFOAuthKeychainCredentials.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2015-present, salesforce.com, inc. All rights reserved. 3 | 4 | Redistribution and use of this software in source and binary forms, with or without modification, 5 | are permitted provided that the following conditions are met: 6 | * Redistributions of source code must retain the above copyright notice, this list of conditions 7 | and the following disclaimer. 8 | * Redistributions in binary form must reproduce the above copyright notice, this list of 9 | conditions and the following disclaimer in the documentation and/or other materials provided 10 | with the distribution. 11 | * Neither the name of salesforce.com, inc. nor the names of its contributors may be used to 12 | endorse or promote products derived from this software without specific prior written 13 | permission of salesforce.com, inc. 14 | 15 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR 16 | IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 17 | FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 18 | CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 21 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY 22 | WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 | */ 24 | 25 | #import 26 | 27 | NS_ASSUME_NONNULL_BEGIN 28 | 29 | @class SFEncryptionKey; 30 | 31 | @interface SFOAuthKeychainCredentials : SFOAuthCredentials 32 | 33 | 34 | @end 35 | 36 | NS_ASSUME_NONNULL_END 37 | -------------------------------------------------------------------------------- /libs/SalesforceSDKCore/SalesforceSDKCore/Classes/OAuth/SFSDKAuthRequest.m: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2019-present, salesforce.com, inc. All rights reserved. 3 | 4 | Redistribution and use of this software in source and binary forms, with or without modification, 5 | are permitted provided that the following conditions are met: 6 | * Redistributions of source code must retain the above copyright notice, this list of conditions 7 | and the following disclaimer. 8 | * Redistributions in binary form must reproduce the above copyright notice, this list of 9 | conditions and the following disclaimer in the documentation and/or other materials provided 10 | with the distribution. 11 | * Neither the name of salesforce.com, inc. nor the names of its contributors may be used to 12 | endorse or promote products derived from this software without specific prior written 13 | permission of salesforce.com, inc. 14 | 15 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR 16 | IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 17 | FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 18 | CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 21 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY 22 | WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 | */ 24 | #import "SFSDKAuthRequest.h" 25 | #import "SFSDKLoginViewControllerConfig.h" 26 | #import "SFSDKLoginFlowSelectionView.h" 27 | 28 | 29 | @implementation SFSDKAuthRequest 30 | 31 | - (BOOL)idpEnabled { 32 | return self.idpAppURIScheme && self.idpAppURIScheme.length > 0; 33 | } 34 | @end 35 | -------------------------------------------------------------------------------- /libs/SalesforceSDKCore/SalesforceSDKCore/Classes/PushNotification/NotificationCategoryFactory.swift: -------------------------------------------------------------------------------- 1 | import Foundation 2 | 3 | @objc(SFSDKNotificationCategoryFactory) 4 | @objcMembers 5 | public class NotificationCategoryFactory: NSObject { 6 | 7 | public static let shared = NotificationCategoryFactory() 8 | 9 | private override init() { 10 | super.init() 11 | } 12 | 13 | public func createCategories(from types: [NotificationType]) -> Set { 14 | let categories = types.flatMap { createNotificationCategory(from: $0) } 15 | return Set(categories) 16 | } 17 | 18 | private func createNotificationCategory(from type: NotificationType) -> [UNNotificationCategory] { 19 | guard let actionGroups = type.actionGroups else { return [] } 20 | 21 | return actionGroups.map { group in 22 | let actions = createActions(from: group) 23 | return UNNotificationCategory( 24 | identifier: group.name, 25 | actions: actions, 26 | intentIdentifiers: [] 27 | ) 28 | } 29 | } 30 | 31 | private func createActions(from actionGroup: ActionGroup?) -> [UNNotificationAction] { 32 | guard let actionGroup = actionGroup else { 33 | return [] 34 | } 35 | 36 | return actionGroup.actions.compactMap { action in 37 | let options: UNNotificationActionOptions = action.type == .notificationApiAction ? [.authenticationRequired] : [.foreground] 38 | return UNNotificationAction( 39 | identifier: action.identifier, 40 | title: action.label, 41 | options: options 42 | ) 43 | } 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /libs/SalesforceSDKCore/SalesforceSDKCore/Classes/PushNotification/SFSDKPushNotificationError.m: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2019-present, salesforce.com, inc. All rights reserved. 3 | 4 | Redistribution and use of this software in source and binary forms, with or without modification, 5 | are permitted provided that the following conditions are met: 6 | * Redistributions of source code must retain the above copyright notice, this list of conditions 7 | and the following disclaimer. 8 | * Redistributions in binary form must reproduce the above copyright notice, this list of 9 | conditions and the following disclaimer in the documentation and/or other materials provided 10 | with the distribution. 11 | * Neither the name of salesforce.com, inc. nor the names of its contributors may be used to 12 | endorse or promote products derived from this software without specific prior written 13 | permission of salesforce.com, inc. 14 | 15 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR 16 | IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 17 | FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 18 | CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 21 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY 22 | WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 | */ 24 | 25 | #import "SFSDKPushNotificationError.h" 26 | 27 | NSErrorDomain const SFSDKPushNotificationErrorDomain = @"com.salesforce.mobilesdk.push.error"; 28 | -------------------------------------------------------------------------------- /libs/SalesforceSDKCore/SalesforceSDKCore/Classes/RestAPI/SFSDKCompositeRequest+Internal.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2019-present, salesforce.com, inc. All rights reserved. 3 | 4 | Redistribution and use of this software in source and binary forms, with or without modification, 5 | are permitted provided that the following conditions are met: 6 | * Redistributions of source code must retain the above copyright notice, this list of conditions 7 | and the following disclaimer. 8 | * Redistributions in binary form must reproduce the above copyright notice, this list of 9 | conditions and the following disclaimer in the documentation and/or other materials provided 10 | with the distribution. 11 | * Neither the name of salesforce.com, inc. nor the names of its contributors may be used to 12 | endorse or promote products derived from this software without specific prior written 13 | permission of salesforce.com, inc. 14 | 15 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR 16 | IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 17 | FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 18 | CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 21 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY 22 | WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 | */ 24 | 25 | #include "SFSDKCompositeRequest.h" 26 | NS_ASSUME_NONNULL_BEGIN 27 | 28 | @interface SFSDKCompositeRequest (Internal) 29 | -(void)addRequest:(SFRestRequest *)request referenceId:(NSString *)identifier; 30 | @end 31 | 32 | NS_ASSUME_NONNULL_END 33 | -------------------------------------------------------------------------------- /libs/SalesforceSDKCore/SalesforceSDKCore/Classes/RestAPI/SFSDKCompositeResponse+Internal.h: -------------------------------------------------------------------------------- 1 | // 2 | // SFSDKCompositeResponse+Internal.h 3 | // SalesforceSDKCore 4 | // 5 | // Created by Raj Rao on 10/3/19. 6 | // Copyright © 2019 salesforce.com. All rights reserved. 7 | // 8 | #import "SFSDKCompositeResponse.h" 9 | 10 | NS_ASSUME_NONNULL_BEGIN 11 | 12 | @interface SFSDKCompositeSubResponse() 13 | -(instancetype)initWith:(NSDictionary *)dict; 14 | @end 15 | 16 | NS_ASSUME_NONNULL_END 17 | -------------------------------------------------------------------------------- /libs/SalesforceSDKCore/SalesforceSDKCore/Classes/RestAPI/SFSDKEncryptedURLCache.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2019-present, salesforce.com, inc. All rights reserved. 3 | 4 | Redistribution and use of this software in source and binary forms, with or without modification, 5 | are permitted provided that the following conditions are met: 6 | * Redistributions of source code must retain the above copyright notice, this list of conditions 7 | and the following disclaimer. 8 | * Redistributions in binary form must reproduce the above copyright notice, this list of 9 | conditions and the following disclaimer in the documentation and/or other materials provided 10 | with the distribution. 11 | * Neither the name of salesforce.com, inc. nor the names of its contributors may be used to 12 | endorse or promote products derived from this software without specific prior written 13 | permission of salesforce.com, inc. 14 | 15 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR 16 | IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 17 | FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 18 | CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 21 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY 22 | WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 | */ 24 | 25 | #import 26 | 27 | NS_ASSUME_NONNULL_BEGIN 28 | 29 | @interface SFSDKEncryptedURLCache : NSURLCache 30 | 31 | @end 32 | 33 | NS_ASSUME_NONNULL_END 34 | -------------------------------------------------------------------------------- /libs/SalesforceSDKCore/SalesforceSDKCore/Classes/RestAPI/SFSDKNullURLCache.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2020-present, salesforce.com, inc. All rights reserved. 3 | 4 | Redistribution and use of this software in source and binary forms, with or without modification, 5 | are permitted provided that the following conditions are met: 6 | * Redistributions of source code must retain the above copyright notice, this list of conditions 7 | and the following disclaimer. 8 | * Redistributions in binary form must reproduce the above copyright notice, this list of 9 | conditions and the following disclaimer in the documentation and/or other materials provided 10 | with the distribution. 11 | * Neither the name of salesforce.com, inc. nor the names of its contributors may be used to 12 | endorse or promote products derived from this software without specific prior written 13 | permission of salesforce.com, inc. 14 | 15 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR 16 | IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 17 | FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 18 | CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 21 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY 22 | WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 | */ 24 | 25 | #import 26 | 27 | @interface SFSDKNullURLCache : NSURLCache 28 | 29 | @end 30 | -------------------------------------------------------------------------------- /libs/SalesforceSDKCore/SalesforceSDKCore/Classes/RestAPI/SFSDKNullURLCache.m: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2020-present, salesforce.com, inc. All rights reserved. 3 | 4 | Redistribution and use of this software in source and binary forms, with or without modification, 5 | are permitted provided that the following conditions are met: 6 | * Redistributions of source code must retain the above copyright notice, this list of conditions 7 | and the following disclaimer. 8 | * Redistributions in binary form must reproduce the above copyright notice, this list of 9 | conditions and the following disclaimer in the documentation and/or other materials provided 10 | with the distribution. 11 | * Neither the name of salesforce.com, inc. nor the names of its contributors may be used to 12 | endorse or promote products derived from this software without specific prior written 13 | permission of salesforce.com, inc. 14 | 15 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR 16 | IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 17 | FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 18 | CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 21 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY 22 | WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 | */ 24 | 25 | #import "SFSDKNullURLCache.h" 26 | 27 | @implementation SFSDKNullURLCache 28 | 29 | 30 | - (void)storeCachedResponse:(NSCachedURLResponse *)cachedResponse 31 | forRequest:(NSURLRequest *)request { 32 | return; 33 | } 34 | 35 | @end 36 | -------------------------------------------------------------------------------- /libs/SalesforceSDKCore/SalesforceSDKCore/Classes/URLHandlers/SFSDKIDPErrorHandler.h: -------------------------------------------------------------------------------- 1 | /* 2 | SFSDKIDPErrorHandler.h 3 | SalesforceSDKCore 4 | 5 | Created by Raj Rao on 8/28/17. 6 | 7 | Copyright (c) 2017-present, salesforce.com, inc. All rights reserved. 8 | 9 | Redistribution and use of this software in source and binary forms, with or without modification, 10 | are permitted provided that the following conditions are met: 11 | * Redistributions of source code must retain the above copyright notice, this list of conditions 12 | and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright notice, this list of 14 | conditions and the following disclaimer in the documentation and/or other materials provided 15 | with the distribution. 16 | * Neither the name of salesforce.com, inc. nor the names of its contributors may be used to 17 | endorse or promote products derived from this software without specific prior written 18 | permission of salesforce.com, inc. 19 | 20 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR 21 | IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 22 | FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 23 | CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 24 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 25 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 26 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY 27 | WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | */ 29 | #import 30 | 31 | #import "SFSDKURLHandler.h" 32 | 33 | @interface SFSDKIDPErrorHandler : NSObject 34 | 35 | 36 | @end 37 | -------------------------------------------------------------------------------- /libs/SalesforceSDKCore/SalesforceSDKCore/Classes/URLHandlers/SFSDKIDPRequestHandler.h: -------------------------------------------------------------------------------- 1 | /* 2 | SFSDKIDPRequestHandler.h 3 | SalesforceSDKCore 4 | 5 | Created by Raj Rao on 8/28/17. 6 | 7 | Copyright (c) 2017-present, salesforce.com, inc. All rights reserved. 8 | 9 | Redistribution and use of this software in source and binary forms, with or without modification, 10 | are permitted provided that the following conditions are met: 11 | * Redistributions of source code must retain the above copyright notice, this list of conditions 12 | and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright notice, this list of 14 | conditions and the following disclaimer in the documentation and/or other materials provided 15 | with the distribution. 16 | * Neither the name of salesforce.com, inc. nor the names of its contributors may be used to 17 | endorse or promote products derived from this software without specific prior written 18 | permission of salesforce.com, inc. 19 | 20 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR 21 | IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 22 | FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 23 | CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 24 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 25 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 26 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY 27 | WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | */ 29 | 30 | 31 | #import 32 | #import "SFSDKURLHandler.h" 33 | 34 | @interface SFSDKIDPRequestHandler : NSObject 35 | 36 | @end 37 | -------------------------------------------------------------------------------- /libs/SalesforceSDKCore/SalesforceSDKCore/Classes/URLHandlers/SFSDKSPLoginResponseHandler.h: -------------------------------------------------------------------------------- 1 | /* 2 | SFSDKIDPResponseHandler.h 3 | SalesforceSDKCore 4 | 5 | Created by Raj Rao on 8/28/17. 6 | 7 | Copyright (c) 2017-present, salesforce.com, inc. All rights reserved. 8 | 9 | Redistribution and use of this software in source and binary forms, with or without modification, 10 | are permitted provided that the following conditions are met: 11 | * Redistributions of source code must retain the above copyright notice, this list of conditions 12 | and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright notice, this list of 14 | conditions and the following disclaimer in the documentation and/or other materials provided 15 | with the distribution. 16 | * Neither the name of salesforce.com, inc. nor the names of its contributors may be used to 17 | endorse or promote products derived from this software without specific prior written 18 | permission of salesforce.com, inc. 19 | 20 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR 21 | IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 22 | FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 23 | CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 24 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 25 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 26 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY 27 | WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | */ 29 | 30 | #import 31 | #import "SFSDKURLHandler.h" 32 | 33 | @interface SFSDKSPLoginResponseHandler : NSObject 34 | 35 | @end 36 | -------------------------------------------------------------------------------- /libs/SalesforceSDKCore/SalesforceSDKCore/Classes/URLHandlers/SFSDKStartURLHandler.h: -------------------------------------------------------------------------------- 1 | /* 2 | SFSDKStartURLHandler.h 3 | SalesforceSDKCore 4 | 5 | Created by Raj Rao on 11/13/17. 6 | 7 | Copyright (c) 2017-present, salesforce.com, inc. All rights reserved. 8 | 9 | Redistribution and use of this software in source and binary forms, with or without modification, 10 | are permitted provided that the following conditions are met: 11 | * Redistributions of source code must retain the above copyright notice, this list of conditions 12 | and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright notice, this list of 14 | conditions and the following disclaimer in the documentation and/or other materials provided 15 | with the distribution. 16 | * Neither the name of salesforce.com, inc. nor the names of its contributors may be used to 17 | endorse or promote products derived from this software without specific prior written 18 | permission of salesforce.com, inc. 19 | 20 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR 21 | IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 22 | FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 23 | CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 24 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 25 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 26 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY 27 | WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | */ 29 | #import 30 | #import "SFSDKURLHandler.h" 31 | @interface SFSDKStartURLHandler : NSObject 32 | 33 | @end 34 | -------------------------------------------------------------------------------- /libs/SalesforceSDKCore/SalesforceSDKCore/Classes/Util/SFSDKViewControllerConfig.m: -------------------------------------------------------------------------------- 1 | /* 2 | SFSDKViewControllerConfig.m 3 | SalesforceSDKCore 4 | 5 | Created by Brianna Birman on 10/18/19. 6 | 7 | Copyright (c) 2019-present, salesforce.com, inc. All rights reserved. 8 | 9 | Redistribution and use of this software in source and binary forms, with or without modification, 10 | are permitted provided that the following conditions are met: 11 | * Redistributions of source code must retain the above copyright notice, this list of conditions 12 | and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright notice, this list of 14 | conditions and the following disclaimer in the documentation and/or other materials provided 15 | with the distribution. 16 | * Neither the name of salesforce.com, inc. nor the names of its contributors may be used to 17 | endorse or promote products derived from this software without specific prior written 18 | permission of salesforce.com, inc. 19 | 20 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR 21 | IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 22 | FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 23 | CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 24 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 25 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 26 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY 27 | WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | */ 29 | 30 | #import "SFSDKViewControllerConfig.h" 31 | 32 | @implementation SFSDKViewControllerConfig 33 | 34 | @end 35 | -------------------------------------------------------------------------------- /libs/SalesforceSDKCore/SalesforceSDKCore/Classes/Util/SalesforceSDKCoreDefines.m: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2016-present, salesforce.com, inc. All rights reserved. 3 | 4 | Redistribution and use of this software in source and binary forms, with or without modification, 5 | are permitted provided that the following conditions are met: 6 | * Redistributions of source code must retain the above copyright notice, this list of conditions 7 | and the following disclaimer. 8 | * Redistributions in binary form must reproduce the above copyright notice, this list of 9 | conditions and the following disclaimer in the documentation and/or other materials provided 10 | with the distribution. 11 | * Neither the name of salesforce.com, inc. nor the names of its contributors may be used to 12 | endorse or promote products derived from this software without specific prior written 13 | permission of salesforce.com, inc. 14 | 15 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR 16 | IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 17 | FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 18 | CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 21 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY 22 | WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 | */ 24 | 25 | #import "SalesforceSDKCoreDefines.h" 26 | -------------------------------------------------------------------------------- /libs/SalesforceSDKCore/SalesforceSDKCore/Classes/Views/SFSDKDevInfoViewController.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2017-present, salesforce.com, inc. All rights reserved. 3 | 4 | Redistribution and use of this software in source and binary forms, with or without modification, 5 | are permitted provided that the following conditions are met: 6 | * Redistributions of source code must retain the above copyright notice, this list of conditions 7 | and the following disclaimer. 8 | * Redistributions in binary form must reproduce the above copyright notice, this list of 9 | conditions and the following disclaimer in the documentation and/or other materials provided 10 | with the distribution. 11 | * Neither the name of salesforce.com, inc. nor the names of its contributors may be used to 12 | endorse or promote products derived from this software without specific prior written 13 | permission of salesforce.com, inc. 14 | 15 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR 16 | IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 17 | FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 18 | CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 21 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY 22 | WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 | */ 24 | 25 | 26 | #import 27 | NS_ASSUME_NONNULL_BEGIN 28 | @interface SFSDKDevInfoViewController : UIViewController 29 | 30 | @end 31 | NS_ASSUME_NONNULL_END 32 | -------------------------------------------------------------------------------- /libs/SalesforceSDKCore/SalesforceSDKCore/Classes/Views/SFSDKNavigationController.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2018-present, salesforce.com, inc. All rights reserved. 3 | 4 | Redistribution and use of this software in source and binary forms, with or without modification, 5 | are permitted provided that the following conditions are met: 6 | * Redistributions of source code must retain the above copyright notice, this list of conditions 7 | and the following disclaimer. 8 | * Redistributions in binary form must reproduce the above copyright notice, this list of 9 | conditions and the following disclaimer in the documentation and/or other materials provided 10 | with the distribution. 11 | * Neither the name of salesforce.com, inc. nor the names of its contributors may be used to 12 | endorse or promote products derived from this software without specific prior written 13 | permission of salesforce.com, inc. 14 | 15 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR 16 | IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 17 | FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 18 | CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 21 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY 22 | WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 | */ 24 | #import 25 | 26 | @interface SFSDKNavigationController : UINavigationController 27 | 28 | @end 29 | -------------------------------------------------------------------------------- /libs/SalesforceSDKCore/SalesforceSDKCore/Classes/Views/SFSDKRootController.h: -------------------------------------------------------------------------------- 1 | /* 2 | SFSDKRootController.h 3 | SalesforceSDKCore 4 | 5 | Created by Raj Rao on 7/24/17. 6 | 7 | Copyright (c) 2017-present, salesforce.com, inc. All rights reserved. 8 | 9 | Redistribution and use of this software in source and binary forms, with or without modification, 10 | are permitted provided that the following conditions are met: 11 | * Redistributions of source code must retain the above copyright notice, this list of conditions 12 | and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright notice, this list of 14 | conditions and the following disclaimer in the documentation and/or other materials provided 15 | with the distribution. 16 | * Neither the name of salesforce.com, inc. nor the names of its contributors may be used to 17 | endorse or promote products derived from this software without specific prior written 18 | permission of salesforce.com, inc. 19 | 20 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR 21 | IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 22 | FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 23 | CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 24 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 25 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 26 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY 27 | WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | */ 29 | #import 30 | 31 | @interface SFSDKRootController : UIViewController 32 | 33 | @end 34 | -------------------------------------------------------------------------------- /libs/SalesforceSDKCore/SalesforceSDKCore/Classes/Views/SFSDKViewController.h: -------------------------------------------------------------------------------- 1 | /* 2 | SFSDKViewController.h 3 | SalesforceSDKCore 4 | 5 | Created by Raj Rao on 06/01/18. 6 | 7 | Copyright (c) 2018-present, salesforce.com, inc. All rights reserved. 8 | 9 | Redistribution and use of this software in source and binary forms, with or without modification, 10 | are permitted provided that the following conditions are met: 11 | * Redistributions of source code must retain the above copyright notice, this list of conditions 12 | and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright notice, this list of 14 | conditions and the following disclaimer in the documentation and/or other materials provided 15 | with the distribution. 16 | * Neither the name of salesforce.com, inc. nor the names of its contributors may be used to 17 | endorse or promote products derived from this software without specific prior written 18 | permission of salesforce.com, inc. 19 | 20 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR 21 | IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 22 | FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 23 | CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 24 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 25 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 26 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY 27 | WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | */ 29 | #import 30 | NS_SWIFT_NAME(SDKViewController) 31 | @interface SFSDKViewController : UIViewController 32 | + (void)refreshAllViews:(UIView *)currentView; 33 | @end 34 | -------------------------------------------------------------------------------- /libs/SalesforceSDKCore/SalesforceSDKCore/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | $(CURRENT_PROJECT_VERSION) 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | $(CURRENT_PROJECT_VERSION)$(BUILD_VERSION_SUFFIX) 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /libs/SalesforceSDKCore/SalesforceSDKCore/SalesforceSDKCore-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header for all source files of the 'SalesforceSDKCore' target in the 'SalesforceSDKCore' project 3 | // 4 | 5 | #ifdef __OBJC__ 6 | #import 7 | #import 8 | #import "SalesforceSDKConstants.h" 9 | #import "SFSDKCoreLogger.h" 10 | #endif 11 | -------------------------------------------------------------------------------- /libs/SalesforceSDKCore/SalesforceSDKCoreTestApp/AppDelegate.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2012-present, salesforce.com, inc. All rights reserved. 3 | 4 | Redistribution and use of this software in source and binary forms, with or without modification, 5 | are permitted provided that the following conditions are met: 6 | * Redistributions of source code must retain the above copyright notice, this list of conditions 7 | and the following disclaimer. 8 | * Redistributions in binary form must reproduce the above copyright notice, this list of 9 | conditions and the following disclaimer in the documentation and/or other materials provided 10 | with the distribution. 11 | * Neither the name of salesforce.com, inc. nor the names of its contributors may be used to 12 | endorse or promote products derived from this software without specific prior written 13 | permission of salesforce.com, inc. 14 | 15 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR 16 | IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 17 | FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 18 | CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 21 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY 22 | WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 | */ 24 | 25 | #import 26 | 27 | @interface AppDelegate : UIResponder 28 | 29 | @property (strong, nonatomic) UIWindow *window; 30 | 31 | @end 32 | -------------------------------------------------------------------------------- /libs/SalesforceSDKCore/SalesforceSDKCoreTestApp/Base.lproj/Main_iPad.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /libs/SalesforceSDKCore/SalesforceSDKCoreTestApp/Base.lproj/Main_iPhone.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /libs/SalesforceSDKCore/SalesforceSDKCoreTestApp/Images.xcassets/LaunchImage.launchimage/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "orientation" : "portrait", 5 | "idiom" : "iphone", 6 | "extent" : "full-screen", 7 | "minimum-system-version" : "10.0", 8 | "scale" : "2x" 9 | }, 10 | { 11 | "orientation" : "portrait", 12 | "idiom" : "iphone", 13 | "subtype" : "retina4", 14 | "extent" : "full-screen", 15 | "minimum-system-version" : "10.0", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "orientation" : "portrait", 20 | "idiom" : "ipad", 21 | "extent" : "full-screen", 22 | "minimum-system-version" : "10.0", 23 | "scale" : "1x" 24 | }, 25 | { 26 | "orientation" : "landscape", 27 | "idiom" : "ipad", 28 | "extent" : "full-screen", 29 | "minimum-system-version" : "10.0", 30 | "scale" : "1x" 31 | }, 32 | { 33 | "orientation" : "portrait", 34 | "idiom" : "ipad", 35 | "extent" : "full-screen", 36 | "minimum-system-version" : "10.0", 37 | "scale" : "2x" 38 | }, 39 | { 40 | "orientation" : "landscape", 41 | "idiom" : "ipad", 42 | "extent" : "full-screen", 43 | "minimum-system-version" : "10.0", 44 | "scale" : "2x" 45 | } 46 | ], 47 | "info" : { 48 | "version" : 1, 49 | "author" : "xcode" 50 | } 51 | } -------------------------------------------------------------------------------- /libs/SalesforceSDKCore/SalesforceSDKCoreTestApp/SalesforceSDKCoreTestApp-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NSFaceIDUsageDescription 6 | "Secure Unlock" 7 | CFBundleDevelopmentRegion 8 | en 9 | CFBundleDisplayName 10 | ${PRODUCT_NAME} 11 | CFBundleExecutable 12 | ${EXECUTABLE_NAME} 13 | CFBundleIdentifier 14 | $(PRODUCT_BUNDLE_IDENTIFIER) 15 | CFBundleInfoDictionaryVersion 16 | 6.0 17 | CFBundleName 18 | ${PRODUCT_NAME} 19 | CFBundlePackageType 20 | APPL 21 | CFBundleShortVersionString 22 | 1.0 23 | CFBundleSignature 24 | ???? 25 | CFBundleVersion 26 | 1.0 27 | LSRequiresIPhoneOS 28 | 29 | UIMainStoryboardFile 30 | Main_iPhone 31 | UIMainStoryboardFile~ipad 32 | Main_iPad 33 | UIRequiredDeviceCapabilities 34 | 35 | armv7 36 | 37 | UISupportedInterfaceOrientations 38 | 39 | UIInterfaceOrientationPortrait 40 | UIInterfaceOrientationLandscapeLeft 41 | UIInterfaceOrientationLandscapeRight 42 | 43 | UISupportedInterfaceOrientations~ipad 44 | 45 | UIInterfaceOrientationPortrait 46 | UIInterfaceOrientationPortraitUpsideDown 47 | UIInterfaceOrientationLandscapeLeft 48 | UIInterfaceOrientationLandscapeRight 49 | 50 | 51 | 52 | -------------------------------------------------------------------------------- /libs/SalesforceSDKCore/SalesforceSDKCoreTestApp/SalesforceSDKCoreTestApp-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header 3 | // 4 | // The contents of this file are implicitly included at the beginning of every source file. 5 | // 6 | 7 | #import 8 | 9 | #ifdef __OBJC__ 10 | #import 11 | #import 12 | #import 13 | #endif 14 | -------------------------------------------------------------------------------- /libs/SalesforceSDKCore/SalesforceSDKCoreTestApp/SalesforceSDKCoreTestApp.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | keychain-access-groups 6 | 7 | $(AppIdentifierPrefix)com.salesforce.mobilesdk.SalesforceSDKCoreTestApp 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /libs/SalesforceSDKCore/SalesforceSDKCoreTestApp/ViewController.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2012-present, salesforce.com, inc. All rights reserved. 3 | 4 | Redistribution and use of this software in source and binary forms, with or without modification, 5 | are permitted provided that the following conditions are met: 6 | * Redistributions of source code must retain the above copyright notice, this list of conditions 7 | and the following disclaimer. 8 | * Redistributions in binary form must reproduce the above copyright notice, this list of 9 | conditions and the following disclaimer in the documentation and/or other materials provided 10 | with the distribution. 11 | * Neither the name of salesforce.com, inc. nor the names of its contributors may be used to 12 | endorse or promote products derived from this software without specific prior written 13 | permission of salesforce.com, inc. 14 | 15 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR 16 | IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 17 | FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 18 | CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 21 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY 22 | WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 | */ 24 | 25 | #import 26 | 27 | @interface ViewController : UIViewController 28 | 29 | @end 30 | -------------------------------------------------------------------------------- /libs/SalesforceSDKCore/SalesforceSDKCoreTestApp/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /libs/SalesforceSDKCore/SalesforceSDKCoreTestApp/main.m: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2012-present, salesforce.com, inc. All rights reserved. 3 | 4 | Redistribution and use of this software in source and binary forms, with or without modification, 5 | are permitted provided that the following conditions are met: 6 | * Redistributions of source code must retain the above copyright notice, this list of conditions 7 | and the following disclaimer. 8 | * Redistributions in binary form must reproduce the above copyright notice, this list of 9 | conditions and the following disclaimer in the documentation and/or other materials provided 10 | with the distribution. 11 | * Neither the name of salesforce.com, inc. nor the names of its contributors may be used to 12 | endorse or promote products derived from this software without specific prior written 13 | permission of salesforce.com, inc. 14 | 15 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR 16 | IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 17 | FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 18 | CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 21 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY 22 | WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 | */ 24 | 25 | #import 26 | 27 | #import "AppDelegate.h" 28 | 29 | int main(int argc, char * argv[]) 30 | { 31 | @autoreleasepool { 32 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /libs/SalesforceSDKCore/SalesforceSDKCoreTests/Mocks/MockRestClient.swift: -------------------------------------------------------------------------------- 1 | @testable import SalesforceSDKCore 2 | 3 | class MockRestClient: RestClient { 4 | var mockError: Error? 5 | weak var testDelegate: RestRequestDelegate? 6 | var jsonResponse: Data = """ 7 | { 8 | "notificationTypes": [ 9 | { 10 | "type": "chatter_mention", 11 | "apiName": "chatter_mention", 12 | "label": "Chatter Mention", 13 | "actionGroups": [] 14 | } 15 | ] 16 | } 17 | """.data(using: .utf8)! // Default mock JSON response 18 | 19 | override func send(_ request: RestRequest, failureBlock: @escaping RestRequestFailBlock, successBlock: @escaping RestResponseBlock) { 20 | let mockURLResponse = HTTPURLResponse(url: URL(string: "https://example.com")!, 21 | mimeType: "application/json", 22 | expectedContentLength: 0, 23 | textEncodingName: "utf-8") 24 | if let error = mockError { 25 | failureBlock(jsonResponse, error, mockURLResponse) 26 | return 27 | } 28 | successBlock(jsonResponse, mockURLResponse) 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /libs/SalesforceSDKCore/SalesforceSDKCoreTests/NSURL+SFStringUtilsTests.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2012-present, salesforce.com, inc. All rights reserved. 3 | 4 | Redistribution and use of this software in source and binary forms, with or without modification, 5 | are permitted provided that the following conditions are met: 6 | * Redistributions of source code must retain the above copyright notice, this list of conditions 7 | and the following disclaimer. 8 | * Redistributions in binary form must reproduce the above copyright notice, this list of 9 | conditions and the following disclaimer in the documentation and/or other materials provided 10 | with the distribution. 11 | * Neither the name of salesforce.com, inc. nor the names of its contributors may be used to 12 | endorse or promote products derived from this software without specific prior written 13 | permission of salesforce.com, inc. 14 | 15 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR 16 | IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 17 | FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 18 | CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 21 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY 22 | WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 | */ 24 | 25 | #import 26 | 27 | @interface NSURL_SFStringUtilsTests : XCTestCase 28 | 29 | @end 30 | -------------------------------------------------------------------------------- /libs/SalesforceSDKCore/SalesforceSDKCoreTests/NewLoginHostTests.swift: -------------------------------------------------------------------------------- 1 | import XCTest 2 | @testable import SalesforceSDKCore 3 | 4 | final class NewLoginHostTests: XCTestCase { 5 | let expectedHost = "login.salesforce.com" 6 | let expectedLabel = "Test Label" 7 | var view: NewLoginHostView! 8 | var savedHost: String? 9 | var savedLabel: String? 10 | 11 | override func setUp() { 12 | super.setUp() 13 | savedHost = nil 14 | savedLabel = nil 15 | view = NewLoginHostView(viewControllerConfig: nil) { host, label in 16 | self.savedHost = host 17 | self.savedLabel = label 18 | } 19 | } 20 | 21 | override func tearDown() { 22 | view = nil 23 | savedHost = nil 24 | savedLabel = nil 25 | super.tearDown() 26 | } 27 | 28 | func testSave() { 29 | view.save(host: expectedHost, hostLabel: expectedLabel) 30 | 31 | XCTAssertEqual(savedHost, expectedHost) 32 | XCTAssertEqual(savedLabel, expectedLabel) 33 | } 34 | 35 | func testSaveWithWhitespace() { 36 | view.save(host: " login.salesforce.com ", hostLabel: " Test Label ") 37 | 38 | XCTAssertEqual(savedHost, expectedHost) 39 | XCTAssertEqual(savedLabel, expectedLabel) 40 | } 41 | 42 | func testSaveWithHttpHost() { 43 | view.save(host: "http://login.salesforce.com", hostLabel: expectedLabel) 44 | 45 | XCTAssertEqual(savedHost, expectedHost) 46 | XCTAssertEqual(savedLabel, expectedLabel) 47 | } 48 | 49 | func testSaveWithHttpsHost() { 50 | view.save(host: "https://login.salesforce.com", hostLabel: expectedLabel) 51 | 52 | XCTAssertEqual(savedHost, expectedHost) 53 | XCTAssertEqual(savedLabel, expectedLabel) 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /libs/SalesforceSDKCore/SalesforceSDKCoreTests/SFSDKLogoutBlocker.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2019-present, salesforce.com, inc. All rights reserved. 3 | 4 | Redistribution and use of this software in source and binary forms, with or without modification, 5 | are permitted provided that the following conditions are met: 6 | * Redistributions of source code must retain the above copyright notice, this list of conditions 7 | and the following disclaimer. 8 | * Redistributions in binary form must reproduce the above copyright notice, this list of 9 | conditions and the following disclaimer in the documentation and/or other materials provided 10 | with the distribution. 11 | * Neither the name of salesforce.com, inc. nor the names of its contributors may be used to 12 | endorse or promote products derived from this software without specific prior written 13 | permission of salesforce.com, inc. 14 | 15 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR 16 | IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 17 | FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 18 | CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 21 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY 22 | WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 | */ 24 | 25 | @interface SFSDKLogoutBlocker : NSObject 26 | +(instancetype)block; 27 | @end 28 | -------------------------------------------------------------------------------- /libs/SalesforceSDKCore/SalesforceSDKCoreTests/SFUserAccountPersisterEphemeral.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2017-present, salesforce.com, inc. All rights reserved. 3 | 4 | Redistribution and use of this software in source and binary forms, with or without modification, 5 | are permitted provided that the following conditions are met: 6 | * Redistributions of source code must retain the above copyright notice, this list of conditions 7 | and the following disclaimer. 8 | * Redistributions in binary form must reproduce the above copyright notice, this list of 9 | conditions and the following disclaimer in the documentation and/or other materials provided 10 | with the distribution. 11 | * Neither the name of salesforce.com, inc. nor the names of its contributors may be used to 12 | endorse or promote products derived from this software without specific prior written 13 | permission of salesforce.com, inc. 14 | 15 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR 16 | IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 17 | FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 18 | CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 21 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY 22 | WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 | */ 24 | 25 | #import 26 | #import 27 | #import "SFUserAccountManager+Internal.h" 28 | 29 | @interface SFUserAccountPersisterEphemeral : NSObject 30 | 31 | @end 32 | -------------------------------------------------------------------------------- /libs/SalesforceSDKCore/SalesforceSDKCoreTests/SalesforceOAuthUnitTests.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2011-present, salesforce.com, inc. All rights reserved. 3 | 4 | Redistribution and use of this software in source and binary forms, with or without modification, 5 | are permitted provided that the following conditions are met: 6 | * Redistributions of source code must retain the above copyright notice, this list of conditions 7 | and the following disclaimer. 8 | * Redistributions in binary form must reproduce the above copyright notice, this list of 9 | conditions and the following disclaimer in the documentation and/or other materials provided 10 | with the distribution. 11 | * Neither the name of salesforce.com, inc. nor the names of its contributors may be used to 12 | endorse or promote products derived from this software without specific prior written 13 | permission of salesforce.com, inc. 14 | 15 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR 16 | IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 17 | FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 18 | CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 21 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY 22 | WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 | */ 24 | 25 | #import 26 | 27 | @interface SalesforceOAuthUnitTests : XCTestCase 28 | 29 | @end 30 | -------------------------------------------------------------------------------- /libs/SalesforceSDKCore/SalesforceSDKCoreTests/SalesforceOAuthUnitTestsCoordinatorDelegate.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2011-present, salesforce.com, inc. All rights reserved. 3 | 4 | Redistribution and use of this software in source and binary forms, with or without modification, 5 | are permitted provided that the following conditions are met: 6 | * Redistributions of source code must retain the above copyright notice, this list of conditions 7 | and the following disclaimer. 8 | * Redistributions in binary form must reproduce the above copyright notice, this list of 9 | conditions and the following disclaimer in the documentation and/or other materials provided 10 | with the distribution. 11 | * Neither the name of salesforce.com, inc. nor the names of its contributors may be used to 12 | endorse or promote products derived from this software without specific prior written 13 | permission of salesforce.com, inc. 14 | 15 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR 16 | IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 17 | FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 18 | CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 21 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY 22 | WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 | */ 24 | 25 | #import 26 | #import 27 | 28 | @class SFOAuthCoordinatorDelegate; 29 | 30 | @interface SalesforceOAuthUnitTestsCoordinatorDelegate : XCTestCase 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /libs/SalesforceSDKCore/SalesforceSDKCoreTests/SalesforceRestAPITests.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2011-present, salesforce.com, inc. All rights reserved. 3 | 4 | Redistribution and use of this software in source and binary forms, with or without modification, 5 | are permitted provided that the following conditions are met: 6 | * Redistributions of source code must retain the above copyright notice, this list of conditions 7 | and the following disclaimer. 8 | * Redistributions in binary form must reproduce the above copyright notice, this list of 9 | conditions and the following disclaimer in the documentation and/or other materials provided 10 | with the distribution. 11 | * Neither the name of salesforce.com, inc. nor the names of its contributors may be used to 12 | endorse or promote products derived from this software without specific prior written 13 | permission of salesforce.com, inc. 14 | 15 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR 16 | IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 17 | FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 18 | CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 21 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY 22 | WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 | */ 24 | 25 | #import 26 | 27 | @interface SalesforceRestAPITests : XCTestCase 28 | 29 | @end 30 | -------------------------------------------------------------------------------- /libs/SalesforceSDKCore/SalesforceSDKCoreTests/SalesforceSDKCoreTests-Bridging-Header.h: -------------------------------------------------------------------------------- 1 | // 2 | // Use this file to import your target's public headers that you would like to expose to Swift. 3 | // 4 | #import 5 | #import "SFSDKLogoutBlocker.h" 6 | -------------------------------------------------------------------------------- /libs/SalesforceSDKCore/SalesforceSDKCoreTests/SalesforceSDKCoreTests-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundlePackageType 14 | BNDL 15 | CFBundleShortVersionString 16 | 1.0 17 | CFBundleSignature 18 | ???? 19 | CFBundleVersion 20 | 1 21 | 22 | 23 | -------------------------------------------------------------------------------- /libs/SmartStore/Configuration/SmartStore-Common.xcconfig: -------------------------------------------------------------------------------- 1 | // 2 | // SmartStore-Common.xcconfig 3 | // SmartStore 4 | // 5 | // Created by Bharath Hariharan on 4/7/15. 6 | // Copyright (c) 2015-present, Salesforce Inc. All rights reserved. 7 | // 8 | 9 | #include "../../../configuration/Version.xcconfig" 10 | 11 | GCC_PRECOMPILE_PREFIX_HEADER = YES 12 | GCC_PREFIX_HEADER = $(PROJECT_NAME)/$(PROJECT_NAME)-Prefix.pch 13 | 14 | PRODUCT_NAME = SmartStore 15 | 16 | OTHER_LDFLAGS = -ObjC $(inherited) 17 | OTHER_CFLAGS = -DSQLITE_HAS_CODEC -DFMDatabase=SF_FMDatabase -DFMStatement=SF_FMStatement -DFMDatabasePool=SF_FMDatabasePool -DFMDatabaseQueue=SF_FMDatabaseQueue -DFMResultSet=SF_FMResultSet -DFMDBBlockSQLiteCallBackFunction=SF_FMDBBlockSQLiteCallBackFunction 18 | 19 | HEADER_SEARCH_PATHS = $(BUILT_PRODUCTS_DIR)/Headers $(TARGET_BUILD_DIR)/Headers $(SRCROOT)/../../external/ThirdPartyDependencies/sqlcipher $(inherited) 20 | LIBRARY_SEARCH_PATHS = $(SRCROOT)/../../external/ThirdPartyDependencies/sqlcipher $(inherited) 21 | 22 | // Make sure to use only API that are safe for application extensions 23 | APPLICATION_EXTENSION_API_ONLY = YES 24 | -------------------------------------------------------------------------------- /libs/SmartStore/Configuration/SmartStore-Dynamic-iOS-Debug.xcconfig: -------------------------------------------------------------------------------- 1 | // 2 | // SmartStore-Dynamic-iOS-Debug.xcconfig 3 | // SmartStore 4 | // 5 | // Created by Bharath Hariharan on 12/11/15. 6 | // Copyright © 2015 Salesforce Inc. All rights reserved. 7 | // 8 | 9 | #include "../../../configuration/Common-iOS.xcconfig" 10 | #include "../../../configuration/Packaging-Dynamic.xcconfig" 11 | #include "../../../configuration/Configuration-Debug.xcconfig" 12 | #include "SmartStore-Common.xcconfig" 13 | -------------------------------------------------------------------------------- /libs/SmartStore/Configuration/SmartStore-Dynamic-iOS-Release.xcconfig: -------------------------------------------------------------------------------- 1 | // 2 | // SmartStore-Dynamic-iOS-Release.xcconfig 3 | // SmartStore 4 | // 5 | // Created by Bharath Hariharan on 12/11/15. 6 | // Copyright © 2015 Salesforce Inc. All rights reserved. 7 | // 8 | 9 | #include "../../../configuration/Common-iOS.xcconfig" 10 | #include "../../../configuration/Packaging-Dynamic.xcconfig" 11 | #include "../../../configuration/Configuration-Release.xcconfig" 12 | #include "SmartStore-Common.xcconfig" 13 | -------------------------------------------------------------------------------- /libs/SmartStore/Configuration/SmartStore-Test.xcconfig: -------------------------------------------------------------------------------- 1 | // 2 | // SmartStore-Test.xcconfig 3 | // SmartStore 4 | // 5 | // Created by Bharath Hariharan on 4/7/15. 6 | // Copyright (c) 2015-present, Salesforce Inc. All rights reserved. 7 | // 8 | 9 | #include "SmartStore-Dynamic-iOS-Debug.xcconfig" 10 | -------------------------------------------------------------------------------- /libs/SmartStore/SmartStore/Classes/Instrumentation/SFSmartStore+Instrumentation.h: -------------------------------------------------------------------------------- 1 | /* 2 | SFRestAPI+Instrumentation.h 3 | SalesforceSDKCore 4 | Created by Raj Rao on 3/21/19. 5 | 6 | Copyright (c) 2019-present, salesforce.com, inc. All rights reserved. 7 | 8 | Redistribution and use of this software in source and binary forms, with or without modification, 9 | are permitted provided that the following conditions are met: 10 | * Redistributions of source code must retain the above copyright notice, this list of conditions 11 | and the following disclaimer. 12 | * Redistributions in binary form must reproduce the above copyright notice, this list of 13 | conditions and the following disclaimer in the documentation and/or other materials provided 14 | with the distribution. 15 | * Neither the name of salesforce.com, inc. nor the names of its contributors may be used to 16 | endorse or promote products derived from this software without specific prior written 17 | permission of salesforce.com, inc. 18 | 19 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR 20 | IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 21 | FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 22 | CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 23 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 25 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY 26 | WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | */ 28 | #import 29 | 30 | NS_ASSUME_NONNULL_BEGIN 31 | 32 | @interface SFSmartStore (Instrumentation) 33 | 34 | @end 35 | 36 | NS_ASSUME_NONNULL_END 37 | -------------------------------------------------------------------------------- /libs/SmartStore/SmartStore/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | $(CURRENT_PROJECT_VERSION) 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | $(CURRENT_PROJECT_VERSION)$(BUILD_VERSION_SUFFIX) 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /libs/SmartStore/SmartStore/SmartStore-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header 3 | // 4 | // The contents of this file are implicitly included at the beginning of every source file. 5 | // 6 | 7 | #ifdef __OBJC__ 8 | #import 9 | #import 10 | #import "SFSDKSmartStoreLogger.h" 11 | #endif 12 | -------------------------------------------------------------------------------- /libs/SmartStore/SmartStoreTestApp/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // SmartStoreTestApp 4 | // 5 | // Created by Wolfgang Mathurin on 1/15/16. 6 | // Copyright © 2016-present Salesforce Inc. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface AppDelegate : UIResponder 12 | 13 | @property (strong, nonatomic) UIWindow *window; 14 | 15 | 16 | @end 17 | 18 | -------------------------------------------------------------------------------- /libs/SmartStore/SmartStoreTestApp/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /libs/SmartStore/SmartStoreTestApp/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /libs/SmartStore/SmartStoreTestApp/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIMainStoryboardFile 28 | Main 29 | UIRequiredDeviceCapabilities 30 | 31 | armv7 32 | 33 | UISupportedInterfaceOrientations 34 | 35 | UIInterfaceOrientationPortrait 36 | UIInterfaceOrientationLandscapeLeft 37 | UIInterfaceOrientationLandscapeRight 38 | 39 | UISupportedInterfaceOrientations~ipad 40 | 41 | UIInterfaceOrientationPortrait 42 | UIInterfaceOrientationPortraitUpsideDown 43 | UIInterfaceOrientationLandscapeLeft 44 | UIInterfaceOrientationLandscapeRight 45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /libs/SmartStore/SmartStoreTestApp/SmartStoreTestApp.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | com.apple.security.app-sandbox 6 | 7 | com.apple.security.network.client 8 | 9 | keychain-access-groups 10 | 11 | $(AppIdentifierPrefix)com.salesforce.SmartStoreTestApp 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /libs/SmartStore/SmartStoreTestApp/ViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.h 3 | // SmartStoreTestApp 4 | // 5 | // Created by Wolfgang Mathurin on 1/15/16. 6 | // Copyright © 2016 Salesforce Inc. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface ViewController : UIViewController 12 | 13 | 14 | @end 15 | 16 | -------------------------------------------------------------------------------- /libs/SmartStore/SmartStoreTestApp/ViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.m 3 | // SmartStoreTestApp 4 | // 5 | // Created by Wolfgang Mathurin on 1/15/16. 6 | // Copyright © 2016 Salesforce Inc. All rights reserved. 7 | // 8 | 9 | #import "ViewController.h" 10 | 11 | @interface ViewController () 12 | 13 | @end 14 | 15 | @implementation ViewController 16 | 17 | - (void)viewDidLoad { 18 | [super viewDidLoad]; 19 | // Do any additional setup after loading the view, typically from a nib. 20 | } 21 | 22 | - (void)didReceiveMemoryWarning { 23 | [super didReceiveMemoryWarning]; 24 | // Dispose of any resources that can be recreated. 25 | } 26 | 27 | @end 28 | -------------------------------------------------------------------------------- /libs/SmartStore/SmartStoreTestApp/globalstore.json: -------------------------------------------------------------------------------- 1 | { 2 | "soups": [ 3 | { 4 | "soupName": "globalSoup1", 5 | "indexes": [ 6 | { "path": "stringField1", "type": "string"}, 7 | { "path": "integerField1", "type": "integer"}, 8 | { "path": "floatingField1", "type": "floating"}, 9 | { "path": "json1Field1", "type": "json1"}, 10 | { "path": "ftsField1", "type": "full_text"} 11 | ] 12 | }, 13 | { 14 | "soupName": "globalSoup2", 15 | "indexes": [ 16 | { "path": "stringField2", "type": "string"}, 17 | { "path": "integerField2", "type": "integer"}, 18 | { "path": "floatingField2", "type": "floating"}, 19 | { "path": "json1Field2", "type": "json1"}, 20 | { "path": "ftsField2", "type": "full_text"} 21 | ] 22 | } 23 | ] 24 | } 25 | -------------------------------------------------------------------------------- /libs/SmartStore/SmartStoreTestApp/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // SmartStoreTestApp 4 | // 5 | // Created by Wolfgang Mathurin on 1/15/16. 6 | // Copyright © 2016 Salesforce Inc. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "AppDelegate.h" 11 | 12 | int main(int argc, char * argv[]) { 13 | @autoreleasepool { 14 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /libs/SmartStore/SmartStoreTestApp/userstore.json: -------------------------------------------------------------------------------- 1 | { 2 | "soups": [ 3 | { 4 | "soupName": "userSoup1", 5 | "indexes": [ 6 | { "path": "stringField1", "type": "string"}, 7 | { "path": "integerField1", "type": "integer"}, 8 | { "path": "floatingField1", "type": "floating"}, 9 | { "path": "json1Field1", "type": "json1"}, 10 | { "path": "ftsField1", "type": "full_text"} 11 | ] 12 | }, 13 | { 14 | "soupName": "userSoup2", 15 | "indexes": [ 16 | { "path": "stringField2", "type": "string"}, 17 | { "path": "integerField2", "type": "integer"}, 18 | { "path": "floatingField2", "type": "floating"}, 19 | { "path": "json1Field2", "type": "json1"}, 20 | { "path": "ftsField2", "type": "full_text"} 21 | ] 22 | } 23 | ] 24 | } 25 | -------------------------------------------------------------------------------- /libs/SmartStore/SmartStoreTests/SFSDKStoreConfigTests.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2017-present, salesforce.com, inc. All rights reserved. 3 | 4 | Redistribution and use of this software in source and binary forms, with or without modification, 5 | are permitted provided that the following conditions are met: 6 | * Redistributions of source code must retain the above copyright notice, this list of conditions 7 | and the following disclaimer. 8 | * Redistributions in binary form must reproduce the above copyright notice, this list of 9 | conditions and the following disclaimer in the documentation and/or other materials provided 10 | with the distribution. 11 | * Neither the name of salesforce.com, inc. nor the names of its contributors may be used to 12 | endorse or promote products derived from this software without specific prior written 13 | permission of salesforce.com, inc. 14 | 15 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR 16 | IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 17 | FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 18 | CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 21 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY 22 | WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 | */ 24 | 25 | #import "SFSmartStoreTestCase.h" 26 | 27 | @interface SFSDKStoreConfigTests : SFSmartStoreTestCase 28 | 29 | @end 30 | 31 | 32 | -------------------------------------------------------------------------------- /libs/SmartStore/SmartStoreTests/SmartStoreTests-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundlePackageType 14 | BNDL 15 | CFBundleShortVersionString 16 | 1.0 17 | CFBundleSignature 18 | ???? 19 | CFBundleVersion 20 | 1 21 | 22 | 23 | -------------------------------------------------------------------------------- /libs/SmartStore/SmartStoreTests/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /native/SampleApps/MobileSyncExplorer/MobileSyncExplorer/Classes/AppDelegate.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2014-present, salesforce.com, inc. All rights reserved. 3 | 4 | Redistribution and use of this software in source and binary forms, with or without modification, 5 | are permitted provided that the following conditions are met: 6 | * Redistributions of source code must retain the above copyright notice, this list of conditions 7 | and the following disclaimer. 8 | * Redistributions in binary form must reproduce the above copyright notice, this list of 9 | conditions and the following disclaimer in the documentation and/or other materials provided 10 | with the distribution. 11 | * Neither the name of salesforce.com, inc. nor the names of its contributors may be used to 12 | endorse or promote products derived from this software without specific prior written 13 | permission of salesforce.com, inc. 14 | 15 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR 16 | IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 17 | FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 18 | CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 21 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY 22 | WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 | */ 24 | 25 | #import 26 | 27 | @interface AppDelegate : UIResponder 28 | 29 | @property (strong, nonatomic) UIWindow *window; 30 | 31 | @end 32 | -------------------------------------------------------------------------------- /native/SampleApps/MobileSyncExplorer/MobileSyncExplorer/Classes/ContactListViewController.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2014-present, salesforce.com, inc. All rights reserved. 3 | 4 | Redistribution and use of this software in source and binary forms, with or without modification, 5 | are permitted provided that the following conditions are met: 6 | * Redistributions of source code must retain the above copyright notice, this list of conditions 7 | and the following disclaimer. 8 | * Redistributions in binary form must reproduce the above copyright notice, this list of 9 | conditions and the following disclaimer in the documentation and/or other materials provided 10 | with the distribution. 11 | * Neither the name of salesforce.com, inc. nor the names of its contributors may be used to 12 | endorse or promote products derived from this software without specific prior written 13 | permission of salesforce.com, inc. 14 | 15 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR 16 | IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 17 | FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 18 | CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 21 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY 22 | WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 | */ 24 | 25 | #import 26 | 27 | @interface ContactListViewController : UITableViewController 28 | 29 | - (void)popoverOptionSelected:(NSString *)text; 30 | 31 | @end 32 | -------------------------------------------------------------------------------- /native/SampleApps/MobileSyncExplorer/MobileSyncExplorer/Classes/InitialViewController.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2014-present, salesforce.com, inc. All rights reserved. 3 | 4 | Redistribution and use of this software in source and binary forms, with or without modification, 5 | are permitted provided that the following conditions are met: 6 | * Redistributions of source code must retain the above copyright notice, this list of conditions 7 | and the following disclaimer. 8 | * Redistributions in binary form must reproduce the above copyright notice, this list of 9 | conditions and the following disclaimer in the documentation and/or other materials provided 10 | with the distribution. 11 | * Neither the name of salesforce.com, inc. nor the names of its contributors may be used to 12 | endorse or promote products derived from this software without specific prior written 13 | permission of salesforce.com, inc. 14 | 15 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR 16 | IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 17 | FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 18 | CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 21 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY 22 | WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 | */ 24 | 25 | #import 26 | 27 | @interface InitialViewController : UIViewController 28 | 29 | @property (nonatomic, strong) IBOutlet UILabel *appLabel; 30 | 31 | @end 32 | -------------------------------------------------------------------------------- /native/SampleApps/MobileSyncExplorer/MobileSyncExplorer/ImagesMobileSyncExplorer.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /native/SampleApps/MobileSyncExplorer/MobileSyncExplorer/ImagesMobileSyncExplorer.xcassets/add.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "add.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "add@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /native/SampleApps/MobileSyncExplorer/MobileSyncExplorer/ImagesMobileSyncExplorer.xcassets/add.imageset/add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/SalesforceMobileSDK-iOS/20594c7d290444f3c098e5f30931247d81d7e3e6/native/SampleApps/MobileSyncExplorer/MobileSyncExplorer/ImagesMobileSyncExplorer.xcassets/add.imageset/add.png -------------------------------------------------------------------------------- /native/SampleApps/MobileSyncExplorer/MobileSyncExplorer/ImagesMobileSyncExplorer.xcassets/add.imageset/add@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/SalesforceMobileSDK-iOS/20594c7d290444f3c098e5f30931247d81d7e3e6/native/SampleApps/MobileSyncExplorer/MobileSyncExplorer/ImagesMobileSyncExplorer.xcassets/add.imageset/add@2x.png -------------------------------------------------------------------------------- /native/SampleApps/MobileSyncExplorer/MobileSyncExplorer/ImagesMobileSyncExplorer.xcassets/chevron-right.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "chevron-right.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "chevron-right@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /native/SampleApps/MobileSyncExplorer/MobileSyncExplorer/ImagesMobileSyncExplorer.xcassets/chevron-right.imageset/chevron-right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/SalesforceMobileSDK-iOS/20594c7d290444f3c098e5f30931247d81d7e3e6/native/SampleApps/MobileSyncExplorer/MobileSyncExplorer/ImagesMobileSyncExplorer.xcassets/chevron-right.imageset/chevron-right.png -------------------------------------------------------------------------------- /native/SampleApps/MobileSyncExplorer/MobileSyncExplorer/ImagesMobileSyncExplorer.xcassets/chevron-right.imageset/chevron-right@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/SalesforceMobileSDK-iOS/20594c7d290444f3c098e5f30931247d81d7e3e6/native/SampleApps/MobileSyncExplorer/MobileSyncExplorer/ImagesMobileSyncExplorer.xcassets/chevron-right.imageset/chevron-right@2x.png -------------------------------------------------------------------------------- /native/SampleApps/MobileSyncExplorer/MobileSyncExplorer/ImagesMobileSyncExplorer.xcassets/local-add.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "local-add.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "local-add@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /native/SampleApps/MobileSyncExplorer/MobileSyncExplorer/ImagesMobileSyncExplorer.xcassets/local-add.imageset/local-add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/SalesforceMobileSDK-iOS/20594c7d290444f3c098e5f30931247d81d7e3e6/native/SampleApps/MobileSyncExplorer/MobileSyncExplorer/ImagesMobileSyncExplorer.xcassets/local-add.imageset/local-add.png -------------------------------------------------------------------------------- /native/SampleApps/MobileSyncExplorer/MobileSyncExplorer/ImagesMobileSyncExplorer.xcassets/local-add.imageset/local-add@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/SalesforceMobileSDK-iOS/20594c7d290444f3c098e5f30931247d81d7e3e6/native/SampleApps/MobileSyncExplorer/MobileSyncExplorer/ImagesMobileSyncExplorer.xcassets/local-add.imageset/local-add@2x.png -------------------------------------------------------------------------------- /native/SampleApps/MobileSyncExplorer/MobileSyncExplorer/ImagesMobileSyncExplorer.xcassets/local-delete.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "local-delete.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "local-delete@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /native/SampleApps/MobileSyncExplorer/MobileSyncExplorer/ImagesMobileSyncExplorer.xcassets/local-delete.imageset/local-delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/SalesforceMobileSDK-iOS/20594c7d290444f3c098e5f30931247d81d7e3e6/native/SampleApps/MobileSyncExplorer/MobileSyncExplorer/ImagesMobileSyncExplorer.xcassets/local-delete.imageset/local-delete.png -------------------------------------------------------------------------------- /native/SampleApps/MobileSyncExplorer/MobileSyncExplorer/ImagesMobileSyncExplorer.xcassets/local-delete.imageset/local-delete@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/SalesforceMobileSDK-iOS/20594c7d290444f3c098e5f30931247d81d7e3e6/native/SampleApps/MobileSyncExplorer/MobileSyncExplorer/ImagesMobileSyncExplorer.xcassets/local-delete.imageset/local-delete@2x.png -------------------------------------------------------------------------------- /native/SampleApps/MobileSyncExplorer/MobileSyncExplorer/ImagesMobileSyncExplorer.xcassets/local-update.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "local-update.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "local-update@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /native/SampleApps/MobileSyncExplorer/MobileSyncExplorer/ImagesMobileSyncExplorer.xcassets/local-update.imageset/local-update.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/SalesforceMobileSDK-iOS/20594c7d290444f3c098e5f30931247d81d7e3e6/native/SampleApps/MobileSyncExplorer/MobileSyncExplorer/ImagesMobileSyncExplorer.xcassets/local-update.imageset/local-update.png -------------------------------------------------------------------------------- /native/SampleApps/MobileSyncExplorer/MobileSyncExplorer/ImagesMobileSyncExplorer.xcassets/local-update.imageset/local-update@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/SalesforceMobileSDK-iOS/20594c7d290444f3c098e5f30931247d81d7e3e6/native/SampleApps/MobileSyncExplorer/MobileSyncExplorer/ImagesMobileSyncExplorer.xcassets/local-update.imageset/local-update@2x.png -------------------------------------------------------------------------------- /native/SampleApps/MobileSyncExplorer/MobileSyncExplorer/ImagesMobileSyncExplorer.xcassets/sync.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "sync.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "sync@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /native/SampleApps/MobileSyncExplorer/MobileSyncExplorer/ImagesMobileSyncExplorer.xcassets/sync.imageset/sync.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/SalesforceMobileSDK-iOS/20594c7d290444f3c098e5f30931247d81d7e3e6/native/SampleApps/MobileSyncExplorer/MobileSyncExplorer/ImagesMobileSyncExplorer.xcassets/sync.imageset/sync.png -------------------------------------------------------------------------------- /native/SampleApps/MobileSyncExplorer/MobileSyncExplorer/ImagesMobileSyncExplorer.xcassets/sync.imageset/sync@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/SalesforceMobileSDK-iOS/20594c7d290444f3c098e5f30931247d81d7e3e6/native/SampleApps/MobileSyncExplorer/MobileSyncExplorer/ImagesMobileSyncExplorer.xcassets/sync.imageset/sync@2x.png -------------------------------------------------------------------------------- /native/SampleApps/MobileSyncExplorer/MobileSyncExplorer/MobileSyncExplorer-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NSFaceIDUsageDescription 6 | "Unlock the app" 7 | CFBundleDevelopmentRegion 8 | en 9 | CFBundleDisplayName 10 | ${PRODUCT_NAME} 11 | CFBundleExecutable 12 | ${EXECUTABLE_NAME} 13 | CFBundleIdentifier 14 | $(PRODUCT_BUNDLE_IDENTIFIER) 15 | CFBundleInfoDictionaryVersion 16 | 6.0 17 | CFBundleName 18 | ${PRODUCT_NAME} 19 | CFBundlePackageType 20 | APPL 21 | CFBundleShortVersionString 22 | 1.0 23 | CFBundleSignature 24 | ???? 25 | CFBundleVersion 26 | 1.0 27 | LSRequiresIPhoneOS 28 | 29 | UILaunchStoryboardName 30 | LaunchScreen 31 | UIRequiredDeviceCapabilities 32 | 33 | armv7 34 | 35 | UISupportedInterfaceOrientations 36 | 37 | UIInterfaceOrientationPortrait 38 | UIInterfaceOrientationLandscapeLeft 39 | UIInterfaceOrientationLandscapeRight 40 | 41 | UISupportedInterfaceOrientations~ipad 42 | 43 | UIInterfaceOrientationPortrait 44 | UIInterfaceOrientationPortraitUpsideDown 45 | UIInterfaceOrientationLandscapeLeft 46 | UIInterfaceOrientationLandscapeRight 47 | 48 | 49 | 50 | -------------------------------------------------------------------------------- /native/SampleApps/MobileSyncExplorer/MobileSyncExplorer/MobileSyncExplorer-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header 3 | // 4 | // The contents of this file are implicitly included at the beginning of every source file. 5 | // 6 | 7 | #import 8 | 9 | #ifdef __OBJC__ 10 | #import 11 | #import 12 | #import 13 | #endif 14 | -------------------------------------------------------------------------------- /native/SampleApps/MobileSyncExplorer/MobileSyncExplorer/MobileSyncExplorer.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | com.apple.security.app-sandbox 6 | 7 | com.apple.security.application-groups 8 | 9 | group.com.salesforce.mobilesdk.MobileSyncExplorer 10 | 11 | com.apple.security.network.client 12 | 13 | keychain-access-groups 14 | 15 | $(AppIdentifierPrefix)com.salesforce.mobilesdk.MobileSyncExplorer 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /native/SampleApps/MobileSyncExplorer/MobileSyncExplorer/MobileSyncExplorerDebug.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | com.apple.security.app-sandbox 6 | 7 | com.apple.security.application-groups 8 | 9 | com.apple.security.network.client 10 | 11 | keychain-access-groups 12 | 13 | $(AppIdentifierPrefix)com.salesforce.mobilesdk.MobileSyncExplorer 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /native/SampleApps/MobileSyncExplorer/MobileSyncExplorer/PrivacyInfo.xcprivacy: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NSPrivacyTracking 6 | 7 | NSPrivacyCollectedDataTypes 8 | 9 | 10 | NSPrivacyCollectedDataType 11 | NSPrivacyCollectedDataTypeContacts 12 | NSPrivacyCollectedDataTypeLinked 13 | 14 | NSPrivacyCollectedDataTypeTracking 15 | 16 | NSPrivacyCollectedDataTypePurposes 17 | 18 | NSPrivacyCollectedDataTypePurposeAppFunctionality 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /native/SampleApps/MobileSyncExplorer/MobileSyncExplorer/bootconfig.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | oauthScopes 6 | 7 | web 8 | api 9 | 10 | oauthRedirectURI 11 | testsfdc:///mobilesdk/detect/oauth/done 12 | remoteAccessConsumerKey 13 | 3MVG98dostKihXN53TYStBIiS8FC2a3tE3XhGId0hQ37iQjF0xe4fxMSb2mFaWZn9e3GiLs1q67TNlyRji.Xw 14 | 15 | 16 | -------------------------------------------------------------------------------- /native/SampleApps/MobileSyncExplorer/MobileSyncExplorer/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | -------------------------------------------------------------------------------- /native/SampleApps/MobileSyncExplorer/MobileSyncExplorer/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // MobileSyncExplorer 4 | // 5 | // Created by Kevin Hawkins on 10/8/14. 6 | // Copyright (c) 2014-present, salesforce.com. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #import "AppDelegate.h" 12 | 13 | int main(int argc, char * argv[]) 14 | { 15 | @autoreleasepool { 16 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /native/SampleApps/MobileSyncExplorer/MobileSyncExplorer/userstore.json: -------------------------------------------------------------------------------- 1 | { 2 | "soups": [ 3 | { 4 | "soupName": "contacts", 5 | "indexes": [ 6 | { "path": "Id", "type": "string"}, 7 | { "path": "FirstName", "type": "string"}, 8 | { "path": "LastName", "type": "string"}, 9 | { "path": "__local__", "type": "string"}, 10 | { "path": "__locally_created__", "type": "string"}, 11 | { "path": "__locally_updated__", "type": "string"}, 12 | { "path": "__locally_deleted__", "type": "string"} 13 | ] 14 | } 15 | ] 16 | } -------------------------------------------------------------------------------- /native/SampleApps/MobileSyncExplorer/MobileSyncExplorer/usersyncs.json: -------------------------------------------------------------------------------- 1 | { 2 | "syncs": [ 3 | { 4 | "syncName": "syncDownContacts", 5 | "syncType": "syncDown", 6 | "soupName": "contacts", 7 | "target": {"type":"soql", "query":"SELECT FirstName, LastName, Title, MobilePhone, Email, Department, HomePhone FROM Contact LIMIT 10000"}, 8 | "options": {"mergeMode":"OVERWRITE"} 9 | }, 10 | { 11 | "syncName": "syncUpContacts", 12 | "syncType": "syncUp", 13 | "soupName": "contacts", 14 | "target": {"createFieldlist":["FirstName", "LastName", "Title", "MobilePhone", "Email", "Department", "HomePhone"]}, 15 | "options": {"fieldlist":["Id", "FirstName", "LastName", "Title", "MobilePhone", "Email", "Department", "HomePhone"], "mergeMode":"LEAVE_IF_CHANGED"} 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /native/SampleApps/MobileSyncExplorer/MobileSyncExplorerCommon/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleVersion 20 | $(CURRENT_PROJECT_VERSION) 21 | NSPrincipalClass 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /native/SampleApps/MobileSyncExplorer/MobileSyncExplorerCommon/SObjectData+Internal.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2014-present, salesforce.com, inc. All rights reserved. 3 | 4 | Redistribution and use of this software in source and binary forms, with or without modification, 5 | are permitted provided that the following conditions are met: 6 | * Redistributions of source code must retain the above copyright notice, this list of conditions 7 | and the following disclaimer. 8 | * Redistributions in binary form must reproduce the above copyright notice, this list of 9 | conditions and the following disclaimer in the documentation and/or other materials provided 10 | with the distribution. 11 | * Neither the name of salesforce.com, inc. nor the names of its contributors may be used to 12 | endorse or promote products derived from this software without specific prior written 13 | permission of salesforce.com, inc. 14 | 15 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR 16 | IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 17 | FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 18 | CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 21 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY 22 | WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 | */ 24 | 25 | #import "SObjectData.h" 26 | 27 | @interface SObjectData () 28 | 29 | - (id)nonNullFieldValue:(NSString *)fieldName; 30 | 31 | @end 32 | -------------------------------------------------------------------------------- /native/SampleApps/RestAPIExplorer/RestAPIExplorer/PrivacyInfo.xcprivacy: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NSPrivacyTracking 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /native/SampleApps/RestAPIExplorer/RestAPIExplorer/RestAPI.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /native/SampleApps/RestAPIExplorer/RestAPIExplorer/RestAPI.xcassets/list.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "list.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "list@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "list@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /native/SampleApps/RestAPIExplorer/RestAPIExplorer/RestAPI.xcassets/list.imageset/list.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/SalesforceMobileSDK-iOS/20594c7d290444f3c098e5f30931247d81d7e3e6/native/SampleApps/RestAPIExplorer/RestAPIExplorer/RestAPI.xcassets/list.imageset/list.png -------------------------------------------------------------------------------- /native/SampleApps/RestAPIExplorer/RestAPIExplorer/RestAPI.xcassets/list.imageset/list@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/SalesforceMobileSDK-iOS/20594c7d290444f3c098e5f30931247d81d7e3e6/native/SampleApps/RestAPIExplorer/RestAPIExplorer/RestAPI.xcassets/list.imageset/list@2x.png -------------------------------------------------------------------------------- /native/SampleApps/RestAPIExplorer/RestAPIExplorer/RestAPI.xcassets/list.imageset/list@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/SalesforceMobileSDK-iOS/20594c7d290444f3c098e5f30931247d81d7e3e6/native/SampleApps/RestAPIExplorer/RestAPIExplorer/RestAPI.xcassets/list.imageset/list@3x.png -------------------------------------------------------------------------------- /native/SampleApps/RestAPIExplorer/RestAPIExplorer/RestAPI.xcassets/search.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "search.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "search@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "search@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /native/SampleApps/RestAPIExplorer/RestAPIExplorer/RestAPI.xcassets/search.imageset/search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/SalesforceMobileSDK-iOS/20594c7d290444f3c098e5f30931247d81d7e3e6/native/SampleApps/RestAPIExplorer/RestAPIExplorer/RestAPI.xcassets/search.imageset/search.png -------------------------------------------------------------------------------- /native/SampleApps/RestAPIExplorer/RestAPIExplorer/RestAPI.xcassets/search.imageset/search@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/SalesforceMobileSDK-iOS/20594c7d290444f3c098e5f30931247d81d7e3e6/native/SampleApps/RestAPIExplorer/RestAPIExplorer/RestAPI.xcassets/search.imageset/search@2x.png -------------------------------------------------------------------------------- /native/SampleApps/RestAPIExplorer/RestAPIExplorer/RestAPI.xcassets/search.imageset/search@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/SalesforceMobileSDK-iOS/20594c7d290444f3c098e5f30931247d81d7e3e6/native/SampleApps/RestAPIExplorer/RestAPIExplorer/RestAPI.xcassets/search.imageset/search@3x.png -------------------------------------------------------------------------------- /native/SampleApps/RestAPIExplorer/RestAPIExplorer/RestAPI.xcassets/up.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "up.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "up@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "up@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /native/SampleApps/RestAPIExplorer/RestAPIExplorer/RestAPI.xcassets/up.imageset/up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/SalesforceMobileSDK-iOS/20594c7d290444f3c098e5f30931247d81d7e3e6/native/SampleApps/RestAPIExplorer/RestAPIExplorer/RestAPI.xcassets/up.imageset/up.png -------------------------------------------------------------------------------- /native/SampleApps/RestAPIExplorer/RestAPIExplorer/RestAPI.xcassets/up.imageset/up@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/SalesforceMobileSDK-iOS/20594c7d290444f3c098e5f30931247d81d7e3e6/native/SampleApps/RestAPIExplorer/RestAPIExplorer/RestAPI.xcassets/up.imageset/up@2x.png -------------------------------------------------------------------------------- /native/SampleApps/RestAPIExplorer/RestAPIExplorer/RestAPI.xcassets/up.imageset/up@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/SalesforceMobileSDK-iOS/20594c7d290444f3c098e5f30931247d81d7e3e6/native/SampleApps/RestAPIExplorer/RestAPIExplorer/RestAPI.xcassets/up.imageset/up@3x.png -------------------------------------------------------------------------------- /native/SampleApps/RestAPIExplorer/RestAPIExplorer/RestAPIExplorer.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | com.apple.security.app-sandbox 6 | 7 | com.apple.security.network.client 8 | 9 | keychain-access-groups 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /native/SampleApps/RestAPIExplorer/RestAPIExplorer/bootconfig.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | remoteAccessConsumerKey 6 | 3MVG98dostKihXN53TYStBIiS8NRTXcbDzn9nHPb3piMElfQDD.kTyHeXjKV9JNUbe5sZeSQ4CVY1Onzpq21N 7 | oauthRedirectURI 8 | com.salesforce.mobilesdk.sample.restapiexplorer://oauth/success 9 | oauthScopes 10 | 11 | web 12 | api 13 | 14 | shouldAuthenticate 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /shared/common/build/tools/ant-contrib-1.0b3.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/SalesforceMobileSDK-iOS/20594c7d290444f3c098e5f30931247d81d7e3e6/shared/common/build/tools/ant-contrib-1.0b3.jar -------------------------------------------------------------------------------- /shared/resources/Images.xcassets/AppIcon.appiconset/appicon120x120.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/SalesforceMobileSDK-iOS/20594c7d290444f3c098e5f30931247d81d7e3e6/shared/resources/Images.xcassets/AppIcon.appiconset/appicon120x120.png -------------------------------------------------------------------------------- /shared/resources/Images.xcassets/AppIcon.appiconset/appicon152x152.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/SalesforceMobileSDK-iOS/20594c7d290444f3c098e5f30931247d81d7e3e6/shared/resources/Images.xcassets/AppIcon.appiconset/appicon152x152.png -------------------------------------------------------------------------------- /shared/resources/Images.xcassets/AppIcon.appiconset/appicon167x167.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/SalesforceMobileSDK-iOS/20594c7d290444f3c098e5f30931247d81d7e3e6/shared/resources/Images.xcassets/AppIcon.appiconset/appicon167x167.png -------------------------------------------------------------------------------- /shared/resources/Images.xcassets/AppIcon.appiconset/appicon180x180.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/SalesforceMobileSDK-iOS/20594c7d290444f3c098e5f30931247d81d7e3e6/shared/resources/Images.xcassets/AppIcon.appiconset/appicon180x180.png -------------------------------------------------------------------------------- /shared/resources/Images.xcassets/AppIcon.appiconset/appicon20x20.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/SalesforceMobileSDK-iOS/20594c7d290444f3c098e5f30931247d81d7e3e6/shared/resources/Images.xcassets/AppIcon.appiconset/appicon20x20.png -------------------------------------------------------------------------------- /shared/resources/Images.xcassets/AppIcon.appiconset/appicon29x29.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/SalesforceMobileSDK-iOS/20594c7d290444f3c098e5f30931247d81d7e3e6/shared/resources/Images.xcassets/AppIcon.appiconset/appicon29x29.png -------------------------------------------------------------------------------- /shared/resources/Images.xcassets/AppIcon.appiconset/appicon40x40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/SalesforceMobileSDK-iOS/20594c7d290444f3c098e5f30931247d81d7e3e6/shared/resources/Images.xcassets/AppIcon.appiconset/appicon40x40.png -------------------------------------------------------------------------------- /shared/resources/Images.xcassets/AppIcon.appiconset/appicon58x58.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/SalesforceMobileSDK-iOS/20594c7d290444f3c098e5f30931247d81d7e3e6/shared/resources/Images.xcassets/AppIcon.appiconset/appicon58x58.png -------------------------------------------------------------------------------- /shared/resources/Images.xcassets/AppIcon.appiconset/appicon60x60.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/SalesforceMobileSDK-iOS/20594c7d290444f3c098e5f30931247d81d7e3e6/shared/resources/Images.xcassets/AppIcon.appiconset/appicon60x60.png -------------------------------------------------------------------------------- /shared/resources/Images.xcassets/AppIcon.appiconset/appicon76x76.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/SalesforceMobileSDK-iOS/20594c7d290444f3c098e5f30931247d81d7e3e6/shared/resources/Images.xcassets/AppIcon.appiconset/appicon76x76.png -------------------------------------------------------------------------------- /shared/resources/Images.xcassets/AppIcon.appiconset/appicon80x80.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/SalesforceMobileSDK-iOS/20594c7d290444f3c098e5f30931247d81d7e3e6/shared/resources/Images.xcassets/AppIcon.appiconset/appicon80x80.png -------------------------------------------------------------------------------- /shared/resources/Images.xcassets/AppIcon.appiconset/appicon87x87.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/SalesforceMobileSDK-iOS/20594c7d290444f3c098e5f30931247d81d7e3e6/shared/resources/Images.xcassets/AppIcon.appiconset/appicon87x87.png -------------------------------------------------------------------------------- /shared/resources/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /shared/resources/SalesforceSDKAssets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /shared/resources/SalesforceSDKAssets.xcassets/account-add.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "add@1x.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "add@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "add@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /shared/resources/SalesforceSDKAssets.xcassets/account-add.imageset/add@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/SalesforceMobileSDK-iOS/20594c7d290444f3c098e5f30931247d81d7e3e6/shared/resources/SalesforceSDKAssets.xcassets/account-add.imageset/add@1x.png -------------------------------------------------------------------------------- /shared/resources/SalesforceSDKAssets.xcassets/account-add.imageset/add@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/SalesforceMobileSDK-iOS/20594c7d290444f3c098e5f30931247d81d7e3e6/shared/resources/SalesforceSDKAssets.xcassets/account-add.imageset/add@2x.png -------------------------------------------------------------------------------- /shared/resources/SalesforceSDKAssets.xcassets/account-add.imageset/add@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/SalesforceMobileSDK-iOS/20594c7d290444f3c098e5f30931247d81d7e3e6/shared/resources/SalesforceSDKAssets.xcassets/account-add.imageset/add@3x.png -------------------------------------------------------------------------------- /shared/resources/SalesforceSDKAssets.xcassets/faceId.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "faceId.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "faceId-dark.png", 11 | "appearances" : [ 12 | { 13 | "appearance" : "luminosity", 14 | "value" : "dark" 15 | } 16 | ], 17 | "scale" : "1x" 18 | }, 19 | { 20 | "idiom" : "universal", 21 | "filename" : "faceId@2x.png", 22 | "scale" : "2x" 23 | }, 24 | { 25 | "idiom" : "universal", 26 | "filename" : "faceId-dark@2x.png", 27 | "appearances" : [ 28 | { 29 | "appearance" : "luminosity", 30 | "value" : "dark" 31 | } 32 | ], 33 | "scale" : "2x" 34 | }, 35 | { 36 | "idiom" : "universal", 37 | "filename" : "faceId@3x.png", 38 | "scale" : "3x" 39 | }, 40 | { 41 | "idiom" : "universal", 42 | "filename" : "faceId-dark@3x.png", 43 | "appearances" : [ 44 | { 45 | "appearance" : "luminosity", 46 | "value" : "dark" 47 | } 48 | ], 49 | "scale" : "3x" 50 | } 51 | ], 52 | "info" : { 53 | "version" : 1, 54 | "author" : "xcode" 55 | } 56 | } -------------------------------------------------------------------------------- /shared/resources/SalesforceSDKAssets.xcassets/faceId.imageset/faceId-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/SalesforceMobileSDK-iOS/20594c7d290444f3c098e5f30931247d81d7e3e6/shared/resources/SalesforceSDKAssets.xcassets/faceId.imageset/faceId-dark.png -------------------------------------------------------------------------------- /shared/resources/SalesforceSDKAssets.xcassets/faceId.imageset/faceId-dark@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/SalesforceMobileSDK-iOS/20594c7d290444f3c098e5f30931247d81d7e3e6/shared/resources/SalesforceSDKAssets.xcassets/faceId.imageset/faceId-dark@2x.png -------------------------------------------------------------------------------- /shared/resources/SalesforceSDKAssets.xcassets/faceId.imageset/faceId-dark@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/SalesforceMobileSDK-iOS/20594c7d290444f3c098e5f30931247d81d7e3e6/shared/resources/SalesforceSDKAssets.xcassets/faceId.imageset/faceId-dark@3x.png -------------------------------------------------------------------------------- /shared/resources/SalesforceSDKAssets.xcassets/faceId.imageset/faceId.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/SalesforceMobileSDK-iOS/20594c7d290444f3c098e5f30931247d81d7e3e6/shared/resources/SalesforceSDKAssets.xcassets/faceId.imageset/faceId.png -------------------------------------------------------------------------------- /shared/resources/SalesforceSDKAssets.xcassets/faceId.imageset/faceId@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/SalesforceMobileSDK-iOS/20594c7d290444f3c098e5f30931247d81d7e3e6/shared/resources/SalesforceSDKAssets.xcassets/faceId.imageset/faceId@2x.png -------------------------------------------------------------------------------- /shared/resources/SalesforceSDKAssets.xcassets/faceId.imageset/faceId@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/SalesforceMobileSDK-iOS/20594c7d290444f3c098e5f30931247d81d7e3e6/shared/resources/SalesforceSDKAssets.xcassets/faceId.imageset/faceId@3x.png -------------------------------------------------------------------------------- /shared/resources/SalesforceSDKAssets.xcassets/globalheader-back-arrow.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "globalheader-back-arrow.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "globalheader-back-arrow@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "globalheader-back-arrow@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /shared/resources/SalesforceSDKAssets.xcassets/globalheader-back-arrow.imageset/globalheader-back-arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/SalesforceMobileSDK-iOS/20594c7d290444f3c098e5f30931247d81d7e3e6/shared/resources/SalesforceSDKAssets.xcassets/globalheader-back-arrow.imageset/globalheader-back-arrow.png -------------------------------------------------------------------------------- /shared/resources/SalesforceSDKAssets.xcassets/globalheader-back-arrow.imageset/globalheader-back-arrow@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/SalesforceMobileSDK-iOS/20594c7d290444f3c098e5f30931247d81d7e3e6/shared/resources/SalesforceSDKAssets.xcassets/globalheader-back-arrow.imageset/globalheader-back-arrow@2x.png -------------------------------------------------------------------------------- /shared/resources/SalesforceSDKAssets.xcassets/globalheader-back-arrow.imageset/globalheader-back-arrow@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/SalesforceMobileSDK-iOS/20594c7d290444f3c098e5f30931247d81d7e3e6/shared/resources/SalesforceSDKAssets.xcassets/globalheader-back-arrow.imageset/globalheader-back-arrow@3x.png -------------------------------------------------------------------------------- /shared/resources/SalesforceSDKAssets.xcassets/login-window-gear.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "login-window-gear.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "login-window-gear@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "login-window-gear@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /shared/resources/SalesforceSDKAssets.xcassets/login-window-gear.imageset/login-window-gear.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/SalesforceMobileSDK-iOS/20594c7d290444f3c098e5f30931247d81d7e3e6/shared/resources/SalesforceSDKAssets.xcassets/login-window-gear.imageset/login-window-gear.png -------------------------------------------------------------------------------- /shared/resources/SalesforceSDKAssets.xcassets/login-window-gear.imageset/login-window-gear@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/SalesforceMobileSDK-iOS/20594c7d290444f3c098e5f30931247d81d7e3e6/shared/resources/SalesforceSDKAssets.xcassets/login-window-gear.imageset/login-window-gear@2x.png -------------------------------------------------------------------------------- /shared/resources/SalesforceSDKAssets.xcassets/login-window-gear.imageset/login-window-gear@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/SalesforceMobileSDK-iOS/20594c7d290444f3c098e5f30931247d81d7e3e6/shared/resources/SalesforceSDKAssets.xcassets/login-window-gear.imageset/login-window-gear@3x.png -------------------------------------------------------------------------------- /shared/resources/SalesforceSDKAssets.xcassets/profile-placeholder.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "ios_astro_circle@1x.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "ios_astro_circle@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "ios_astro_circle@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /shared/resources/SalesforceSDKAssets.xcassets/profile-placeholder.imageset/ios_astro_circle@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/SalesforceMobileSDK-iOS/20594c7d290444f3c098e5f30931247d81d7e3e6/shared/resources/SalesforceSDKAssets.xcassets/profile-placeholder.imageset/ios_astro_circle@1x.png -------------------------------------------------------------------------------- /shared/resources/SalesforceSDKAssets.xcassets/profile-placeholder.imageset/ios_astro_circle@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/SalesforceMobileSDK-iOS/20594c7d290444f3c098e5f30931247d81d7e3e6/shared/resources/SalesforceSDKAssets.xcassets/profile-placeholder.imageset/ios_astro_circle@2x.png -------------------------------------------------------------------------------- /shared/resources/SalesforceSDKAssets.xcassets/profile-placeholder.imageset/ios_astro_circle@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/SalesforceMobileSDK-iOS/20594c7d290444f3c098e5f30931247d81d7e3e6/shared/resources/SalesforceSDKAssets.xcassets/profile-placeholder.imageset/ios_astro_circle@3x.png -------------------------------------------------------------------------------- /shared/resources/SalesforceSDKAssets.xcassets/salesforce-logo.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "salesforce-logo1x.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "salesforce-logo2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "salesforce-logo3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /shared/resources/SalesforceSDKAssets.xcassets/salesforce-logo.imageset/salesforce-logo1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/SalesforceMobileSDK-iOS/20594c7d290444f3c098e5f30931247d81d7e3e6/shared/resources/SalesforceSDKAssets.xcassets/salesforce-logo.imageset/salesforce-logo1x.png -------------------------------------------------------------------------------- /shared/resources/SalesforceSDKAssets.xcassets/salesforce-logo.imageset/salesforce-logo2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/SalesforceMobileSDK-iOS/20594c7d290444f3c098e5f30931247d81d7e3e6/shared/resources/SalesforceSDKAssets.xcassets/salesforce-logo.imageset/salesforce-logo2x.png -------------------------------------------------------------------------------- /shared/resources/SalesforceSDKAssets.xcassets/salesforce-logo.imageset/salesforce-logo3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/SalesforceMobileSDK-iOS/20594c7d290444f3c098e5f30931247d81d7e3e6/shared/resources/SalesforceSDKAssets.xcassets/salesforce-logo.imageset/salesforce-logo3x.png -------------------------------------------------------------------------------- /shared/resources/SalesforceSDKAssets.xcassets/touchId.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "touchId.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "touchId-dark.png", 11 | "appearances" : [ 12 | { 13 | "appearance" : "luminosity", 14 | "value" : "dark" 15 | } 16 | ], 17 | "scale" : "1x" 18 | }, 19 | { 20 | "idiom" : "universal", 21 | "filename" : "touchId@2x.png", 22 | "scale" : "2x" 23 | }, 24 | { 25 | "idiom" : "universal", 26 | "filename" : "touchId-dark@2x.png", 27 | "appearances" : [ 28 | { 29 | "appearance" : "luminosity", 30 | "value" : "dark" 31 | } 32 | ], 33 | "scale" : "2x" 34 | }, 35 | { 36 | "idiom" : "universal", 37 | "filename" : "touchId@3x.png", 38 | "scale" : "3x" 39 | }, 40 | { 41 | "idiom" : "universal", 42 | "filename" : "touchId-dark@3x.png", 43 | "appearances" : [ 44 | { 45 | "appearance" : "luminosity", 46 | "value" : "dark" 47 | } 48 | ], 49 | "scale" : "3x" 50 | } 51 | ], 52 | "info" : { 53 | "version" : 1, 54 | "author" : "xcode" 55 | } 56 | } -------------------------------------------------------------------------------- /shared/resources/SalesforceSDKAssets.xcassets/touchId.imageset/touchId-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/SalesforceMobileSDK-iOS/20594c7d290444f3c098e5f30931247d81d7e3e6/shared/resources/SalesforceSDKAssets.xcassets/touchId.imageset/touchId-dark.png -------------------------------------------------------------------------------- /shared/resources/SalesforceSDKAssets.xcassets/touchId.imageset/touchId-dark@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/SalesforceMobileSDK-iOS/20594c7d290444f3c098e5f30931247d81d7e3e6/shared/resources/SalesforceSDKAssets.xcassets/touchId.imageset/touchId-dark@2x.png -------------------------------------------------------------------------------- /shared/resources/SalesforceSDKAssets.xcassets/touchId.imageset/touchId-dark@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/SalesforceMobileSDK-iOS/20594c7d290444f3c098e5f30931247d81d7e3e6/shared/resources/SalesforceSDKAssets.xcassets/touchId.imageset/touchId-dark@3x.png -------------------------------------------------------------------------------- /shared/resources/SalesforceSDKAssets.xcassets/touchId.imageset/touchId.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/SalesforceMobileSDK-iOS/20594c7d290444f3c098e5f30931247d81d7e3e6/shared/resources/SalesforceSDKAssets.xcassets/touchId.imageset/touchId.png -------------------------------------------------------------------------------- /shared/resources/SalesforceSDKAssets.xcassets/touchId.imageset/touchId@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/SalesforceMobileSDK-iOS/20594c7d290444f3c098e5f30931247d81d7e3e6/shared/resources/SalesforceSDKAssets.xcassets/touchId.imageset/touchId@2x.png -------------------------------------------------------------------------------- /shared/resources/SalesforceSDKAssets.xcassets/touchId.imageset/touchId@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/SalesforceMobileSDK-iOS/20594c7d290444f3c098e5f30931247d81d7e3e6/shared/resources/SalesforceSDKAssets.xcassets/touchId.imageset/touchId@3x.png -------------------------------------------------------------------------------- /shared/test/XCUIElement.h: -------------------------------------------------------------------------------- 1 | // 2 | // Generated by class-dump 3.5 (64 bit). 3 | // 4 | // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. 5 | // 6 | 7 | #import 8 | #import 9 | 10 | @class NSString, XCElementSnapshot, XCUIApplication, XCUIElementQuery; 11 | 12 | @interface XCUIElement () 13 | { 14 | BOOL _safeQueryResolutionEnabled; 15 | XCUIElementQuery *_query; 16 | XCElementSnapshot *_lastSnapshot; 17 | } 18 | 19 | @property BOOL safeQueryResolutionEnabled; // @synthesize safeQueryResolutionEnabled=_safeQueryResolutionEnabled; 20 | @property(retain) XCElementSnapshot *lastSnapshot; // @synthesize lastSnapshot=_lastSnapshot; 21 | @property(readonly) XCUIElementQuery *query; // @synthesize query=_query; 22 | @property(readonly, nonatomic) UIInterfaceOrientation interfaceOrientation; 23 | @property(readonly) BOOL hasKeyboardFocus; 24 | @property(readonly, nonatomic) XCUIApplication *application; 25 | 26 | - (id)initWithElementQuery:(id)arg1; 27 | 28 | - (unsigned long long)traits; 29 | - (void)resolveHandleUIInterruption:(BOOL)arg1; 30 | - (void)resolve; 31 | 32 | #if !TARGET_OS_TV 33 | - (id)hitPointCoordinate; 34 | #endif 35 | 36 | @end -------------------------------------------------------------------------------- /shared/test/XCUITest-Bridging-Header.h: -------------------------------------------------------------------------------- 1 | // 2 | // Use this file to import your target's public headers that you would like to expose to Swift. 3 | // 4 | 5 | #import "XCUIElement.h" -------------------------------------------------------------------------------- /shared/test/test_credentials.json.sample: -------------------------------------------------------------------------------- 1 | { 2 | 3 | "access_token":"__NOT_REQUIRED__", 4 | 5 | "test_client_id":"__INSERT_REMOTE_ACCESS_CLIENT_KEY_HERE__", 6 | 7 | "test_login_domain":"test.salesforce.com", 8 | 9 | "test_redirect_uri":"__INSERT_REMOTE_ACCESS_CALLBACK_URL_HERE__", 10 | 11 | "refresh_token":"__INSERT_TOKEN_HERE__", 12 | 13 | "instance_url":"https://cs1.salesforce.com", 14 | 15 | "identity_url":"https://test.salesforce.com" 16 | 17 | } --------------------------------------------------------------------------------