* fix(android): support source-based APK builds Co-authored-by: Anton Lazarev <22821309+antonok-edm@users.noreply.github.com> * fix(android): address fdroid review feedback Co-authored-by: Anton Lazarev <22821309+antonok-edm@users.noreply.github.com> * fix(android): complete the F-Droid build profile * fix(app): isolate the F-Droid runtime flag --------- Co-authored-by: Anton Lazarev <22821309+antonok-edm@users.noreply.github.com>
19 lines
378 B
TypeScript
19 lines
378 B
TypeScript
const DENIED_CAMERA_PERMISSION = {
|
|
canAskAgain: false,
|
|
expires: "never",
|
|
granted: false,
|
|
status: "denied",
|
|
} as const;
|
|
|
|
async function requestCameraPermission() {
|
|
return DENIED_CAMERA_PERMISSION;
|
|
}
|
|
|
|
export function useCameraPermissions() {
|
|
return [DENIED_CAMERA_PERMISSION, requestCameraPermission] as const;
|
|
}
|
|
|
|
export function CameraView(): null {
|
|
return null;
|
|
}
|