Delphi 10.4.1 on Android error : java.lang.NullPointerException: Attempt to invoke virtual method

When you try to use the camera component and you get “java.lang.NullPointerException: Attempt to invoke virtual method” only on “release” version of your application, probably you don’t have this setting to true: Check that the Project Options > Entitlements List > Secure File Sharing option is set to true
.
good job