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

ENManager fails to activate - Entitlements #57

Open
pivot429 opened this issue Apr 30, 2020 · 12 comments
Open

ENManager fails to activate - Entitlements #57

pivot429 opened this issue Apr 30, 2020 · 12 comments
Labels
help wanted Extra attention is needed

Comments

@pivot429
Copy link

Getting error within xcode console that ENManager "Invalidated unexpectedly" when trying to call activate. Any suggestions?

@VolceOntra
Copy link

VolceOntra commented Apr 30, 2020

You need a special entitlement from Apple, it doesn't look like there is a way to request one right now (at least that I know of)

@tannewt
Copy link

tannewt commented Apr 30, 2020

The entitlement is needed even for dev builds?

@VolceOntra
Copy link

The entitlement is needed even for dev builds?

Yeah looks like it

@pivot429
Copy link
Author

what is the entitlement name?

@VolceOntra
Copy link

com.apple.developer.exposure-notification

@HendX
Copy link
Contributor

HendX commented Apr 30, 2020

I'm going to rename this thread to indicate it's related to entitlements.

And yea, you need access to this for development builds as best as I can tell. I'm currently developing this app in the blind.

The purpose of ENMockFramework.swift is to mimic the behaviour of the framework as closely as possible if you don't have access to use the actual framework.

@HendX HendX changed the title ENManager fails to activate ENManager fails to activate - Entitlements Apr 30, 2020
@tannewt
Copy link

tannewt commented Apr 30, 2020

@HendX Thank you so much for this project! I think it's a great approach. Let me know if you have any BLE questions. I don't know iOS that well but have done lots of low level BLE.

I hear Apple will release guidelines for who qualifies for the entitlement soon.

@HendX
Copy link
Contributor

HendX commented Apr 30, 2020

From #54:

What is a process to get this entitlement key from Apple?

You likely need to be a government health department and request it from your Apple contacts. Maybe they will open this up just for development builds, I'm not sure (although I suspect not).

@VolceOntra
Copy link

I’m with JHU, We have an open ticket with Apple. I’ll let you know what the process is when we hear from them.

@tannewt
Copy link

tannewt commented Apr 30, 2020

I work for Adafruit and asked our Apple contact for a way to test with other BLE devices (not to release an app) and the reply was that criteria for entitlement would be published soon.

@HendX HendX added the help wanted Extra attention is needed label May 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

5 participants