Comments (13)
I'll take a look at doing the cleanups and writing the tests in #150 myself. I'll also try to support Fidme's export format in #168 (the GDPR is so amazing for requiring users to be allowed to export their data).
from android.
Comment by brarcher
Sunday Oct 27, 2019 at 03:51 GMT
Pretty cool!
Are you up for adding some Robolectric tests for this new feature? Much of the app has automated tests, which helps prevent breakage and regressions.
from android.
Comment by franga2000
Sunday Oct 27, 2019 at 07:12 GMT
Sure. I'm not familiar with Robolectric, but I'll look into it.
from android.
Comment by TheLastProject
Wednesday Nov 20, 2019 at 09:11 GMT
I'm quite interested in this feature too. I don't normally do Android development but I'm willing to try to help if useful
from android.
Comment by franga2000
Wednesday Nov 20, 2019 at 10:06 GMT
I got a bunch of uni work dumped on me so I haven't had any time to work on this. It looks like I'll be clear beginning of December, so you can expect this finished around then.
@TheLastProject thanks for the offer. I'm not sure GitHub would be very happy about mixing remote branches in one PR, but it's been a while since I've tried. If you can wait the two weeks, it's probably not worth the hassle of setting up Android Studio 😅
from android.
Comment by TheLastProject
Wednesday Nov 20, 2019 at 10:59 GMT
Okay, I'll just wait then :)
from android.
Comment by franga2000
Thursday Nov 28, 2019 at 00:01 GMT
I've been working on testing image importing by generating a barcode image, saving it and sending a fake pick intent response to the app. I have discovered, however, that the version of Robolectric used here doesn't actually implement image compression and is as such unable to save images to disk in a way that can read back.
It seems that the feature was only implemented in v4.3.1. While the actual migration to v4 and up is not too difficult, it does, however, require compiling on SDK 28 or higher.
Should I try to migrate the project to a newer version of Robolectric?
from android.
Comment by TheLastProject
Thursday Nov 28, 2019 at 06:41 GMT
I actually did a migration to Roboelectric 4 in my pull request in the hope it would fix things for me. It sadly didn't, but you may still want to take a look at brarcher/loyalty-card-locker@0a9611e to save yourself some time if you end up going that path
from android.
Comment by brarcher
Friday Nov 29, 2019 at 04:30 GMT
While the actual migration to v4 and up is not too difficult, it does, however, require compiling on SDK 28 or higher.
The Play Store has a target SDK requirement which updates each year. As of Nov 1 this app will need to compile against SDK 28, else an update cannot be pushed to the Play Store.
https://support.google.com/googleplay/android-developer/answer/113469#targetsdk
If you would be so kind as to update it to 28 (or 29) that would be much appreciated. I'm also fine with updating the version of Robolectric being used to the latest.
from android.
Comment by brarcher
Tuesday Dec 31, 2019 at 03:52 GMT
Should I try to migrate the project to a newer version of Robolectric?
To follow-up, brarcher/loyalty-card-locker#334 recently was accepted which updates the SDK version compiled against to 29 and updates Robolectric to 4.0.2.
If you are willing to upgrade the version of Robolectric used from 4.0.2 to 4.3.1 go for it. I've not looked into it; hopefully nothing that the existing tests use is deprecated and removed between those two versions. If you run into snags, let me know.
from android.
@franga2000 Are you still interested in working on this? Otherwise I'll see if I can integrate this into Catima myself.
from android.
I just got the app, and can't migrate from my old app (Fidme) to Catima quickly.
I don't own cards I added in Fidme anymore, so this feature would help me migrate 👍
from android.
Fixed in c93b752, going to give the translators a few days to translate stuff and then I'll push out a new release.
from android.
Related Issues (20)
- User confusion with thousand separator in balance parsing HOT 10
- Make status bar colour match app bar colour HOT 5
- Exclude archived cards in ShortcutHelper HOT 1
- created data marix does not contain the proper information HOT 4
- Improve design of multi-barcode picker
- Sandbox PdfRenderer in a Service with android:isolatedProcess
- Highlight archived cards HOT 2
- Display loyalty cards as a text list, without thumbnails HOT 3
- Hide Card ID for binary content? HOT 2
- Loyalty card shortcut not updating with latest card information HOT 2
- About screen text can overflow into arrow HOT 1
- Proposal to Enhance Testing Infrastructure and Automate Workflows HOT 1
- Incorrect Implementation of describeContents() in LoyaltyCard Class HOT 3
- Google Play: "Can't install Catima (2.29.0)" HOT 3
- Errors in Spanish Translation HOT 1
- Cannot save balance in Arabic
- Option to disable the edit button on the lock screen HOT 3
- FR: Share text to app instead of image HOT 4
- Shortcut in control panel HOT 1
- Unable to open a card from the device control quick settings tile HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android.