Skip to content

Commit

Permalink
Merge pull request #2655 from wmathurin/dev
Browse files Browse the repository at this point in the history
Moving to v63.0
  • Loading branch information
wmathurin authored Jan 23, 2025
2 parents 1a11e22 + c3fc337 commit 124cd89
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion external/shared
2 changes: 1 addition & 1 deletion libs/SalesforceSDK/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
<string name="oauth_display_type">touch</string>

<!-- Default API version used by the SDK and sample apps -->
<string name="api_version">v60.0</string>
<string name="api_version">v63.0</string>
</resources>
Original file line number Diff line number Diff line change
Expand Up @@ -252,11 +252,7 @@ open class PushService {
}

getRestClient(account)?.let { restClient ->
val apiVersion = ApiVersionStrings.getVersionNumber(SalesforceSDKManager.getInstance().appContext)
// TODO remove once MSDK default api version is 61 or greater
if (apiVersion >= "v61.0") {
fields[CIPHER_NAME] = Encryptor.CipherMode.RSA_OAEP_SHA256.name
}
fields[CIPHER_NAME] = Encryptor.CipherMode.RSA_OAEP_SHA256.name

var status = REGISTRATION_STATUS_FAILED
val response = onSendRegisterPushNotificationRequest(fields, restClient)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
*/
public class ApiVersionStrings {

public static final String VERSION_NUMBER = "v60.0";
public static final String VERSION_NUMBER = "v63.0";
public static final String API_PREFIX = "/services/data/";

public static String getBasePath() {
Expand Down

0 comments on commit 124cd89

Please sign in to comment.