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

Update to make it build/run with new functions #32

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

LiroyvH
Copy link

@LiroyvH LiroyvH commented Jan 7, 2023

Scarcely tested on Darwin (MacOS Ventura).

Problem: with the current version provided by bunq, 'gradle build' will fail with multiple hard failures due to using deprecated/removed features. (As of version 8.0). Also maven has been renamed and relocated.

This quick fix makes "gradle build" complete successfully and creates the .jar files so that you can actually use Tinker again. :) (However only for PRODUCTION; because for tinkering/sandbox: just like the other SDK's (Python & PHP), it will fail to run claiming the endpoint is outdated. Sandbox will actually load fine after these changes, but it will error out with the "Your application version does not support this endpoint, please update your app" failure. )

Tested my changes in PRODUCTION-mode with the "UserOverview" feature. Also tested modifying "src/main/java/com/bunq/tinker/UserOverview.java", then run "gradle build" again to make the JAR reflect the changes and test "UserOverview --production" again afterwards. This is successful and dumps what I wanted it to dump in the quantity I wanted it to dump it. (Warning: trying to request more accounts or cards than you actually have will make it error out.)

The "gradle install" step still fails with these changes, but considering tinker actually works again now for PRODUCTION and allows to rebuild ("gradle build") (including after making changes to the configuration files): this is at least an improvement to the current state of affairs in the main tinker repository. :) It isn't perfection, but it at least makes it usable again.

Scarcely tested on Darwin (MacOS Ventura)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants