Fixed missing declare Platform on handlePermissions

This commit is contained in:
hawkup 2018-01-31 11:56:12 +07:00
parent c250625c0c
commit e7ea2439b7
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
import { PermissionsAndroid } from 'react-native';
import { PermissionsAndroid, Platform } from 'react-native';
export const requestPermissions = async (hasVideoAndAudio, CameraManager, osType, permissionDialogTitle, permissionDialogMessage) => {
if (osType === 'ios') {