()
| 4 | import loc from '../loc'; |
| 5 | |
| 6 | export const openPrivacyDesktopSettings = () => { |
| 7 | if (isDesktop) { |
| 8 | Linking.openURL('x-apple.systempreferences:com.apple.preference.security?Privacy_Camera'); |
| 9 | } else { |
| 10 | Linking.openSettings(); |
| 11 | } |
| 12 | }; |
| 13 | |
| 14 | export const presentCameraNotAuthorizedAlert = (error: string) => { |
| 15 | Alert.alert( |
nothing calls this directly
no test coverage detected