salesforce-mobilesdk-cordova-plugin 10.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (366) hide show
  1. package/, +35 -0
  2. package/CODEOWNERS +2 -0
  3. package/CODE_OF_CONDUCT.md +105 -0
  4. package/LICENSE.md +356 -0
  5. package/README.md +30 -0
  6. package/SECURITY.md +7 -0
  7. package/gradle/wrapper/gradle-wrapper.jar +0 -0
  8. package/gradle/wrapper/gradle-wrapper.properties +5 -0
  9. package/gradle.properties +3 -0
  10. package/gradlew +185 -0
  11. package/gradlew.bat +104 -0
  12. package/package.json +26 -0
  13. package/plugin.xml +197 -0
  14. package/setversion.sh +70 -0
  15. package/src/android/libs/MobileSync/AndroidManifest.xml +10 -0
  16. package/src/android/libs/MobileSync/build.gradle +78 -0
  17. package/src/android/libs/MobileSync/res/raw/globalsyncs.json +5 -0
  18. package/src/android/libs/MobileSync/res/raw/usersyncs.json +5 -0
  19. package/src/android/libs/MobileSync/res/values/colors.xml +11 -0
  20. package/src/android/libs/MobileSync/res/values/strings.xml +5 -0
  21. package/src/android/libs/MobileSync/src/com/salesforce/androidsdk/mobilesync/app/Features.java +39 -0
  22. package/src/android/libs/MobileSync/src/com/salesforce/androidsdk/mobilesync/app/MobileSyncSDKManager.java +139 -0
  23. package/src/android/libs/MobileSync/src/com/salesforce/androidsdk/mobilesync/app/MobileSyncUpgradeManager.java +94 -0
  24. package/src/android/libs/MobileSync/src/com/salesforce/androidsdk/mobilesync/config/SyncsConfig.java +152 -0
  25. package/src/android/libs/MobileSync/src/com/salesforce/androidsdk/mobilesync/manager/AdvancedSyncUpTask.java +107 -0
  26. package/src/android/libs/MobileSync/src/com/salesforce/androidsdk/mobilesync/manager/CleanSyncGhostsTask.java +92 -0
  27. package/src/android/libs/MobileSync/src/com/salesforce/androidsdk/mobilesync/manager/LayoutSyncManager.java +281 -0
  28. package/src/android/libs/MobileSync/src/com/salesforce/androidsdk/mobilesync/manager/MetadataSyncManager.java +266 -0
  29. package/src/android/libs/MobileSync/src/com/salesforce/androidsdk/mobilesync/manager/SyncDownTask.java +114 -0
  30. package/src/android/libs/MobileSync/src/com/salesforce/androidsdk/mobilesync/manager/SyncManager.java +695 -0
  31. package/src/android/libs/MobileSync/src/com/salesforce/androidsdk/mobilesync/manager/SyncTask.java +156 -0
  32. package/src/android/libs/MobileSync/src/com/salesforce/androidsdk/mobilesync/manager/SyncUpTask.java +198 -0
  33. package/src/android/libs/MobileSync/src/com/salesforce/androidsdk/mobilesync/model/Layout.java +398 -0
  34. package/src/android/libs/MobileSync/src/com/salesforce/androidsdk/mobilesync/model/Metadata.java +414 -0
  35. package/src/android/libs/MobileSync/src/com/salesforce/androidsdk/mobilesync/model/SalesforceObject.java +156 -0
  36. package/src/android/libs/MobileSync/src/com/salesforce/androidsdk/mobilesync/target/AdvancedSyncUpTarget.java +61 -0
  37. package/src/android/libs/MobileSync/src/com/salesforce/androidsdk/mobilesync/target/BatchSyncUpTarget.java +275 -0
  38. package/src/android/libs/MobileSync/src/com/salesforce/androidsdk/mobilesync/target/BriefcaseSyncDownTarget.java +402 -0
  39. package/src/android/libs/MobileSync/src/com/salesforce/androidsdk/mobilesync/target/CollectionSyncUpTarget.java +130 -0
  40. package/src/android/libs/MobileSync/src/com/salesforce/androidsdk/mobilesync/target/CompositeRequestHelper.java +383 -0
  41. package/src/android/libs/MobileSync/src/com/salesforce/androidsdk/mobilesync/target/LayoutSyncDownTarget.java +190 -0
  42. package/src/android/libs/MobileSync/src/com/salesforce/androidsdk/mobilesync/target/MetadataSyncDownTarget.java +125 -0
  43. package/src/android/libs/MobileSync/src/com/salesforce/androidsdk/mobilesync/target/MruSyncDownTarget.java +148 -0
  44. package/src/android/libs/MobileSync/src/com/salesforce/androidsdk/mobilesync/target/ParentChildrenSyncDownTarget.java +326 -0
  45. package/src/android/libs/MobileSync/src/com/salesforce/androidsdk/mobilesync/target/ParentChildrenSyncTargetHelper.java +139 -0
  46. package/src/android/libs/MobileSync/src/com/salesforce/androidsdk/mobilesync/target/ParentChildrenSyncUpTarget.java +535 -0
  47. package/src/android/libs/MobileSync/src/com/salesforce/androidsdk/mobilesync/target/RefreshSyncDownTarget.java +237 -0
  48. package/src/android/libs/MobileSync/src/com/salesforce/androidsdk/mobilesync/target/SoqlSyncDownTarget.java +250 -0
  49. package/src/android/libs/MobileSync/src/com/salesforce/androidsdk/mobilesync/target/SoslSyncDownTarget.java +117 -0
  50. package/src/android/libs/MobileSync/src/com/salesforce/androidsdk/mobilesync/target/SyncDownTarget.java +329 -0
  51. package/src/android/libs/MobileSync/src/com/salesforce/androidsdk/mobilesync/target/SyncTarget.java +352 -0
  52. package/src/android/libs/MobileSync/src/com/salesforce/androidsdk/mobilesync/target/SyncUpTarget.java +510 -0
  53. package/src/android/libs/MobileSync/src/com/salesforce/androidsdk/mobilesync/util/BriefcaseObjectInfo.java +95 -0
  54. package/src/android/libs/MobileSync/src/com/salesforce/androidsdk/mobilesync/util/ChildrenInfo.java +79 -0
  55. package/src/android/libs/MobileSync/src/com/salesforce/androidsdk/mobilesync/util/Constants.java +99 -0
  56. package/src/android/libs/MobileSync/src/com/salesforce/androidsdk/mobilesync/util/MobileSyncLogger.java +271 -0
  57. package/src/android/libs/MobileSync/src/com/salesforce/androidsdk/mobilesync/util/ParentInfo.java +88 -0
  58. package/src/android/libs/MobileSync/src/com/salesforce/androidsdk/mobilesync/util/SOQLBuilder.java +276 -0
  59. package/src/android/libs/MobileSync/src/com/salesforce/androidsdk/mobilesync/util/SOQLMutator.java +367 -0
  60. package/src/android/libs/MobileSync/src/com/salesforce/androidsdk/mobilesync/util/SOSLBuilder.java +233 -0
  61. package/src/android/libs/MobileSync/src/com/salesforce/androidsdk/mobilesync/util/SOSLReturningBuilder.java +161 -0
  62. package/src/android/libs/MobileSync/src/com/salesforce/androidsdk/mobilesync/util/SyncOptions.java +121 -0
  63. package/src/android/libs/MobileSync/src/com/salesforce/androidsdk/mobilesync/util/SyncState.java +509 -0
  64. package/src/android/libs/SalesforceAnalytics/AndroidManifest.xml +12 -0
  65. package/src/android/libs/SalesforceAnalytics/build.gradle +73 -0
  66. package/src/android/libs/SalesforceAnalytics/res/values/strings.xml +5 -0
  67. package/src/android/libs/SalesforceAnalytics/src/com/salesforce/androidsdk/analytics/logger/FileLogger.java +288 -0
  68. package/src/android/libs/SalesforceAnalytics/src/com/salesforce/androidsdk/analytics/logger/SalesforceLogger.java +450 -0
  69. package/src/android/libs/SalesforceAnalytics/src/com/salesforce/androidsdk/analytics/manager/AnalyticsManager.java +106 -0
  70. package/src/android/libs/SalesforceAnalytics/src/com/salesforce/androidsdk/analytics/model/DeviceAppAttributes.java +214 -0
  71. package/src/android/libs/SalesforceAnalytics/src/com/salesforce/androidsdk/analytics/model/InstrumentationEvent.java +433 -0
  72. package/src/android/libs/SalesforceAnalytics/src/com/salesforce/androidsdk/analytics/model/InstrumentationEventBuilder.java +322 -0
  73. package/src/android/libs/SalesforceAnalytics/src/com/salesforce/androidsdk/analytics/security/DecrypterInputStream.java +122 -0
  74. package/src/android/libs/SalesforceAnalytics/src/com/salesforce/androidsdk/analytics/security/EncrypterOutputStream.java +91 -0
  75. package/src/android/libs/SalesforceAnalytics/src/com/salesforce/androidsdk/analytics/security/Encryptor.java +597 -0
  76. package/src/android/libs/SalesforceAnalytics/src/com/salesforce/androidsdk/analytics/store/EventStoreManager.java +297 -0
  77. package/src/android/libs/SalesforceAnalytics/src/com/salesforce/androidsdk/analytics/transform/AILTNTransform.java +195 -0
  78. package/src/android/libs/SalesforceAnalytics/src/com/salesforce/androidsdk/analytics/transform/Transform.java +47 -0
  79. package/src/android/libs/SalesforceAnalytics/src/com/salesforce/androidsdk/analytics/util/SalesforceAnalyticsLogger.java +222 -0
  80. package/src/android/libs/SalesforceAnalytics/src/com/salesforce/androidsdk/analytics/util/WatchableStream.java +38 -0
  81. package/src/android/libs/SalesforceHybrid/AndroidManifest.xml +9 -0
  82. package/src/android/libs/SalesforceHybrid/build.gradle +76 -0
  83. package/src/android/libs/SalesforceHybrid/res/values/strings.xml +5 -0
  84. package/src/android/libs/SalesforceHybrid/res/xml/config.xml +35 -0
  85. package/src/android/libs/SalesforceHybrid/src/com/salesforce/androidsdk/phonegap/app/HybridApp.java +48 -0
  86. package/src/android/libs/SalesforceHybrid/src/com/salesforce/androidsdk/phonegap/app/SalesforceHybridSDKManager.java +211 -0
  87. package/src/android/libs/SalesforceHybrid/src/com/salesforce/androidsdk/phonegap/app/SalesforceHybridUpgradeManager.java +56 -0
  88. package/src/android/libs/SalesforceHybrid/src/com/salesforce/androidsdk/phonegap/plugin/ForcePlugin.java +101 -0
  89. package/src/android/libs/SalesforceHybrid/src/com/salesforce/androidsdk/phonegap/plugin/JavaScriptPluginVersion.java +122 -0
  90. package/src/android/libs/SalesforceHybrid/src/com/salesforce/androidsdk/phonegap/plugin/MobileSyncPlugin.java +338 -0
  91. package/src/android/libs/SalesforceHybrid/src/com/salesforce/androidsdk/phonegap/plugin/PluginConstants.java +69 -0
  92. package/src/android/libs/SalesforceHybrid/src/com/salesforce/androidsdk/phonegap/plugin/SDKInfoPlugin.java +215 -0
  93. package/src/android/libs/SalesforceHybrid/src/com/salesforce/androidsdk/phonegap/plugin/SFAccountManagerPlugin.java +176 -0
  94. package/src/android/libs/SalesforceHybrid/src/com/salesforce/androidsdk/phonegap/plugin/SalesforceNetworkPlugin.java +336 -0
  95. package/src/android/libs/SalesforceHybrid/src/com/salesforce/androidsdk/phonegap/plugin/SalesforceOAuthPlugin.java +128 -0
  96. package/src/android/libs/SalesforceHybrid/src/com/salesforce/androidsdk/phonegap/plugin/SmartStorePlugin.java +753 -0
  97. package/src/android/libs/SalesforceHybrid/src/com/salesforce/androidsdk/phonegap/plugin/TestRunnerPlugin.java +135 -0
  98. package/src/android/libs/SalesforceHybrid/src/com/salesforce/androidsdk/phonegap/ui/SalesforceDroidGapActivity.java +583 -0
  99. package/src/android/libs/SalesforceHybrid/src/com/salesforce/androidsdk/phonegap/ui/SalesforceWebView.java +57 -0
  100. package/src/android/libs/SalesforceHybrid/src/com/salesforce/androidsdk/phonegap/ui/SalesforceWebViewClient.java +153 -0
  101. package/src/android/libs/SalesforceHybrid/src/com/salesforce/androidsdk/phonegap/ui/SalesforceWebViewClientHelper.java +188 -0
  102. package/src/android/libs/SalesforceHybrid/src/com/salesforce/androidsdk/phonegap/ui/SalesforceWebViewEngine.java +85 -0
  103. package/src/android/libs/SalesforceHybrid/src/com/salesforce/androidsdk/phonegap/util/SalesforceHybridLogger.java +160 -0
  104. package/src/android/libs/SalesforceSDK/AndroidManifest.xml +122 -0
  105. package/src/android/libs/SalesforceSDK/build.gradle +79 -0
  106. package/src/android/libs/SalesforceSDK/proguard.cfg +40 -0
  107. package/src/android/libs/SalesforceSDK/res/drawable/sf__primary_color_button.xml +5 -0
  108. package/src/android/libs/SalesforceSDK/res/drawable/sf__progress_spinner.xml +9 -0
  109. package/src/android/libs/SalesforceSDK/res/drawable/sf__secondary_color_button.xml +8 -0
  110. package/src/android/libs/SalesforceSDK/res/drawable/sf__secondary_color_button_dark.xml +8 -0
  111. package/src/android/libs/SalesforceSDK/res/drawable-hdpi/sf__action_back.png +0 -0
  112. package/src/android/libs/SalesforceSDK/res/drawable-hdpi/sf__add.png +0 -0
  113. package/src/android/libs/SalesforceSDK/res/drawable-hdpi/sf__android_astro.png +0 -0
  114. package/src/android/libs/SalesforceSDK/res/drawable-hdpi/sf__edit_icon.png +0 -0
  115. package/src/android/libs/SalesforceSDK/res/drawable-hdpi/sf__highlight_glare.png +0 -0
  116. package/src/android/libs/SalesforceSDK/res/drawable-hdpi/sf__icon.png +0 -0
  117. package/src/android/libs/SalesforceSDK/res/drawable-hdpi/sf__salesforce_logo.png +0 -0
  118. package/src/android/libs/SalesforceSDK/res/drawable-ldpi/sf__icon.png +0 -0
  119. package/src/android/libs/SalesforceSDK/res/drawable-mdpi/sf__action_back.png +0 -0
  120. package/src/android/libs/SalesforceSDK/res/drawable-mdpi/sf__add.png +0 -0
  121. package/src/android/libs/SalesforceSDK/res/drawable-mdpi/sf__android_astro.png +0 -0
  122. package/src/android/libs/SalesforceSDK/res/drawable-mdpi/sf__edit_icon.png +0 -0
  123. package/src/android/libs/SalesforceSDK/res/drawable-mdpi/sf__highlight_glare.png +0 -0
  124. package/src/android/libs/SalesforceSDK/res/drawable-mdpi/sf__ic_refresh_sync_anim0.png +0 -0
  125. package/src/android/libs/SalesforceSDK/res/drawable-mdpi/sf__icon.png +0 -0
  126. package/src/android/libs/SalesforceSDK/res/drawable-mdpi/sf__salesforce_logo.png +0 -0
  127. package/src/android/libs/SalesforceSDK/res/drawable-xhdpi/sf__action_back.png +0 -0
  128. package/src/android/libs/SalesforceSDK/res/drawable-xhdpi/sf__add.png +0 -0
  129. package/src/android/libs/SalesforceSDK/res/drawable-xhdpi/sf__android_astro.png +0 -0
  130. package/src/android/libs/SalesforceSDK/res/drawable-xhdpi/sf__icon.png +0 -0
  131. package/src/android/libs/SalesforceSDK/res/drawable-xhdpi/sf__salesforce_logo.png +0 -0
  132. package/src/android/libs/SalesforceSDK/res/drawable-xlarge/sf__header_drop_shadow.xml +5 -0
  133. package/src/android/libs/SalesforceSDK/res/drawable-xlarge/sf__header_left_border.xml +8 -0
  134. package/src/android/libs/SalesforceSDK/res/drawable-xlarge/sf__header_refresh.png +0 -0
  135. package/src/android/libs/SalesforceSDK/res/drawable-xlarge/sf__header_refresh_press.png +0 -0
  136. package/src/android/libs/SalesforceSDK/res/drawable-xlarge/sf__header_refresh_states.xml +5 -0
  137. package/src/android/libs/SalesforceSDK/res/drawable-xlarge/sf__header_right_border.xml +8 -0
  138. package/src/android/libs/SalesforceSDK/res/drawable-xlarge/sf__nav_shadow.png +0 -0
  139. package/src/android/libs/SalesforceSDK/res/drawable-xlarge/sf__oauth_background.png +0 -0
  140. package/src/android/libs/SalesforceSDK/res/drawable-xlarge/sf__oauth_container_dropshadow.9.png +0 -0
  141. package/src/android/libs/SalesforceSDK/res/drawable-xlarge/sf__progress_spinner.xml +9 -0
  142. package/src/android/libs/SalesforceSDK/res/drawable-xlarge/sf__refresh_loader.png +0 -0
  143. package/src/android/libs/SalesforceSDK/res/drawable-xlarge-port/sf__oauth_background.png +0 -0
  144. package/src/android/libs/SalesforceSDK/res/drawable-xxhdpi/ic_fp_40px.png +0 -0
  145. package/src/android/libs/SalesforceSDK/res/drawable-xxhdpi/sf__action_back.png +0 -0
  146. package/src/android/libs/SalesforceSDK/res/drawable-xxhdpi/sf__add.png +0 -0
  147. package/src/android/libs/SalesforceSDK/res/drawable-xxhdpi/sf__android_astro.png +0 -0
  148. package/src/android/libs/SalesforceSDK/res/drawable-xxhdpi/sf__icon.png +0 -0
  149. package/src/android/libs/SalesforceSDK/res/drawable-xxhdpi/sf__salesforce_logo.png +0 -0
  150. package/src/android/libs/SalesforceSDK/res/drawable-xxxhdpi/sf__add.png +0 -0
  151. package/src/android/libs/SalesforceSDK/res/drawable-xxxhdpi/sf__android_astro.png +0 -0
  152. package/src/android/libs/SalesforceSDK/res/drawable-xxxhdpi/sf__salesforce_logo.png +0 -0
  153. package/src/android/libs/SalesforceSDK/res/layout/sf__account_switcher.xml +41 -0
  154. package/src/android/libs/SalesforceSDK/res/layout/sf__account_switcher_list_footer.xml +31 -0
  155. package/src/android/libs/SalesforceSDK/res/layout/sf__account_switcher_list_item.xml +47 -0
  156. package/src/android/libs/SalesforceSDK/res/layout/sf__custom_server_url.xml +88 -0
  157. package/src/android/libs/SalesforceSDK/res/layout/sf__dev_info.xml +8 -0
  158. package/src/android/libs/SalesforceSDK/res/layout/sf__idp_code_generator.xml +12 -0
  159. package/src/android/libs/SalesforceSDK/res/layout/sf__login.xml +31 -0
  160. package/src/android/libs/SalesforceSDK/res/layout/sf__manage_space.xml +9 -0
  161. package/src/android/libs/SalesforceSDK/res/layout/sf__screen_lock.xml +68 -0
  162. package/src/android/libs/SalesforceSDK/res/layout/sf__server_picker.xml +43 -0
  163. package/src/android/libs/SalesforceSDK/res/menu/sf__clear_custom_url.xml +9 -0
  164. package/src/android/libs/SalesforceSDK/res/menu/sf__login.xml +15 -0
  165. package/src/android/libs/SalesforceSDK/res/values/bootconfig.xml +11 -0
  166. package/src/android/libs/SalesforceSDK/res/values/sf__attr.xml +10 -0
  167. package/src/android/libs/SalesforceSDK/res/values/sf__colors.xml +21 -0
  168. package/src/android/libs/SalesforceSDK/res/values/sf__dimens.xml +46 -0
  169. package/src/android/libs/SalesforceSDK/res/values/sf__strings.xml +76 -0
  170. package/src/android/libs/SalesforceSDK/res/values/sf__styles.xml +150 -0
  171. package/src/android/libs/SalesforceSDK/res/values/strings.xml +16 -0
  172. package/src/android/libs/SalesforceSDK/res/xml/app_restrictions.xml +45 -0
  173. package/src/android/libs/SalesforceSDK/res/xml/authenticator.xml +3 -0
  174. package/src/android/libs/SalesforceSDK/res/xml/servers.xml +5 -0
  175. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/accounts/UserAccount.java +782 -0
  176. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/accounts/UserAccountBuilder.java +363 -0
  177. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/accounts/UserAccountManager.java +619 -0
  178. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/analytics/AILTNPublisher.java +190 -0
  179. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/analytics/AnalyticsPublisher.java +45 -0
  180. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/analytics/AnalyticsPublisherService.java +78 -0
  181. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/analytics/EventBuilderHelper.java +151 -0
  182. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/analytics/SalesforceAnalyticsManager.java +497 -0
  183. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/app/Features.java +46 -0
  184. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/app/SalesforceSDKManager.java +1401 -0
  185. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/app/SalesforceSDKUpgradeManager.java +196 -0
  186. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/auth/AuthenticatorService.java +387 -0
  187. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/auth/HttpAccess.java +185 -0
  188. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/auth/OAuth2.java +713 -0
  189. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/auth/idp/IDPAccountPickerActivity.java +265 -0
  190. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/auth/idp/IDPCodeGeneratorActivity.java +186 -0
  191. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/auth/idp/IDPInititatedLoginReceiver.java +136 -0
  192. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/auth/idp/IDPRequestHandler.java +181 -0
  193. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/auth/idp/SPConfig.java +171 -0
  194. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/auth/idp/SPRequestHandler.java +172 -0
  195. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/config/AbstractPrefsManager.java +171 -0
  196. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/config/AdminPermsManager.java +46 -0
  197. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/config/AdminSettingsManager.java +46 -0
  198. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/config/BootConfig.java +378 -0
  199. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/config/LoginServerManager.java +435 -0
  200. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/config/RuntimeConfig.java +223 -0
  201. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/push/PushMessaging.java +428 -0
  202. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/push/PushNotificationDecryptor.java +133 -0
  203. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/push/PushNotificationInterface.java +41 -0
  204. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/push/PushService.java +419 -0
  205. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/push/SFDCFcmListenerService.java +52 -0
  206. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/push/SFDCRegistrationIntentService.java +75 -0
  207. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/rest/ApiVersionStrings.java +68 -0
  208. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/rest/BatchRequest.java +95 -0
  209. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/rest/BatchResponse.java +51 -0
  210. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/rest/ClientManager.java +868 -0
  211. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/rest/CollectionResponse.java +98 -0
  212. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/rest/CompositeRequest.java +92 -0
  213. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/rest/CompositeResponse.java +91 -0
  214. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/rest/PrimingRecordsResponse.java +140 -0
  215. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/rest/RestClient.java +856 -0
  216. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/rest/RestRequest.java +1008 -0
  217. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/rest/RestResponse.java +256 -0
  218. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/rest/files/ApiRequests.java +75 -0
  219. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/rest/files/ConnectUriBuilder.java +117 -0
  220. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/rest/files/FileRequests.java +215 -0
  221. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/rest/files/RenditionType.java +44 -0
  222. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/security/KeyStoreWrapper.java +245 -0
  223. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/security/SalesforceKeyGenerator.java +205 -0
  224. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/security/ScreenLockManager.java +163 -0
  225. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/ui/AccountSwitcherActivity.java +155 -0
  226. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/ui/CustomServerUrlEditor.java +173 -0
  227. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/ui/DevInfoActivity.java +77 -0
  228. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/ui/LoginActivity.java +509 -0
  229. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/ui/ManageSpaceActivity.java +88 -0
  230. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/ui/OAuthWebviewHelper.java +922 -0
  231. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/ui/SalesforceActivity.java +82 -0
  232. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/ui/SalesforceActivityDelegate.java +148 -0
  233. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/ui/SalesforceActivityInterface.java +55 -0
  234. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/ui/SalesforceExpandableListActivity.java +84 -0
  235. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/ui/SalesforceListActivity.java +84 -0
  236. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/ui/SalesforceServerRadioButton.java +122 -0
  237. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/ui/ScreenLockActivity.java +270 -0
  238. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/ui/ServerPickerActivity.java +266 -0
  239. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/ui/UserAccountAdapter.java +96 -0
  240. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/util/AuthConfigTask.java +92 -0
  241. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/util/AuthConfigUtil.java +195 -0
  242. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/util/EventsObservable.java +96 -0
  243. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/util/JSONObjectHelper.java +206 -0
  244. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/util/LogUtil.java +107 -0
  245. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/util/LogoutCompleteReceiver.java +50 -0
  246. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/util/ManagedFilesHelper.java +111 -0
  247. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/util/MapUtil.java +146 -0
  248. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/util/ResourceReaderHelper.java +111 -0
  249. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/util/SalesforceSDKLogger.java +160 -0
  250. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/util/UriFragmentParser.java +83 -0
  251. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/util/UserSwitchReceiver.java +50 -0
  252. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/util/test/BroadcastListenerQueue.java +69 -0
  253. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/util/test/EventsListenerQueue.java +129 -0
  254. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/util/test/EventsObserver.java +37 -0
  255. package/src/android/libs/SalesforceSDK/src/com/salesforce/androidsdk/util/test/TestCredentials.java +80 -0
  256. package/src/android/libs/SmartStore/AndroidManifest.xml +19 -0
  257. package/src/android/libs/SmartStore/build.gradle +77 -0
  258. package/src/android/libs/SmartStore/proguard.cfg +40 -0
  259. package/src/android/libs/SmartStore/res/drawable/sf__inspector_key_icon.xml +10 -0
  260. package/src/android/libs/SmartStore/res/drawable/sf__inspector_store_icon.xml +10 -0
  261. package/src/android/libs/SmartStore/res/layout/sf__inspector.xml +91 -0
  262. package/src/android/libs/SmartStore/res/layout/sf__inspector_key_value_results_cell.xml +27 -0
  263. package/src/android/libs/SmartStore/res/layout/sf__inspector_menu_popup_item.xml +6 -0
  264. package/src/android/libs/SmartStore/res/layout/sf__inspector_result_cell.xml +3 -0
  265. package/src/android/libs/SmartStore/res/layout/sf__key_value_inspector.xml +76 -0
  266. package/src/android/libs/SmartStore/res/raw/globalstore.json +5 -0
  267. package/src/android/libs/SmartStore/res/raw/userstore.json +5 -0
  268. package/src/android/libs/SmartStore/res/values/sf__colors.xml +8 -0
  269. package/src/android/libs/SmartStore/res/values/sf__dimens.xml +11 -0
  270. package/src/android/libs/SmartStore/res/values/sf__strings.xml +27 -0
  271. package/src/android/libs/SmartStore/res/values/sf__styles.xml +52 -0
  272. package/src/android/libs/SmartStore/res/values/strings.xml +8 -0
  273. package/src/android/libs/SmartStore/src/com/salesforce/androidsdk/smartstore/app/Features.java +38 -0
  274. package/src/android/libs/SmartStore/src/com/salesforce/androidsdk/smartstore/app/SmartStoreSDKManager.java +619 -0
  275. package/src/android/libs/SmartStore/src/com/salesforce/androidsdk/smartstore/app/SmartStoreUpgradeManager.java +95 -0
  276. package/src/android/libs/SmartStore/src/com/salesforce/androidsdk/smartstore/config/StoreConfig.java +139 -0
  277. package/src/android/libs/SmartStore/src/com/salesforce/androidsdk/smartstore/store/AlterSoupLongOperation.java +627 -0
  278. package/src/android/libs/SmartStore/src/com/salesforce/androidsdk/smartstore/store/DBHelper.java +649 -0
  279. package/src/android/libs/SmartStore/src/com/salesforce/androidsdk/smartstore/store/DBOpenHelper.java +653 -0
  280. package/src/android/libs/SmartStore/src/com/salesforce/androidsdk/smartstore/store/IndexSpec.java +185 -0
  281. package/src/android/libs/SmartStore/src/com/salesforce/androidsdk/smartstore/store/KeyValueEncryptedFileStore.java +496 -0
  282. package/src/android/libs/SmartStore/src/com/salesforce/androidsdk/smartstore/store/KeyValueStore.java +55 -0
  283. package/src/android/libs/SmartStore/src/com/salesforce/androidsdk/smartstore/store/LongOperation.java +75 -0
  284. package/src/android/libs/SmartStore/src/com/salesforce/androidsdk/smartstore/store/MemCachedKeyValueStore.java +120 -0
  285. package/src/android/libs/SmartStore/src/com/salesforce/androidsdk/smartstore/store/QuerySpec.java +545 -0
  286. package/src/android/libs/SmartStore/src/com/salesforce/androidsdk/smartstore/store/SmartSqlHelper.java +216 -0
  287. package/src/android/libs/SmartStore/src/com/salesforce/androidsdk/smartstore/store/SmartStore.java +1827 -0
  288. package/src/android/libs/SmartStore/src/com/salesforce/androidsdk/smartstore/store/SoupSpec.java +130 -0
  289. package/src/android/libs/SmartStore/src/com/salesforce/androidsdk/smartstore/store/StoreCursor.java +130 -0
  290. package/src/android/libs/SmartStore/src/com/salesforce/androidsdk/smartstore/ui/KeyValueStoreInspectorActivity.java +223 -0
  291. package/src/android/libs/SmartStore/src/com/salesforce/androidsdk/smartstore/ui/SmartStoreInspectorActivity.java +506 -0
  292. package/src/android/libs/SmartStore/src/com/salesforce/androidsdk/smartstore/util/SmartStoreLogger.java +160 -0
  293. package/src/ios/classes/AppDelegate+SalesforceHybridSDK.h +30 -0
  294. package/src/ios/classes/AppDelegate+SalesforceHybridSDK.m +156 -0
  295. package/src/ios/classes/InitialViewController.h +31 -0
  296. package/src/ios/classes/InitialViewController.m +62 -0
  297. package/src/ios/classes/UIApplication+SalesforceHybridSDK.h +38 -0
  298. package/src/ios/classes/UIApplication+SalesforceHybridSDK.m +89 -0
  299. package/src/ios/resources/Images.xcassets/AppIcon.appiconset/Contents.json +121 -0
  300. package/src/ios/resources/Images.xcassets/AppIcon.appiconset/appicon120x120.png +0 -0
  301. package/src/ios/resources/Images.xcassets/AppIcon.appiconset/appicon152x152.png +0 -0
  302. package/src/ios/resources/Images.xcassets/AppIcon.appiconset/appicon167x167.png +0 -0
  303. package/src/ios/resources/Images.xcassets/AppIcon.appiconset/appicon180x180.png +0 -0
  304. package/src/ios/resources/Images.xcassets/AppIcon.appiconset/appicon20x20.png +0 -0
  305. package/src/ios/resources/Images.xcassets/AppIcon.appiconset/appicon29x29.png +0 -0
  306. package/src/ios/resources/Images.xcassets/AppIcon.appiconset/appicon40x40.png +0 -0
  307. package/src/ios/resources/Images.xcassets/AppIcon.appiconset/appicon58x58.png +0 -0
  308. package/src/ios/resources/Images.xcassets/AppIcon.appiconset/appicon60x60.png +0 -0
  309. package/src/ios/resources/Images.xcassets/AppIcon.appiconset/appicon76x76.png +0 -0
  310. package/src/ios/resources/Images.xcassets/AppIcon.appiconset/appicon80x80.png +0 -0
  311. package/src/ios/resources/Images.xcassets/AppIcon.appiconset/appicon87x87.png +0 -0
  312. package/src/ios/resources/Images.xcassets/Contents.json +6 -0
  313. package/src/ios/resources/SalesforceSDKAssets.xcassets/AppIcon.appiconset/Contents.json +98 -0
  314. package/src/ios/resources/SalesforceSDKAssets.xcassets/Contents.json +6 -0
  315. package/src/ios/resources/SalesforceSDKAssets.xcassets/account-add.imageset/Contents.json +23 -0
  316. package/src/ios/resources/SalesforceSDKAssets.xcassets/account-add.imageset/add@1x.png +0 -0
  317. package/src/ios/resources/SalesforceSDKAssets.xcassets/account-add.imageset/add@2x.png +0 -0
  318. package/src/ios/resources/SalesforceSDKAssets.xcassets/account-add.imageset/add@3x.png +0 -0
  319. package/src/ios/resources/SalesforceSDKAssets.xcassets/faceId.imageset/Contents.json +56 -0
  320. package/src/ios/resources/SalesforceSDKAssets.xcassets/faceId.imageset/faceId-dark.png +0 -0
  321. package/src/ios/resources/SalesforceSDKAssets.xcassets/faceId.imageset/faceId-dark@2x.png +0 -0
  322. package/src/ios/resources/SalesforceSDKAssets.xcassets/faceId.imageset/faceId-dark@3x.png +0 -0
  323. package/src/ios/resources/SalesforceSDKAssets.xcassets/faceId.imageset/faceId.png +0 -0
  324. package/src/ios/resources/SalesforceSDKAssets.xcassets/faceId.imageset/faceId@2x.png +0 -0
  325. package/src/ios/resources/SalesforceSDKAssets.xcassets/faceId.imageset/faceId@3x.png +0 -0
  326. package/src/ios/resources/SalesforceSDKAssets.xcassets/globalheader-back-arrow.imageset/Contents.json +23 -0
  327. package/src/ios/resources/SalesforceSDKAssets.xcassets/globalheader-back-arrow.imageset/globalheader-back-arrow.png +0 -0
  328. package/src/ios/resources/SalesforceSDKAssets.xcassets/globalheader-back-arrow.imageset/globalheader-back-arrow@2x.png +0 -0
  329. package/src/ios/resources/SalesforceSDKAssets.xcassets/globalheader-back-arrow.imageset/globalheader-back-arrow@3x.png +0 -0
  330. package/src/ios/resources/SalesforceSDKAssets.xcassets/login-window-gear.imageset/Contents.json +23 -0
  331. package/src/ios/resources/SalesforceSDKAssets.xcassets/login-window-gear.imageset/login-window-gear.png +0 -0
  332. package/src/ios/resources/SalesforceSDKAssets.xcassets/login-window-gear.imageset/login-window-gear@2x.png +0 -0
  333. package/src/ios/resources/SalesforceSDKAssets.xcassets/login-window-gear.imageset/login-window-gear@3x.png +0 -0
  334. package/src/ios/resources/SalesforceSDKAssets.xcassets/profile-placeholder.imageset/Contents.json +23 -0
  335. package/src/ios/resources/SalesforceSDKAssets.xcassets/profile-placeholder.imageset/ios_astro_circle@1x.png +0 -0
  336. package/src/ios/resources/SalesforceSDKAssets.xcassets/profile-placeholder.imageset/ios_astro_circle@2x.png +0 -0
  337. package/src/ios/resources/SalesforceSDKAssets.xcassets/profile-placeholder.imageset/ios_astro_circle@3x.png +0 -0
  338. package/src/ios/resources/SalesforceSDKAssets.xcassets/salesforce-logo.imageset/Contents.json +23 -0
  339. package/src/ios/resources/SalesforceSDKAssets.xcassets/salesforce-logo.imageset/salesforce-logo1x.png +0 -0
  340. package/src/ios/resources/SalesforceSDKAssets.xcassets/salesforce-logo.imageset/salesforce-logo2x.png +0 -0
  341. package/src/ios/resources/SalesforceSDKAssets.xcassets/salesforce-logo.imageset/salesforce-logo3x.png +0 -0
  342. package/src/ios/resources/SalesforceSDKAssets.xcassets/touchId.imageset/Contents.json +56 -0
  343. package/src/ios/resources/SalesforceSDKAssets.xcassets/touchId.imageset/touchId-dark.png +0 -0
  344. package/src/ios/resources/SalesforceSDKAssets.xcassets/touchId.imageset/touchId-dark@2x.png +0 -0
  345. package/src/ios/resources/SalesforceSDKAssets.xcassets/touchId.imageset/touchId-dark@3x.png +0 -0
  346. package/src/ios/resources/SalesforceSDKAssets.xcassets/touchId.imageset/touchId.png +0 -0
  347. package/src/ios/resources/SalesforceSDKAssets.xcassets/touchId.imageset/touchId@2x.png +0 -0
  348. package/src/ios/resources/SalesforceSDKAssets.xcassets/touchId.imageset/touchId@3x.png +0 -0
  349. package/src/ios/resources/SalesforceSDKResources.bundle/en.lproj/Localizable.strings +117 -0
  350. package/tools/README.md +8 -0
  351. package/tools/postinstall-android.js +112 -0
  352. package/tools/split.js +56 -0
  353. package/tools/update.sh +226 -0
  354. package/www/com.salesforce.plugin.mobilesync.js +196 -0
  355. package/www/com.salesforce.plugin.network.js +51 -0
  356. package/www/com.salesforce.plugin.oauth.js +115 -0
  357. package/www/com.salesforce.plugin.sdkinfo.js +79 -0
  358. package/www/com.salesforce.plugin.sfaccountmanager.js +129 -0
  359. package/www/com.salesforce.plugin.smartstore.client.js +65 -0
  360. package/www/com.salesforce.plugin.smartstore.js +510 -0
  361. package/www/com.salesforce.util.bootstrap.js +59 -0
  362. package/www/com.salesforce.util.event.js +59 -0
  363. package/www/com.salesforce.util.exec.js +55 -0
  364. package/www/com.salesforce.util.logger.js +101 -0
  365. package/www/com.salesforce.util.promiser.js +67 -0
  366. package/www/com.salesforce.util.push.js +76 -0
package/, ADDED
@@ -0,0 +1,35 @@
1
+ # Cordova Plugin for Salesforce Mobile SDK
2
+
3
+ The **Salesforce Mobile SDK Cordova Plugin** npm package allows users to interface their hybrid iOS and Android mobile applications with the [Salesforce Platform](http://www.salesforce.com/platform/overview/), leveraging [Salesforce Mobile SDK for iOS](https://github.com/forcedotcom/SalesforceMobileSDK-iOS) and [Salesforce Mobile SDK for Android](https://github.com/forcedotcom/SalesforceMobileSDK-Android).
4
+
5
+ ## Getting Started
6
+
7
+ If you're new to mobile development or the force.com platform, you may want to start at the [Mobile SDK landing page](http://wiki.developerforce.com/page/Mobile_SDK). This page offers a variety of resources to help you determine the best technology path for creating your app, as well as many guides and blog posts detailing how to work with Mobile SDK.
8
+
9
+ ## Starting from scratch
10
+
11
+ If you are starting from scratch, we recommend you use our [**forcehybrid**]((https://npmjs.org/package/forcehybrid) command-line utility.
12
+
13
+ ## Adding the plugin to your existing Cordova procject
14
+
15
+ If you already have a Cordova project, you can add the plugin to it by doing:
16
+ cordova plugin add salesforcemobilesdk-cordovaplugin
17
+
18
+
19
+ ## More information
20
+
21
+ - You can find the `forcehybrid` npm package [here](https://npmjs.org/package/forcehybrid) to develop Mobile SDK hybrid apps for iOS and Android.
22
+
23
+ - You can find the `forceios` npm package [here](https://npmjs.org/package/forcedroid) to develop Mobile SDK apps for iOS.
24
+
25
+ - You can find the `forcedroid` npm package [here](https://npmjs.org/package/forcedroid) to develop Mobile SDK apps for Android.
26
+
27
+ - You can find the `forcereact` npm package [here](https://npmjs.org/package/forcereact) to develop Mobile SDK react native apps for iOS and Android.
28
+
29
+ - The Salesforce Mobile SDK for iOS source repository lives [here](https://github.com/forcedotcom/SalesforceMobileSDK-iOS).
30
+
31
+ - The Salesforce Mobile SDK for Android source repository lives [here](https://github.com/forcedotcom/SalesforceMobileSDK-Android).
32
+
33
+ - See [our developerforce site](http://wiki.developerforce.com/page/Mobile_SDK) for more information about how you can leverage Salesforce Mobile SDK with the force.com platform.
34
+
35
+ - If you would like to make suggestions, have questions, or encounter any issues, we'd love to hear from you. Post any feedback you have on [Salesforce StackExchange](https://salesforce.stackexchange.com/questions/tagged/mobilesdk).
package/CODEOWNERS ADDED
@@ -0,0 +1,2 @@
1
+ # Comment line immediately above ownership line is reserved for related gus information. Please be careful while editing.
2
+ #ECCN:Open Source
@@ -0,0 +1,105 @@
1
+ # Salesforce Open Source Community Code of Conduct
2
+
3
+ ## About the Code of Conduct
4
+
5
+ Equality is a core value at Salesforce. We believe a diverse and inclusive
6
+ community fosters innovation and creativity, and are committed to building a
7
+ culture where everyone feels included.
8
+
9
+ Salesforce open-source projects are committed to providing a friendly, safe, and
10
+ welcoming environment for all, regardless of gender identity and expression,
11
+ sexual orientation, disability, physical appearance, body size, ethnicity, nationality,
12
+ race, age, religion, level of experience, education, socioeconomic status, or
13
+ other similar personal characteristics.
14
+
15
+ The goal of this code of conduct is to specify a baseline standard of behavior so
16
+ that people with different social values and communication styles can work
17
+ together effectively, productively, and respectfully in our open source community.
18
+ It also establishes a mechanism for reporting issues and resolving conflicts.
19
+
20
+ All questions and reports of abusive, harassing, or otherwise unacceptable behavior
21
+ in a Salesforce open-source project may be reported by contacting the Salesforce
22
+ Open Source Conduct Committee at ossconduct@salesforce.com.
23
+
24
+ ## Our Pledge
25
+
26
+ In the interest of fostering an open and welcoming environment, we as
27
+ contributors and maintainers pledge to making participation in our project and
28
+ our community a harassment-free experience for everyone, regardless of gender
29
+ identity and expression, sexual orientation, disability, physical appearance,
30
+ body size, ethnicity, nationality, race, age, religion, level of experience, education,
31
+ socioeconomic status, or other similar personal characteristics.
32
+
33
+ ## Our Standards
34
+
35
+ Examples of behavior that contributes to creating a positive environment
36
+ include:
37
+
38
+ * Using welcoming and inclusive language
39
+ * Being respectful of differing viewpoints and experiences
40
+ * Gracefully accepting constructive criticism
41
+ * Focusing on what is best for the community
42
+ * Showing empathy toward other community members
43
+
44
+ Examples of unacceptable behavior by participants include:
45
+
46
+ * The use of sexualized language or imagery and unwelcome sexual attention or
47
+ advances
48
+ * Personal attacks, insulting/derogatory comments, or trolling
49
+ * Public or private harassment
50
+ * Publishing, or threatening to publish, others' private information—such as
51
+ a physical or electronic address—without explicit permission
52
+ * Other conduct which could reasonably be considered inappropriate in a
53
+ professional setting
54
+ * Advocating for or encouraging any of the above behaviors
55
+
56
+ ## Our Responsibilities
57
+
58
+ Project maintainers are responsible for clarifying the standards of acceptable
59
+ behavior and are expected to take appropriate and fair corrective action in
60
+ response to any instances of unacceptable behavior.
61
+
62
+ Project maintainers have the right and responsibility to remove, edit, or
63
+ reject comments, commits, code, wiki edits, issues, and other contributions
64
+ that are not aligned with this Code of Conduct, or to ban temporarily or
65
+ permanently any contributor for other behaviors that they deem inappropriate,
66
+ threatening, offensive, or harmful.
67
+
68
+ ## Scope
69
+
70
+ This Code of Conduct applies both within project spaces and in public spaces
71
+ when an individual is representing the project or its community. Examples of
72
+ representing a project or community include using an official project email
73
+ address, posting via an official social media account, or acting as an appointed
74
+ representative at an online or offline event. Representation of a project may be
75
+ further defined and clarified by project maintainers.
76
+
77
+ ## Enforcement
78
+
79
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
80
+ reported by contacting the Salesforce Open Source Conduct Committee
81
+ at ossconduct@salesforce.com. All complaints will be reviewed and investigated
82
+ and will result in a response that is deemed necessary and appropriate to the
83
+ circumstances. The committee is obligated to maintain confidentiality with
84
+ regard to the reporter of an incident. Further details of specific enforcement
85
+ policies may be posted separately.
86
+
87
+ Project maintainers who do not follow or enforce the Code of Conduct in good
88
+ faith may face temporary or permanent repercussions as determined by other
89
+ members of the project's leadership and the Salesforce Open Source Conduct
90
+ Committee.
91
+
92
+ ## Attribution
93
+
94
+ This Code of Conduct is adapted from the [Contributor Covenant][contributor-covenant-home],
95
+ version 1.4, available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html.
96
+ It includes adaptions and additions from [Go Community Code of Conduct][golang-coc],
97
+ [CNCF Code of Conduct][cncf-coc], and [Microsoft Open Source Code of Conduct][microsoft-coc].
98
+
99
+ This Code of Conduct is licensed under the [Creative Commons Attribution 3.0 License][cc-by-3-us].
100
+
101
+ [contributor-covenant-home]: https://www.contributor-covenant.org (https://www.contributor-covenant.org/)
102
+ [golang-coc]: https://golang.org/conduct
103
+ [cncf-coc]: https://github.com/cncf/foundation/blob/master/code-of-conduct.md
104
+ [microsoft-coc]: https://opensource.microsoft.com/codeofconduct/
105
+ [cc-by-3-us]: https://creativecommons.org/licenses/by/3.0/us/
package/LICENSE.md ADDED
@@ -0,0 +1,356 @@
1
+ Copyright (c) 2011-present, salesforce.com, inc. All rights reserved.
2
+ ========================================
3
+
4
+ Redistribution and use of this software in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
5
+
6
+ * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
7
+ * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
8
+ * Neither the name of salesforce.com, inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission of salesforce.com, inc.
9
+
10
+
11
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
12
+
13
+ Sources of Intellectual Property Included in the [mobile development kit]
14
+ =========================================================================
15
+
16
+ [mobile development kit] is issued by salesforce.com under the BSD license above. Below is a list of certain publicly available software that is the source of intellectual property in [mobile development kit], along with the licensing terms that pertain to those sources of IP. This list is for informational purposes only and is not intended to represent an exhaustive list of third party contributions to the [mobile development kit].
17
+
18
+ 1. **SQLCipher**:
19
+ Copyright (c) 2008, ZETETIC LLC
20
+ All rights reserved.
21
+
22
+ Redistribution and use in source and binary forms, with or without
23
+ modification, are permitted provided that the following conditions are met:
24
+ * Redistributions of source code must retain the above copyright
25
+ notice, this list of conditions and the following disclaimer.
26
+ * Redistributions in binary form must reproduce the above copyright
27
+ notice, this list of conditions and the following disclaimer in the
28
+ documentation and/or other materials provided with the distribution.
29
+ * Neither the name of the ZETETIC LLC nor the
30
+ names of its contributors may be used to endorse or promote products
31
+ derived from this software without specific prior written permission.
32
+
33
+ THIS SOFTWARE IS PROVIDED BY ZETETIC LLC ''AS IS'' AND ANY
34
+ EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
35
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
36
+ DISCLAIMED. IN NO EVENT SHALL ZETETIC LLC BE LIABLE FOR ANY
37
+ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
38
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
39
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
40
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
41
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
42
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
43
+
44
+ 2. **Apache Cordova:**
45
+
46
+ Apache License
47
+ Version 2.0, January 2004
48
+ http://www.apache.org/licenses/
49
+
50
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
51
+
52
+ 1. Definitions.
53
+
54
+ "License" shall mean the terms and conditions for use, reproduction,
55
+ and distribution as defined by Sections 1 through 9 of this document.
56
+
57
+ "Licensor" shall mean the copyright owner or entity authorized by
58
+ the copyright owner that is granting the License.
59
+
60
+ "Legal Entity" shall mean the union of the acting entity and all
61
+ other entities that control, are controlled by, or are under common
62
+ control with that entity. For the purposes of this definition,
63
+ "control" means (i) the power, direct or indirect, to cause the
64
+ direction or management of such entity, whether by contract or
65
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
66
+ outstanding shares, or (iii) beneficial ownership of such entity.
67
+
68
+ "You" (or "Your") shall mean an individual or Legal Entity
69
+ exercising permissions granted by this License.
70
+
71
+ "Source" form shall mean the preferred form for making modifications,
72
+ including but not limited to software source code, documentation
73
+ source, and configuration files.
74
+
75
+ "Object" form shall mean any form resulting from mechanical
76
+ transformation or translation of a Source form, including but
77
+ not limited to compiled object code, generated documentation,
78
+ and conversions to other media types.
79
+
80
+ "Work" shall mean the work of authorship, whether in Source or
81
+ Object form, made available under the License, as indicated by a
82
+ copyright notice that is included in or attached to the work
83
+ (an example is provided in the Appendix below).
84
+
85
+ "Derivative Works" shall mean any work, whether in Source or Object
86
+ form, that is based on (or derived from) the Work and for which the
87
+ editorial revisions, annotations, elaborations, or other modifications
88
+ represent, as a whole, an original work of authorship. For the purposes
89
+ of this License, Derivative Works shall not include works that remain
90
+ separable from, or merely link (or bind by name) to the interfaces of,
91
+ the Work and Derivative Works thereof.
92
+
93
+ "Contribution" shall mean any work of authorship, including
94
+ the original version of the Work and any modifications or additions
95
+ to that Work or Derivative Works thereof, that is intentionally
96
+ submitted to Licensor for inclusion in the Work by the copyright owner
97
+ or by an individual or Legal Entity authorized to submit on behalf of
98
+ the copyright owner. For the purposes of this definition, "submitted"
99
+ means any form of electronic, verbal, or written communication sent
100
+ to the Licensor or its representatives, including but not limited to
101
+ communication on electronic mailing lists, source code control systems,
102
+ and issue tracking systems that are managed by, or on behalf of, the
103
+ Licensor for the purpose of discussing and improving the Work, but
104
+ excluding communication that is conspicuously marked or otherwise
105
+ designated in writing by the copyright owner as "Not a Contribution."
106
+
107
+ "Contributor" shall mean Licensor and any individual or Legal Entity
108
+ on behalf of whom a Contribution has been received by Licensor and
109
+ subsequently incorporated within the Work.
110
+
111
+ 2. Grant of Copyright License. Subject to the terms and conditions of
112
+ this License, each Contributor hereby grants to You a perpetual,
113
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
114
+ copyright license to reproduce, prepare Derivative Works of,
115
+ publicly display, publicly perform, sublicense, and distribute the
116
+ Work and such Derivative Works in Source or Object form.
117
+
118
+ 3. Grant of Patent License. Subject to the terms and conditions of
119
+ this License, each Contributor hereby grants to You a perpetual,
120
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
121
+ (except as stated in this section) patent license to make, have made,
122
+ use, offer to sell, sell, import, and otherwise transfer the Work,
123
+ where such license applies only to those patent claims licensable
124
+ by such Contributor that are necessarily infringed by their
125
+ Contribution(s) alone or by combination of their Contribution(s)
126
+ with the Work to which such Contribution(s) was submitted. If You
127
+ institute patent litigation against any entity (including a
128
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
129
+ or a Contribution incorporated within the Work constitutes direct
130
+ or contributory patent infringement, then any patent licenses
131
+ granted to You under this License for that Work shall terminate
132
+ as of the date such litigation is filed.
133
+
134
+ 4. Redistribution. You may reproduce and distribute copies of the
135
+ Work or Derivative Works thereof in any medium, with or without
136
+ modifications, and in Source or Object form, provided that You
137
+ meet the following conditions:
138
+
139
+ (a) You must give any other recipients of the Work or
140
+ Derivative Works a copy of this License; and
141
+
142
+ (b) You must cause any modified files to carry prominent notices
143
+ stating that You changed the files; and
144
+
145
+ (c) You must retain, in the Source form of any Derivative Works
146
+ that You distribute, all copyright, patent, trademark, and
147
+ attribution notices from the Source form of the Work,
148
+ excluding those notices that do not pertain to any part of
149
+ the Derivative Works; and
150
+
151
+ (d) If the Work includes a "NOTICE" text file as part of its
152
+ distribution, then any Derivative Works that You distribute must
153
+ include a readable copy of the attribution notices contained
154
+ within such NOTICE file, excluding those notices that do not
155
+ pertain to any part of the Derivative Works, in at least one
156
+ of the following places: within a NOTICE text file distributed
157
+ as part of the Derivative Works; within the Source form or
158
+ documentation, if provided along with the Derivative Works; or,
159
+ within a display generated by the Derivative Works, if and
160
+ wherever such third-party notices normally appear. The contents
161
+ of the NOTICE file are for informational purposes only and
162
+ do not modify the License. You may add Your own attribution
163
+ notices within Derivative Works that You distribute, alongside
164
+ or as an addendum to the NOTICE text from the Work, provided
165
+ that such additional attribution notices cannot be construed
166
+ as modifying the License.
167
+
168
+ You may add Your own copyright statement to Your modifications and
169
+ may provide additional or different license terms and conditions
170
+ for use, reproduction, or distribution of Your modifications, or
171
+ for any such Derivative Works as a whole, provided Your use,
172
+ reproduction, and distribution of the Work otherwise complies with
173
+ the conditions stated in this License.
174
+
175
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
176
+ any Contribution intentionally submitted for inclusion in the Work
177
+ by You to the Licensor shall be under the terms and conditions of
178
+ this License, without any additional terms or conditions.
179
+ Notwithstanding the above, nothing herein shall supersede or modify
180
+ the terms of any separate license agreement you may have executed
181
+ with Licensor regarding such Contributions.
182
+
183
+ 6. Trademarks. This License does not grant permission to use the trade
184
+ names, trademarks, service marks, or product names of the Licensor,
185
+ except as required for reasonable and customary use in describing the
186
+ origin of the Work and reproducing the content of the NOTICE file.
187
+
188
+ 7. Disclaimer of Warranty. Unless required by applicable law or
189
+ agreed to in writing, Licensor provides the Work (and each
190
+ Contributor provides its Contributions) on an "AS IS" BASIS,
191
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
192
+ implied, including, without limitation, any warranties or conditions
193
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
194
+ PARTICULAR PURPOSE. You are solely responsible for determining the
195
+ appropriateness of using or redistributing the Work and assume any
196
+ risks associated with Your exercise of permissions under this License.
197
+
198
+ 8. Limitation of Liability. In no event and under no legal theory,
199
+ whether in tort (including negligence), contract, or otherwise,
200
+ unless required by applicable law (such as deliberate and grossly
201
+ negligent acts) or agreed to in writing, shall any Contributor be
202
+ liable to You for damages, including any direct, indirect, special,
203
+ incidental, or consequential damages of any character arising as a
204
+ result of this License or out of the use or inability to use the
205
+ Work (including but not limited to damages for loss of goodwill,
206
+ work stoppage, computer failure or malfunction, or any and all
207
+ other commercial damages or losses), even if such Contributor
208
+ has been advised of the possibility of such damages.
209
+
210
+ 9. Accepting Warranty or Additional Liability. While redistributing
211
+ the Work or Derivative Works thereof, You may choose to offer,
212
+ and charge a fee for, acceptance of support, warranty, indemnity,
213
+ or other liability obligations and/or rights consistent with this
214
+ License. However, in accepting such obligations, You may act only
215
+ on Your own behalf and on Your sole responsibility, not on behalf
216
+ of any other Contributor, and only if You agree to indemnify,
217
+ defend, and hold each Contributor harmless for any liability
218
+ incurred by, or claims asserted against, such Contributor by reason
219
+ of your accepting any such warranty or additional liability.
220
+
221
+ END OF TERMS AND CONDITIONS
222
+
223
+ APPENDIX: How to apply the Apache License to your work.
224
+
225
+ To apply the Apache License to your work, attach the following
226
+ boilerplate notice, with the fields enclosed by brackets "[]"
227
+ replaced with your own identifying information. (Don't include
228
+ the brackets!) The text should be enclosed in the appropriate
229
+ comment syntax for the file format. We also recommend that a
230
+ file or class name and description of purpose be included on the
231
+ same "printed page" as the copyright notice for easier
232
+ identification within third-party archives.
233
+
234
+ Copyright 2015 Apache Cordova
235
+
236
+ Licensed under the Apache License, Version 2.0 (the "License");
237
+ you may not use this file except in compliance with the License.
238
+ You may obtain a copy of the License at
239
+
240
+ http://www.apache.org/licenses/LICENSE-2.0
241
+
242
+ Unless required by applicable law or agreed to in writing, software
243
+ distributed under the License is distributed on an "AS IS" BASIS,
244
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
245
+ See the License for the specific language governing permissions and
246
+ limitations under the License.
247
+
248
+ ADDITIONAL LICENSES:
249
+
250
+ ================================================================================
251
+ bin/node_modules/q
252
+ ================================================================================
253
+
254
+ Copyright 2009–2012 Kristopher Michael Kowal. All rights reserved.
255
+ Permission is hereby granted, free of charge, to any person obtaining a copy
256
+ of this software and associated documentation files (the "Software"), to
257
+ deal in the Software without restriction, including without limitation the
258
+ rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
259
+ sell copies of the Software, and to permit persons to whom the Software is
260
+ furnished to do so, subject to the following conditions:
261
+
262
+ The above copyright notice and this permission notice shall be included in
263
+ all copies or substantial portions of the Software.
264
+
265
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
266
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
267
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
268
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
269
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
270
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
271
+ IN THE SOFTWARE.
272
+
273
+ ================================================================================
274
+ bin/node_modules/shelljs
275
+ ================================================================================
276
+ Copyright (c) 2012, Artur Adib <aadib@mozilla.com>
277
+ All rights reserved.
278
+
279
+ You may use this project under the terms of the New BSD license as follows:
280
+
281
+ Redistribution and use in source and binary forms, with or without
282
+ modification, are permitted provided that the following conditions are met:
283
+ * Redistributions of source code must retain the above copyright
284
+ notice, this list of conditions and the following disclaimer.
285
+ * Redistributions in binary form must reproduce the above copyright
286
+ notice, this list of conditions and the following disclaimer in the
287
+ documentation and/or other materials provided with the distribution.
288
+ * Neither the name of Artur Adib nor the
289
+ names of the contributors may be used to endorse or promote products
290
+ derived from this software without specific prior written permission.
291
+
292
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
293
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
294
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
295
+ ARE DISCLAIMED. IN NO EVENT SHALL ARTUR ADIB BE LIABLE FOR ANY
296
+ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
297
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
298
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
299
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
300
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
301
+ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
302
+
303
+ ================================================================================
304
+ bin/node_modules/nopt
305
+ ================================================================================
306
+ Copyright 2009, 2010, 2011 Isaac Z. Schlueter.
307
+ All rights reserved.
308
+
309
+ Permission is hereby granted, free of charge, to any person
310
+ obtaining a copy of this software and associated documentation
311
+ files (the "Software"), to deal in the Software without
312
+ restriction, including without limitation the rights to use,
313
+ copy, modify, merge, publish, distribute, sublicense, and/or sell
314
+ copies of the Software, and to permit persons to whom the
315
+ Software is furnished to do so, subject to the following
316
+ conditions:
317
+
318
+ The above copyright notice and this permission notice shall be
319
+ included in all copies or substantial portions of the Software.
320
+
321
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
322
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
323
+ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
324
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
325
+ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
326
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
327
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
328
+ OTHER DEALINGS IN THE SOFTWARE.
329
+
330
+ ================================================================================
331
+ bin/node_modules/which
332
+ ================================================================================
333
+
334
+ Copyright 2009, 2010, 2011 Isaac Z. Schlueter.
335
+ All rights reserved.
336
+
337
+ Permission is hereby granted, free of charge, to any person
338
+ obtaining a copy of this software and associated documentation
339
+ files (the "Software"), to deal in the Software without
340
+ restriction, including without limitation the rights to use,
341
+ copy, modify, merge, publish, distribute, sublicense, and/or sell
342
+ copies of the Software, and to permit persons to whom the
343
+ Software is furnished to do so, subject to the following
344
+ conditions:
345
+
346
+ The above copyright notice and this permission notice shall be
347
+ included in all copies or substantial portions of the Software.
348
+
349
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
350
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
351
+ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
352
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
353
+ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
354
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
355
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
356
+ OTHER DEALINGS IN THE SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,30 @@
1
+ # Cordova Plugin for Salesforce Mobile SDK
2
+
3
+ The **Salesforce Mobile SDK Cordova Plugin** npm package allows users to interface their hybrid iOS and Android mobile applications with the [Salesforce Platform](http://www.salesforce.com/platform/overview/), leveraging [Salesforce Mobile SDK for iOS](https://github.com/forcedotcom/SalesforceMobileSDK-iOS) and [Salesforce Mobile SDK for Android](https://github.com/forcedotcom/SalesforceMobileSDK-Android).
4
+
5
+ ## Getting Started
6
+
7
+ If you're new to mobile development or the force.com platform, you may want to start at the [Mobile SDK landing page](http://wiki.developerforce.com/page/Mobile_SDK). This page offers a variety of resources to help you determine the best technology path for creating your app, as well as many guides and blog posts detailing how to work with Mobile SDK.
8
+
9
+ ## Using the Plugin
10
+
11
+ We recommend you use our [**forcehybrid**]((https://npmjs.org/package/forcehybrid) command-line utility to generate your application instead of adding the plugin to a Cordova project directly since there are a few additional steps required for the project to work.
12
+
13
+
14
+ ## More information
15
+
16
+ - You can find the `forcehybrid` npm package [here](https://npmjs.org/package/forcehybrid) to develop Mobile SDK hybrid apps for iOS and Android.
17
+
18
+ - You can find the `forceios` npm package [here](https://npmjs.org/package/forcedroid) to develop Mobile SDK apps for iOS.
19
+
20
+ - You can find the `forcedroid` npm package [here](https://npmjs.org/package/forcedroid) to develop Mobile SDK apps for Android.
21
+
22
+ - You can find the `forcereact` npm package [here](https://npmjs.org/package/forcereact) to develop Mobile SDK react native apps for iOS and Android.
23
+
24
+ - The Salesforce Mobile SDK for iOS source repository lives [here](https://github.com/forcedotcom/SalesforceMobileSDK-iOS).
25
+
26
+ - The Salesforce Mobile SDK for Android source repository lives [here](https://github.com/forcedotcom/SalesforceMobileSDK-Android).
27
+
28
+ - See [our developerforce site](http://wiki.developerforce.com/page/Mobile_SDK) for more information about how you can leverage Salesforce Mobile SDK with the force.com platform.
29
+
30
+ - If you would like to make suggestions, have questions, or encounter any issues, we'd love to hear from you. Post any feedback you have on [Salesforce StackExchange](https://salesforce.stackexchange.com/questions/tagged/mobilesdk).
package/SECURITY.md ADDED
@@ -0,0 +1,7 @@
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.
@@ -0,0 +1,5 @@
1
+ distributionBase=GRADLE_USER_HOME
2
+ distributionPath=wrapper/dists
3
+ distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip
4
+ zipStoreBase=GRADLE_USER_HOME
5
+ zipStorePath=wrapper/dists
@@ -0,0 +1,3 @@
1
+ cdvCompileSdkVersion=32
2
+ cdvMinSdkVersion=24
3
+ android.useAndroidX=true