Possibility to install plugins
Install plugins as separate apps on the device. These plugins should be able to manage passes. Use-cases would be:
- login with your account and download new passes automatically (for example for trains, cinema)
- load public passes like coupons automatically (#132 is an example for this)
I would be open to this - but to be honest I am not seeing myself working on this anytime soon.
I put some thoughts into this and here is what I came up with:
- PassAndroid provides an exported ContentProvider that other apps can call to query, insert, modify, and delete passes. PassAndroid would identify the calling app by its package and restrict access to existing passes to the app that created it.
- The app would provide a URI to its own FileProvider that PassAndroid will call in return to get the pass file.
Since you said you'd want to be contacted before opening large PRs, I thought I'd even share the idea before starting the actual implementation.
@ligi any opinion on this? Or should I go ahead and develop a first draft and propose this as a PR?
Sorry - missed this one - sounds good to me - but would love to think about this a bit deeper and am currently on a team-meeting for work out of town. Will be back next week - so if you want to be sure wait until next week - but if you already want to start it is also OK - think this should be fine. Just cannot think into it very deep currently.
I'm in no hurry, so I'll wait. Thanks for the quick update