Permission require error

import { LocalAuthentication, Permissions, Notifications } from 'expo'

Have no problem with LocalAuthentication.hasHardwareAsync()

but when I try

const { status: existingStatus } = await Permissions.getAsync(Permissions.NOTIFICATIONS)

I get error

Unexpected identifier '_expo'. Expected ';' after variable declaration

What is a problem?

Hey @elitdie,

Can you throw your code into a Snack



This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.