Permission require error


#1

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?


#2

Hey @elitdie,

Can you throw your code into a Snack http://snack.expo.io?

Cheers,

Adam


#3

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