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

iOS Permission - HealthKit #736

Closed
rfader opened this issue May 16, 2018 · 2 comments
Closed

iOS Permission - HealthKit #736

rfader opened this issue May 16, 2018 · 2 comments

Comments

@rfader
Copy link

rfader commented May 16, 2018

Description

We're using HealthKit in our app, which seems like it's supported in the argument of launchApp. However, we are still experiencing the permission sheet showing, which times out the remaining detox tests.

Steps to Reproduce

The first test case runs this:

await device.launchApp({
	permissions: {
		health: 'YES',
		notifications: 'YES'
	}
});

As provided below, this causes, what seems to be, the correct command to applesimutils.

Further in the app flow we ask permission to HealthKit, which causes the permission sheet to show.

Detox, Node, Device, Xcode and macOS Versions

  • Detox: 7.3.7
  • React Native: 0.55.4
  • Node: 10.1.0
  • Device: iPhone 7 - 11.3
  • Xcode: 9.3
  • macOS: 10.13.4

Device and verbose Detox logs

7: applesimutils --simulator E7259742-2154-4B7A-B0EA-C0ABF5440E96 --bundle <REMOVED> --setPermissions health=YES,notifications=YES
 : Trying to set permissions...
 : Permissions are set

@LeoNatan
Copy link
Contributor

This is not the place for this issue. Please open a new issue on AppleSimUtils and if possible, share some code examples.

@LeoNatan
Copy link
Contributor

@LeoNatan LeoNatan reopened this May 17, 2018
@wix wix locked and limited conversation to collaborators Jul 23, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants