Gabriel Pettier

Results 130 comments of Gabriel Pettier

As far as i can tell, we don't have the mean or will to integrate tons of code from another project, we believe using pyobjus should alleviate most of the...

Please post the full execution log, not just the error.

i don't think p4a requires api >= 26, buildozer stills default to 21 which i think is the actual minimum https://github.com/kivy/buildozer/blob/master/buildozer/default.spec#L94

> For reference: [LocationListener](https://developer.android.com/reference/android/location/LocationListener#onLocationChanged(java.util.List%3Candroid.location.Location%3E)) > > Is there another way you'd handle this List/make use of the OnLocationChanged? there might be apps that want to trace the path of the...

> > > > Since API 23, Android requires permission to be requested at runtime. > > what about this? Hm, we should maybe check if the api level is...

3rd party https://github.com/Android-for-Python/androidstorage4kivy/ can be used to provide it for android.

yes, i think adding check_permission/ask_permission code in each android plyer module would make sense, the dev can still ask beforehand if they don’t want users to be asked each permission...

> Really **not** a good idea to integrate run time permissions into Plyer, it will result in unexpected behavior. > > There can only be **one call** to `request_permissions()` and...

According to https://developer.android.com/guide/topics/permissions/overview#associate-with-actions > Associate runtime permissions with specific actions > Request permissions as late into the flow of your app's use cases as possible. For example, if your app...

i started implementing a `require_permissions` decorator on my side, to transparently request the permissions before calling the actual method if all the permissions haven’t been set already, i still need...