-
Couldn't load subscription status.
- Fork 591
Description
Intro
I was trying to fire an intent that requires sharing of file to different application. Then i observed that API 24 has a drastic change, oh that FileProvider
Background
Was trying to build a new API to auto update kivy APKs directly from Github, Playstore or Amazon. Whole of code written, tested but when comes to deploying i discovered that at last step i.e. transferring apk to package manager, there was something wrong.
The Problem
API 24 brings with it compulsion to use Fileprovider for such cases. I know how i can solve this, adding newly required stuffs template files in .buildozer.
But with me anyone using this API have to dig five levels deep and change those stuffs. Isn't it cumbersome and more prone to errors.
The Big Problem
Bigger because this is inevitable. We are facing one of cons of semantic versioning i.e.
Every update is API breaking
Further on the same road, API 30 brings Scoped Storage on field. Kivy/Buildozer have improved a lot but handling APIs is major problem left with it.
No functions provided to handle different APIs inside from code.
Introduction of custom classes, decorators or making available basic methods to comman practices.
Subsequent Advantages
Currently, some recipes and widgets by kivymd are used to extend the limits of kivy. I believe that python files themselves are capable as extension instead of libraries for every small things. Greater community contribution is also expected.
Conclusion
It should not be expected as a feature request. There can be ways it can be improved and collect some suggestions how this can be tackled in a future proof way.
Workarounds for my personal problem are also heartly welcomed.