Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test Squash of Base Recovery Branch #707

Merged
merged 311 commits into from
Mar 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
311 commits
Select commit Hold shift + click to select a range
5771a8e
Add comment about GitHub pages.
sshropshire Jan 13, 2023
10efb2e
Remove javadoc configuration from gradle files.
sshropshire Jan 13, 2023
76e4017
Fix suppress annotation.
sshropshire Jan 13, 2023
29b64ca
Random IBAN Generation for the Demo App (#636)
mattwylder Jan 17, 2023
f9abe33
Merge pull request #650 from braintree/dokka_html_multi_module
sshropshire Jan 17, 2023
2537fa7
Add missing public/open properties to Configuration.kt.
sshropshire Jan 17, 2023
83eb812
Merge pull request #652 from braintree/fix_migration_typos
sshropshire Jan 18, 2023
e9b2d1b
Update BraintreeCore/src/main/java/com/braintreepayments/api/Analytic…
sshropshire Jan 18, 2023
af6b1b5
Update BraintreeCore/src/main/java/com/braintreepayments/api/GraphQLC…
sshropshire Jan 18, 2023
f52445e
Remove redundant default property assignments in BraintreeApiConfigur…
sshropshire Jan 18, 2023
60b441a
Remove additional defaults in favor of JSON parsing fallback values.
sshropshire Jan 18, 2023
fbf630e
Merge pull request #651 from braintree/4.x_kotlin
sshropshire Jan 18, 2023
359df3b
Bump down kotlin-ktx version since versions > 1.1.0 require Java 8.
sshropshire Jan 18, 2023
f51cef2
Refactor InvalidAuthorization to Kotlin
Jan 19, 2023
f2c65c9
Refactor TokenizationKey to Kotlin
Jan 19, 2023
6014b5f
Refactor ClientToken to kotlin
Jan 19, 2023
34220bf
Refactor InvalidArgumentException to kotlin
Jan 19, 2023
e7fb0d1
Added mockmacker to mock finals classes
Jan 19, 2023
8e2ad3d
Merge pull request #653 from braintree/set_kotlin_ktx_version_to_1.1.0
sshropshire Jan 19, 2023
d3fb44b
Refactor Authorization class to kotlin
Jan 19, 2023
4bd32f9
Refactor AuthorizationUnitTest to kotlin
Jan 19, 2023
a4e2a8c
Refactor unit tests
Jan 19, 2023
a315981
Move documentation and init in ClientToken
Jan 19, 2023
cf7c121
Merge branch 'kotlin_authorization' into kotlin_authorization_abstracr
Jan 19, 2023
d914d28
Fix documentation in Authorization
Jan 19, 2023
a4b72a6
Remove extra space
Jan 19, 2023
cba61c5
Add next major version tag and move properties around
Jan 19, 2023
1308f62
Remove private enum
Jan 19, 2023
7c301c6
Change variables
Jan 19, 2023
6c338af
Suppress prefereed payment methods classes.
sshropshire Jan 19, 2023
bd06877
Remove additional classes from docs that should be hidden.
sshropshire Jan 19, 2023
97c16a5
Remove VisaCheckout from docs output.
sshropshire Jan 19, 2023
60c75aa
Add reference link to dokka html partial plugin build.gradle line.
sshropshire Jan 19, 2023
aa5d025
Update InvalidArgumentException to keep constructor module public.
sshropshire Jan 19, 2023
7af1910
Add suppress for constructor workaround.
sshropshire Jan 19, 2023
85920d2
Add note to InvalidArgumentException.
sshropshire Jan 19, 2023
c8b5f75
Update PreferredPaymentMethod docs to callout its eventual removal.
sshropshire Jan 20, 2023
03c7742
Merge pull request #656 from braintree/kotlin_authorization_invalid_a…
sshropshire Jan 20, 2023
a36e777
Merge pull request #655 from braintree/suppress_preferred_payment_met…
sshropshire Jan 20, 2023
038444a
Update BraintreeClient to allow uppercase letters in package name.
sshropshire Jan 23, 2023
faace21
Update CHANGELOG.
sshropshire Jan 23, 2023
1f433f8
Reformat CHANGELOG.
sshropshire Jan 23, 2023
e017eff
Merge pull request #659 from braintree/allow_uppercase_characters_in_…
sshropshire Jan 25, 2023
0006cc6
-Fixing shipping address override in nxo flow
kelay858 Jan 25, 2023
8fad36a
-Adding tests
kelay858 Jan 25, 2023
143cf39
-Fixing more tests
kelay858 Jan 26, 2023
69f436e
Merge pull request #654 from braintree/kotlin_authorization
jcnoriega Jan 26, 2023
11d8d28
Add `setRequestedExemptionType` to `ThreeDSecuresRequest` (#660)
jaxdesmarais Jan 26, 2023
051d4ae
-Adding in tests and addressing comments
kelay858 Jan 26, 2023
24123ae
Release 4.24.0
braintreeps Jan 30, 2023
3466255
Prepare for development
braintreeps Jan 30, 2023
6b9df89
YOLO Adding docs to repo.
sshropshire Jan 30, 2023
d3c1832
Update CHANGELOG.md
kelay858 Jan 30, 2023
a48f1c0
Refactor Analytics Worker subclasses to Kotlin.
sshropshire Jan 25, 2023
a6ceb32
Refactor AnalyticsEventDao to use Kotlin.
sshropshire Jan 25, 2023
a06a0e1
Migrate AnalyticsEvent to Kotlin.
sshropshire Jan 25, 2023
24d9528
Update AnalyticsEvent properties to make them match Java type.
sshropshire Jan 25, 2023
c15c9ec
Refactor AnalyticsDatabase to use Kotlin.
sshropshire Jan 25, 2023
d0ecd89
Add kapt processor in place of java annotation processor for room.
sshropshire Jan 25, 2023
127f90f
Add reference from stack overflow.
sshropshire Jan 25, 2023
b8182ce
Convert AnalyticsClient to kotlin.
sshropshire Jan 25, 2023
efd2fe8
Update AnalyticsClient to use more Kotlin features.
sshropshire Jan 25, 2023
514a1f3
Update authorization reference.
sshropshire Jan 26, 2023
08fc37d
Remove external storage permission request from the demo app. It caus…
sshropshire Jan 26, 2023
d6e2360
Add mock maker configuration to allow final classes to be mocked.
sshropshire Jan 30, 2023
619c17b
Convert AnalyticsClient to Kotlin.
sshropshire Jan 30, 2023
00fc635
Bump security crypto dependency.
sshropshire Jan 31, 2023
adc8805
Bump androix security crypto dependency.
sshropshire Jan 31, 2023
c5faf08
Update CHANGELOG.md
sshropshire Jan 31, 2023
ec88a00
Merge pull request #665 from braintree/update_androidx_security_lib_t…
sshropshire Jan 31, 2023
c89f5a6
Merge pull request #662 from braintree/update-nxo-shipping
sshropshire Jan 31, 2023
504dfc0
YOLO Reformat CHANGELOG.
sshropshire Jan 31, 2023
46426d3
Add Theme.AppCompat to ThreeDSecureActivity in AndroidManifest.xml.
sshropshire Jan 23, 2023
c53e1c3
Update CHANGELOG.md.
sshropshire Jan 23, 2023
13800b0
Merge pull request #661 from braintree/three_d_secure_activity_app_co…
sshropshire Jan 31, 2023
fcd1a10
Avoid forced unwrapping in Analytics Client.
sshropshire Feb 1, 2023
34448ae
Convert GH Issue template to YML files (#669)
scannillo Feb 1, 2023
b0d780f
Merge pull request #663 from braintree/kotlin_analytics
sshropshire Feb 1, 2023
653ca4c
Refactor naming to match historical deprecated single use token prope…
sshropshire Feb 1, 2023
3323189
Changing nxo intent to use the one from the PayPalNativeCheckoutReque…
kelay858 Feb 3, 2023
a717a2d
Update changelog.
sshropshire Feb 6, 2023
ad1a37a
Flip fallback logic.
sshropshire Feb 6, 2023
a4c1f19
Merge pull request #673 from braintree/samsung_pay_support_single_use…
sshropshire Feb 6, 2023
a753107
YOLO fix CHANGELOG formatting.
sshropshire Feb 6, 2023
ab87b00
Release 4.25.0
braintreeps Feb 6, 2023
bc49fc4
Prepare for development
braintreeps Feb 6, 2023
b6c7d5f
Revert crypto lib.
sshropshire Feb 6, 2023
ea0a317
Convert ApiClient to Kotlin.
sshropshire Jan 31, 2023
e1ef6dc
Cleanup test failures.
sshropshire Jan 31, 2023
ef3374d
Add Mockito finalizer to project.
sshropshire Jan 31, 2023
36be987
Update mock-maker final class extension in UnionPay module.
sshropshire Jan 31, 2023
01c2af7
Update Venmo mock maker mockito extensions.
sshropshire Jan 31, 2023
1f7d055
Refactor ApiClient internally
Feb 2, 2023
7e5cf4b
Add is graphql flag
Feb 6, 2023
bc27143
Update kotlin versioning in build.gradle file.
sshropshire Feb 6, 2023
096e8db
Update ApiClient format.
sshropshire Feb 6, 2023
06240d0
Revert "Update kotlin versioning in build.gradle file."
sshropshire Feb 6, 2023
660a68a
Merge pull request #674 from braintree/revert_security_crypto_library
sshropshire Feb 7, 2023
3d98e5d
Release 4.25.1
braintreeps Feb 7, 2023
6f8005b
Prepare for development
braintreeps Feb 7, 2023
dca0e86
Fix Samsung Pay error.
sshropshire Feb 7, 2023
2c9fa93
Update CHANGELOG.
sshropshire Feb 7, 2023
0f1f6a1
Merge pull request #667 from braintree/kotlin_api_client
sshropshire Feb 7, 2023
3eb5828
Convert AppSwitchNotAvailableException to Kotlin.
sshropshire Jan 30, 2023
8f66cf9
Convert BraintreeException to Kotlin.
sshropshire Jan 30, 2023
0dbb66e
Refactor ConfigurationException to koltin.
sshropshire Jan 30, 2023
e91c23d
Refactor UserCanceledException to Kotlin.
sshropshire Jan 30, 2023
161349e
Refactor UserCanceledException to be more Kotlin like.
sshropshire Feb 1, 2023
d867c11
Add JvmOverload declaration.
sshropshire Feb 1, 2023
0334f21
Add library restrictions to all exceptions to allow them to be used i…
sshropshire Feb 1, 2023
1b37dad
Refactor BraintreeException primary constructor.
sshropshire Feb 3, 2023
a15fef2
Migrate ConfigurationException to use JvmOverloads.
sshropshire Feb 3, 2023
94337d8
Migrate BraintreeHttpClient to Kotlin.
sshropshire Feb 3, 2023
051cf6b
Refactor BraintreeHttpResponseParser to Kotlin.
sshropshire Feb 6, 2023
d8dd39b
Refactor BraintreeGraphQLClient to use Kotlin.
sshropshire Feb 6, 2023
ed53398
Fix compilation errors.
sshropshire Feb 6, 2023
4e1e97c
Convert BraintreeGraphQLClientUnitTest to Kotlin.
sshropshire Feb 6, 2023
ed1db55
Convert BraintreeHttpClient to Kotlin.
sshropshire Feb 6, 2023
a796886
Finish BraintreeHttpClientUnitTest Kotlin refactor.
sshropshire Feb 7, 2023
ba4fb0b
Refactor BraintreeHttpResponseParserUnitTest to Kotlin.
sshropshire Feb 7, 2023
ed05317
Migrate BaseHttpResponseParser to Kotlin.
sshropshire Feb 7, 2023
1b72a9e
Revert "Migrate BaseHttpResponseParser to Kotlin."
sshropshire Feb 7, 2023
44dc27e
Append error message to browser switch string when a switch cannot ta…
sshropshire Feb 7, 2023
124de85
Fix broken unit tests.
sshropshire Feb 7, 2023
093e0de
Update test names.
sshropshire Feb 7, 2023
1664c4b
Update CHANGELOG.
sshropshire Feb 7, 2023
714b581
Fix native checkout test.
sshropshire Feb 7, 2023
22ec74b
Merge pull request #676 from braintree/samsung_pay_source_card_last_4
sshropshire Feb 8, 2023
a32c0db
Convert AuthorizationLoader to Kotlin.
sshropshire Feb 8, 2023
22f9076
Refactor AuthorizationLoaderUnitTest to Kotlin.
sshropshire Feb 8, 2023
53ac4a4
Fix unit test failures for AuthorizationLoaderUnitTest from mockk mig…
sshropshire Feb 8, 2023
0c98a0b
Remove legacy MockAuthorizationProviderBuilder test double builder.
sshropshire Feb 8, 2023
b19f52c
Make AuthorizationCallback a functional interface.
sshropshire Feb 8, 2023
a474545
Add more detail to CHANGELOG.
sshropshire Feb 8, 2023
7be2baf
Merge pull request #677 from braintree/browser_switch_bubble_up_error…
sshropshire Feb 8, 2023
f1537b4
YOLO fix CHANGELOG merge error.
sshropshire Feb 8, 2023
0dfbdf3
Refactor ConfigurationCache and tests
Feb 8, 2023
c5ee8bd
Some minor fixes
Feb 8, 2023
73fef23
Release 4.25.2
braintreeps Feb 8, 2023
b5977f8
Prepare for development
braintreeps Feb 8, 2023
4943faa
Make TokenizationKey, ClientToken, and InvalidAuthorization library p…
sshropshire Feb 8, 2023
3aaec7d
Remove Encrypted shared preferences from project.
sshropshire Feb 8, 2023
aaa7798
Fix compilation error.
sshropshire Feb 8, 2023
2518878
Fix broken unit tests.
sshropshire Feb 8, 2023
62e7f2b
Remove string resource from BraintreeSharedPreferences.
sshropshire Feb 9, 2023
c471b69
Refactor ConfigurationLoader and unit tests
Feb 9, 2023
709cadc
Refactor ConfigurationLoaderResult and some tests
Feb 9, 2023
7af3200
Fix ConfigurationCacheUnitTest
Feb 9, 2023
cdcdc4e
Merge pull request #679 from braintree/make_authorization_classes_lib…
sshropshire Feb 9, 2023
6cc26cb
Merge pull request #680 from braintree/remove_encrypted_shared_prefer…
sshropshire Feb 9, 2023
2126c4f
Rename BraintreeClient#deliverBrowserSwitchResultFromCache() to deliv…
sshropshire Feb 9, 2023
b512d59
Update CHANGELOG.
sshropshire Feb 9, 2023
3d235cf
Merge branch 'master' into kotlin-config-loader
Feb 10, 2023
5685ea2
Remove duplicate class
Feb 10, 2023
6fa5189
Throwing error if nxo response is null (#682)
kelay858 Feb 10, 2023
7145eec
Merge pull request #678 from braintree/kotlin_authorization_loader
sshropshire Feb 13, 2023
6fed68d
Merge pull request #664 from braintree/kotlin_core_exceptions
sshropshire Feb 13, 2023
8c0b887
Merge pull request #683 from braintree/deliver_browser_switch_result_…
sshropshire Feb 13, 2023
97a7a5a
Remove Internal modifier
jcnoriega Feb 13, 2023
ade75eb
Remove brackets
Feb 13, 2023
095b9c8
Merge branch 'kotlin-config-loader' of https://github.com/braintree/b…
Feb 13, 2023
2308fac
remove get
Feb 13, 2023
901f3c5
Inline some functions
Feb 13, 2023
0537767
Add Configuration to fromJson
Feb 13, 2023
0b97c0d
Inline
Feb 13, 2023
b67a1e7
Merge branch 'master' into kotlin-config-loader
Feb 13, 2023
313d8c2
Refactor DeviceInspector to kotlin
Feb 13, 2023
df56ea0
Release 4.26.0
braintreeps Feb 13, 2023
d80a2fe
Prepare for development
braintreeps Feb 13, 2023
ba00d56
refactor deviceinspector to kotlin
Feb 13, 2023
f37a1c1
Minor fix
Feb 14, 2023
a233462
Finish DeviceINspector unit test
Feb 14, 2023
012aa54
Refactor DeviceMetadata
Feb 14, 2023
a6f1102
Fix analyticsclient unit test
Feb 14, 2023
acee772
Merge branch 'master' into kotlin-device-inspector
Feb 15, 2023
7ec5c01
Graphql constants to kotlin
Feb 15, 2023
109c334
Add restrict to annotation
Feb 15, 2023
6966b47
Refactor IntegrationType
Feb 15, 2023
40e7dca
Refactor metadatabuilder and tests
Feb 15, 2023
54837e9
Refactor uuidHelperUnitTEst
Feb 15, 2023
ff344ab
Refactor StreamHelper and GraphQLQueryHelper
Feb 15, 2023
f2b77c3
Made metadatabuilder public with annotation
Feb 15, 2023
44b5a3a
Refactor postal address to kotlin
Feb 16, 2023
ebaf8df
Refactor postal address unit test
Feb 16, 2023
dc3147e
Refactor postal address parser
Feb 16, 2023
aee86ad
Refactor PostalAddressParser to use kotlin extensions
Feb 16, 2023
b1e262f
change in variable
Feb 16, 2023
b3d25b4
Minor changes
Feb 16, 2023
e1b0514
Refactor PrefferredPaymentMethodResult and callback with unit test
Feb 16, 2023
127756e
Refactor PreferredPaymentMethodsClient
Feb 16, 2023
8f0b784
Merge pull request #675 from braintree/kotlin_braintree_core_networking
sshropshire Feb 16, 2023
b401084
Fix preferredPyamentMethodsclienttest to kotlin and mockk
Feb 16, 2023
3eb5a48
v4.9.0+_MIGRATION_GUIDE.md mentioned
falkorichter Feb 17, 2023
75d10cf
Fix restrict to and integration type made public
Feb 22, 2023
e485ca5
Remove let
Feb 22, 2023
ff9e34e
Add listener null check to prevent NPE if listener was set to null by…
sshropshire Feb 22, 2023
17a20e9
Update CHANGELOG.
sshropshire Feb 22, 2023
c9ad3fa
Remove trimIndent()
Feb 23, 2023
c65c353
Merge pull request #693 from braintree/paypal_client_add_listener_nul…
sshropshire Feb 27, 2023
b7c129e
Merge pull request #681 from braintree/kotlin-config-loader
jcnoriega Feb 27, 2023
0d50253
First pass at migrating BraintreeClient to Kotlin.
sshropshire Feb 14, 2023
468718d
First pass at converting BraintreeClientUnitTest to Kotlin.
sshropshire Feb 16, 2023
d164a83
Delete legacy BraintreeClientParams java implementation.
sshropshire Feb 16, 2023
8fdb2d1
Rename BraintreeClientParams2 to BraintreeClientParams.
sshropshire Feb 16, 2023
0b39911
Stabilize unit tests.
sshropshire Feb 16, 2023
798b7cb
Add RestrictTo statements to BraintreeClient methods.
sshropshire Feb 16, 2023
e80ef25
Update BraintreeClient code to have a more Kotlin style.
sshropshire Feb 16, 2023
e07667a
Make ConfigurationLoaderCallback a functional interface.
sshropshire Feb 27, 2023
7acdb2a
Move MockkConfigurationLoaderBuilder from TestUtils to BraintreeCore.
sshropshire Feb 27, 2023
93149ba
Support finalizers in Amex module unit test.
sshropshire Feb 27, 2023
1f69cbb
Add mockito finalizers to GooglePay module.
sshropshire Feb 27, 2023
4bab718
Support Mockito finalizers.
sshropshire Feb 27, 2023
c2da1f8
Revert AuthorizationLoader to internal.
sshropshire Feb 27, 2023
d203601
Add constructor.
sshropshire Feb 27, 2023
165a343
Move MockkAuthorizationLoaderBuilder from TestUtils to BraintreeCore.
sshropshire Feb 27, 2023
323b3c3
Update README.md
falkorichter Feb 28, 2023
6aa9aa0
Update magnes to 5.4.0.
sshropshire Feb 28, 2023
5053df6
Bump Magnes dependency.
sshropshire Feb 28, 2023
be15ffc
Update CHANGELOG.
sshropshire Feb 28, 2023
741b1a9
Merge pull request #691 from falkorichter/patch-1
sshropshire Feb 28, 2023
6a8fc70
Merge pull request #695 from braintree/magnes_sdk_to_5.4.0
sshropshire Feb 28, 2023
b15c403
Release 4.26.1
braintreeps Feb 28, 2023
65c6e0a
Prepare for development
braintreeps Feb 28, 2023
bd237af
Migrate CrashReporter to Kotlin.
sshropshire Mar 1, 2023
a3cc0a6
Migrate CrashReporterUnitTest to Kotlin.
sshropshire Mar 1, 2023
e2c4cfb
Change clazz name
Mar 6, 2023
75f8621
Remove question mark
Mar 6, 2023
69f86c4
Fix unit test
Mar 6, 2023
2588bbc
Merge pull request #684 from braintree/kotlin-device-inspector
jcnoriega Mar 6, 2023
3545a3a
Merge pull request #685 from braintree/kotlin-qlconstant
jcnoriega Mar 6, 2023
0d1e237
YOLO add suppress annotations to library restricted classes.
sshropshire Mar 6, 2023
ca89f60
Merge pull request #688 from braintree/kotlin-pref-payment
jcnoriega Mar 6, 2023
9607796
Add open modifier to properties in postal address
Mar 6, 2023
1c3e7b0
Merge pull request #687 from braintree/kotlin-postal-address
jcnoriega Mar 6, 2023
cfd22a0
Merge pull request #696 from braintree/kotlin_crash_reporter
sshropshire Mar 6, 2023
b29044d
Make DeviceInspector library restricted so it can be used in the Venm…
sshropshire Mar 7, 2023
e19a8e4
Merge pull request #689 from braintree/kotlin_braintree_client
sshropshire Mar 7, 2023
0fc384e
Make UUIDHelper library restricted.
sshropshire Mar 8, 2023
2a15535
Make browser switch methods on BraintreeClient nullable to fix crash.
Mar 9, 2023
6b63863
Fix memory issue with DataCollector class
KunJeongPark Mar 9, 2023
80a9de2
Merge branch 'fix_browser_switch_crash' into dataCollectorMemoryLeak
KunJeongPark Mar 10, 2023
8ff7869
Update DataCollector unit test to use Robolectric application context.
KunJeongPark Mar 13, 2023
b06bcf1
Merge pull request #700 from braintree/make_uuid_helper_library_restr…
sshropshire Mar 14, 2023
b5b018c
Merge pull request #699 from braintree/make_device_inspector_library_…
sshropshire Mar 14, 2023
37ea3cf
Merge pull request #703 from braintree/fix_browser_switch_crash
sshropshire Mar 16, 2023
b925dc9
Make isNetworkTokenized a parcel property.
sshropshire Mar 20, 2023
6345c14
Update CHANGELOG.
sshropshire Mar 20, 2023
bc9a895
Merge pull request #705 from braintree/google_pay_is_network_tokenize…
sshropshire Mar 20, 2023
4a2f4c7
Merge pull request #704 from braintree/dataCollectorMemoryLeak
sshropshire Mar 20, 2023
ca1848a
YOLO Add DataCollector memory leak callout in CHANGELOG.
sshropshire Mar 20, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
37 changes: 0 additions & 37 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

69 changes: 69 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
name: Bug report
description: Create a report to help us improve
body:
- type: input
attributes:
label: Braintree SDK Version
placeholder: "e.g. 4.24.0"
validations:
required: true
- type: dropdown
attributes:
label: Environment
options:
- Sandbox
- Production
- Both
validations:
required: true
- type: input
attributes:
label: Android Version & Device
placeholder: "e.g Google Pixel 6a - Android 12.0"
validations:
required: false
- type: textarea
attributes:
label: Braintree dependencies
placeholder: |
<!-- Examples -->
<!-- - com.braintreepayments.api:braintree:x.y.z -->
<!-- - compile 'com.braintreepayments.api:data-collector:2.+' -->
<!-- - com.braintreepayments.api:visa-checkout:x.y.z-SNAPSHOT -->
<!-- - com.braintreepayments.api:drop-in:x.y.z -->
validations:
required: true
- type: textarea
attributes:
label: Describe the bug
description: Description of what the bug is. Please include as many details as possible.
validations:
required: true
- type: textarea
attributes:
label: To reproduce
description: Steps to reproduce the behavior.
placeholder: |
1. Go to '...'
2. Click on '....'
3. See error
validations:
required: true
- type: textarea
attributes:
label: Expected behavior
description: Description of what you expected to happen.
validations:
required: true
- type: textarea
attributes:
label: Screenshots
description: If applicable, add screenshots to help explain your problem.
placeholder: |
Do not reveal sensitive data. For example, credit card numbers & customer credentials.
validations:
required: false
- type: markdown
attributes:
value: |
Note - Please do not open an issue for translation requests for new languages. We support the same languages that are supported by PayPal, and have a dedicated localization team to provide translations. If there is an error in a specific translation, you may open an issue here and we will escalate it to our localization team.
13 changes: 0 additions & 13 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

17 changes: 17 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Feature request
description: Suggest an idea for our SDK
body:
- type: textarea
attributes:
label: Is your feature request related to a problem? Please describe.
description: A clear and concise description of what the problem is.
validations:
required: false
- type: textarea
attributes:
label: Describe the solution you'd like.
description: Description of what you want to happen.
placeholder: |
Follow the [user story](https://en.wikipedia.org/wiki/User_story) format to clearly describe the use case.
validations:
required: false
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,8 @@ jobs:
./gradlew -PversionParam=${{ github.event.inputs.version }} changeREADMEVersion
./gradlew -PversionParam=${{ github.event.inputs.version }} changeMigrationGuideVersion
./gradlew -PversionParam=${{ github.event.inputs.version }} updateCHANGELOGVersion
./gradlew dokkaHtmlMultiModule
git add -A
git commit -am 'Release ${{ github.event.inputs.version }}'
git tag ${{ github.event.inputs.version }} -a -m 'Release ${{ github.event.inputs.version }}'

Expand Down
14 changes: 2 additions & 12 deletions AmericanExpress/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
plugins {
id 'com.android.library'
id 'kotlin-android'
id 'org.jetbrains.dokka'
id 'de.marcphilipp.nexus-publish'
id 'signing'
}
Expand Down Expand Up @@ -47,17 +49,6 @@ dependencies {

// region signing and publishing

task javadocs(type: Javadoc) {
source = android.sourceSets.main.java.srcDirs
classpath += project.files(android.getBootClasspath().join(File.pathSeparator))
failOnError false
}

task javadocsJar(type: Jar, dependsOn: javadocs) {
archiveClassifier.set('javadoc')
from javadocs.destinationDir
}

task sourcesJar(type: Jar) {
archiveClassifier.set('sources')
from android.sourceSets.main.java.srcDirs
Expand Down Expand Up @@ -86,7 +77,6 @@ afterEvaluate {
from components.release

artifact sourcesJar
artifact javadocsJar

groupId = 'com.braintreepayments.api'
artifactId = 'american-express'
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
mock-maker-inline

35 changes: 15 additions & 20 deletions BraintreeCore/build.gradle
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
plugins {
id 'com.android.library'
id 'kotlin-android'
id 'org.jetbrains.dokka'
id 'de.marcphilipp.nexus-publish'
id 'signing'
id 'kotlin-kapt'
}

def DEVELOPMENT_URL = System.properties['DEVELOPMENT_URL'] ?: '"http://10.0.2.2:3000/"';
def DEVELOPMENT_URL = System.properties['DEVELOPMENT_URL'] ?: '"http://10.0.2.2:3000/"'

android {
compileSdkVersion rootProject.compileSdkVersion
Expand Down Expand Up @@ -49,10 +52,15 @@ android {

dependencies {
implementation deps.appCompat
implementation deps.work
implementation deps.workKtx

implementation deps.coreKtx
implementation deps.kotlinStdLib

implementation deps.roomRuntime
annotationProcessor deps.roomCompiler

// Ref: https://stackoverflow.com/a/51067251
kapt deps.roomCompiler

api deps.browserSwitch
api project(':SharedUtils')
Expand All @@ -76,10 +84,14 @@ dependencies {
testImplementation deps.powermockMockito
testImplementation deps.powermockClassloading
testImplementation deps.jsonAssert
testImplementation deps.mockk
testImplementation project(':PayPal')
testImplementation project(':TestUtils')
testImplementation project(':UnionPay')
testImplementation project(':Venmo')

// Ref: https://kotlin.github.io/dokka/1.8.0-SNAPSHOT/user_guide/applying/gradle/#applying-plugins
dokkaHtmlPartialPlugin 'org.jetbrains.dokka:android-documentation-plugin:1.7.20'
}

android.buildTypes.each { type ->
Expand All @@ -101,22 +113,6 @@ gradle.taskGraph.whenReady { taskGraph ->

// region signing and publishing

task javadocs(type: Javadoc) {
source = android.sourceSets.main.java.srcDirs
classpath += project.files(android.getBootClasspath().join(File.pathSeparator))
failOnError false

// Used to exclude docstrings from public site
exclude "com/braintreepayments/api/PreferredPaymentMethods.java"
exclude "com/braintreepayments/api/models/PreferredPaymentMethodsResult.java"
exclude "com/braintreepayments/api/interfaces/PreferredPaymentMethodsListener.java"
}

task javadocsJar(type: Jar, dependsOn: javadocs) {
archiveClassifier.set('javadoc')
from javadocs.destinationDir
}

task sourcesJar(type: Jar) {
archiveClassifier.set('sources')
from android.sourceSets.main.java.srcDirs
Expand Down Expand Up @@ -145,7 +141,6 @@ afterEvaluate {
from components.release

artifact sourcesJar
artifact javadocsJar

groupId = 'com.braintreepayments.api'
artifactId = 'braintree-core'
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
package com.braintreepayments.api

import android.content.Context
import androidx.work.Worker
import androidx.work.WorkerParameters

// NEXT_MAJOR_VERSION: remove this class, it may no longer be needed

/**
* Class for background analytics tasks.
* This class is used internally by the SDK and should not be used directly.
* It is not subject to semantic versioning and may change at any time.
* @suppress
*/
abstract class AnalyticsBaseWorker(
context: Context,
workerParams: WorkerParameters
) : Worker(context, workerParams) {

internal open fun createAnalyticsClientFromInputData(): AnalyticsClient {
return AnalyticsClient(applicationContext)
}
}
Loading