Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NextLevel failing to start in iOS 14.2 #236

Open
martino-dot opened this issue Nov 20, 2020 · 4 comments
Open

NextLevel failing to start in iOS 14.2 #236

martino-dot opened this issue Nov 20, 2020 · 4 comments

Comments

@martino-dot
Copy link

I am using NextLevel and in the iOS 14 betas (and iOS 13), NextLevel succesfully worked and started. Now in iOS 14.2 when I call try NextLevel.shared.start(), it simply fails. I believe that this is an error with iOS 14.2, but I may be wrong. I am using an iPhone 6s to test this.

@piemonte
Copy link
Contributor

@martino-dot thanks for reporting. do you have any details, such as an error or line that it fails at?

@martino-dot
Copy link
Author

Yes, this is what get's called and the error gets catched:

do {
  try NextLevel.shared.start()
} catch {
  print("NextLevel failed to start, Error: \(error)")
}

The error is "Authorization has not been requested". I do have privacy - camera usage & privacy - microphone usage in my info.plist so this is might have something to do with requestAccess(for:completionHandler:).

@martino-dot
Copy link
Author

I'm pretty sure that it does have something to do with requesting access for camera and audio. I tried requesting access before starting NextLevel, and the camera and microphone worked fine, but without me manually requesting it, the authorization failed.

@grenos
Copy link

grenos commented Mar 10, 2021

I know I might be a little late for this but I initially had the same problem by manually requesting permissions but after I used the request from the project it worked without problems

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants