tchapgouv / tchap-android

A matrix client for Android.
https://play.google.com/store/apps/details?id=fr.gouv.tchap.a
Apache License 2.0
19 stars 7 forks source link

Update secure flag #983

Closed yostyle closed 8 months ago

yostyle commented 8 months ago

Type of change

Content

Secure flag management improvement

Screenshots / GIFs

Tests

Tested devices

Checklist

tchap-danger-bot[bot] commented 8 months ago
Warnings
:warning: Please add a changelog. See instructions [here](https://github.com/vector-im/element-android/blob/develop/CONTRIBUTING.md#changelog)

Generated by :no_entry_sign: dangerJS against 85a56c04787285df95a6a4033d4f55b9f76c2eb7

yostyle commented 8 months ago

In your version, screenshots are allowed for F-droid version.

This should not be allowed.

I don't think so. The rule is !(BuildConfig.FLAVOR_store == "gplay" && BuildConfig.FLAVOR_target != "tchap"). It returns true (useFlagSecure) if FLAVOR_store != "gplay" (ex. fdroid)

tchap-danger-bot[bot] commented 8 months ago
Warnings
:warning: Please add a changelog. See instructions [here](https://github.com/vector-im/element-android/blob/develop/CONTRIBUTING.md#changelog)

Generated by :no_entry_sign: dangerJS against d0d7585f3084997782d33d7a1b60a43b23ad4590