Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## unreleased

* Bump braintree_android module dependency versions to `4.49.1`
* Bump braintree_android module dependency versions to `4.50.0`

## 6.16.0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ public void onAuthorizationResult(@Nullable Authorization authorization, @Nullab
input.put(SINGLE_USE_TOKEN_ID, paymentMethodNonce.getString());
variables.put(INPUT, input);
base.put(VARIABLES, variables);
base.put(GraphQLConstants.Keys.OPERATION_NAME,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like GraphQLConstants.Keys.OPERATION_NAME constant was removed from the braintree_android sdk that was missed during 4.50.0 publish. As it is only a constant, it is being hardcoded here.

base.put("operationName",
"DeletePaymentMethodFromSingleUseToken");
} catch (Resources.NotFoundException | IOException | JSONException e) {
Exception graphQLError = new BraintreeException("Unable to read GraphQL query");
Expand Down
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ buildscript {
}
}

ext.brainTreeVersion = "4.49.1"
ext.brainTreeVersion = "4.50.0"

ext.deps = [
"braintreeCore" : "com.braintreepayments.api:braintree-core:$brainTreeVersion",
Expand Down Expand Up @@ -40,9 +40,9 @@ version '6.16.1-SNAPSHOT'
group "com.braintreepayments"

ext {
compileSdkVersion = 34
compileSdkVersion = 35
minSdkVersion = 21
targetSdkVersion = 34
targetSdkVersion = 35
versionCode = 109
versionName = version
}
Expand Down
Loading